02-13-2024, 09:12 PM
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...
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...
Logic is the beginning of wisdom.