Quote:
|
Originally Posted by Evil_Trunks
playerx = value;
playery = value;
you modify the player coordinates directly
you want to do this in a timeout loop, your code is not correct since keydown is not an event, but a condition
keydown(up) is incorrect, you want to use a number 0 through 3, each number represents a direction
0 up
1 right
2 down
3 left
|
Err.....0 is up, 1 is left, 2 is down, and 3 is right.