Hey. My current project allows the user to play using the cursor keys. However the player cannot move diagonally when pressing two keys together (up and left, down and right etc)
At the moment I am using something like this
if KeyDown(leftkey) then MovePlayerY(-10)
if KeyUp(leftkey) then MovePlayerY(10)
if KeyLeft(leftkey) then MovePlayerX(-10)
if KeyRight(leftkey) then MovePlayerX(10)
Anyone got any ideas?
At the moment I am using something like this
if KeyDown(leftkey) then MovePlayerY(-10)
if KeyUp(leftkey) then MovePlayerY(10)
if KeyLeft(leftkey) then MovePlayerX(-10)
if KeyRight(leftkey) then MovePlayerX(10)
Anyone got any ideas?