2D Position to Relative ImageBox Position
Basically, to help you visualise, I'm making a management system for my racing game and I have my track map on my Windows Form. In my game, my track positions for my corners are:
Bottom Left: 145, -160
Bottom Right: -155, -160
Top Left: 145, 150
Top Right: -155, 150
and my Windows Form ImageBox’s details:
Location: 1622, 9 (my form is 1920x1080)
Margin: 3, 3, 3, 3
Size: 286x297
Anchor: Top Left
With these details, is there a way I could do this easily (for example, with a func/formula which i could turn into a func?)
0 Replies