View Single Post
  #3  
Old 06-02-2005, 07:50 PM
CaTigus CaTigus is offline
Scripter
Join Date: Oct 2002
Posts: 80
CaTigus is on a distinguished road
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.
Reply With Quote