|
-
May 21st, 2014, 03:40 PM
#1
Thread Starter
Lively Member
[RESOLVED] Screen Resizing
I'm trying to program a chess based game and use mouse x+y to work out which square is clicked on. This is fine while the screen is at the size I programed for but I would like to give players the option to resize or full screen the game. At that point my maths won't work anymore. How can I recalculate all the x,y positions of the squares depending on screen size?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|