Hot answers tagged java
2
Screen coordinates (SC) should be derived from world coordinates (WC). So if the player is in WC space at 2000, 3000, and the screen is only 640x480, a quick modulo will tell you what coordinate the player is relative to the fixed-screen system you mentioned. So, the SC in the example I have setup is therefore
2000 % 640 = 80
3000 % 480 = 120
So your SC ...
Only top voted, non community-wiki answers of a minimum length are eligible