02-14-2024, 04:27 PM
(02-13-2024, 09:12 PM)johnno56 Wrote: My first guess... Imagine the player is at coordinates 0,0 on an x,y grid.
Move x to the left: negative. Right: positive
Move y up: negative. Down: positive.
up-left would be x-1,y-1
up-right would be x+1,y-1
down-left would be x-1,y+1
down-right would be x+1,y+1
I hope this helps...
It might work yes, thanks johnno56