It doesnt seem to work, it might have been something I did wrong but Ive been working on it for about 10 minutes, still doesnt work properly..
Maybe i should give some more information
mapxy = {screenwidth / 2 - 210, screenheight / 2 - 210};
The map is shown in the middle , it is 420x420.
Im trying to make it so if i click 0,0 on the map screen
i will be warped to 0,0
but if i click the very bottem right corner i will be warped to 957x957, or the very bottem corner
mapxy is where the map is shown on the screen
im trying to get the new player coordinates from the screen position on mapxy
to gmap position,so instead of 420x420 it would be 957x957
am i confusing? im sorta confusing myself
