
05-31-2005, 06:07 AM
|
|
Evil
|
 |
Join Date: Dec 2004
Posts: 391
|
|
|
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 |
__________________
|
|
|
|