Thread: speedy quick!
View Single Post
  #6  
Old 06-21-2007, 11:42 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by theHAWKER View Post
graal legacy dosn't have a movement system yet the staff boots seam to work fine...
Because the staff boots changes player.x and player.y

example:

PHP Code:
...
this.speed 1;
....
  for(
temp.0<= 3++) {
    if (
keydown(i)) {
      
player.+= vecx(i)*this.speed;
      
player.+= vecy(i)*this.speed;
    }
  }
... 
But, since boots doesn't check for walls you can walk through them.. That's where a custom movement system comes in :O

Quote:
Originally Posted by killerogue View Post
Player is a built in TGraalVar and you can't make vars for it I don't think.
You can
__________________
Reply With Quote