Thread: speedy quick!
View Single Post
  #5  
Old 06-21-2007, 11:34 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by Grey View Post
Hmm..there is no specific variable for determining the player's speed. Use a keydown check or timeout and first check player.dir for the direction and then just add to or minus from the player's x and y accordingly to increase/decrease speed.
Quote:
Originally Posted by Chompy View Post
Well, as Grey stated there is no speed variable for the default movement.
You could do as Grey said, doing keydown checks etc.. or you have to make your own custom movement system..
Quote:
Originally Posted by killerogue View Post
LOL XD.

Wait, wait, wait. I am so sorry. Erm, that's not going to work as player.speed is not a player variable.

Player is a built in TGraalVar and you can't make vars for it I don't think. You have to use a a custom movement system or something that emulates Graal movement that has a set speed variable.
graal legacy dosn't have a movement system yet the staff boots seam to work fine...
__________________
**FLIP OUT**
Reply With Quote