Thread: speedy quick!
View Single Post
  #8  
Old 06-23-2007, 06:17 AM
Angel_Light Angel_Light is offline
Varia Developer
Angel_Light's Avatar
Join Date: Nov 2005
Location: Knoxville, TN
Posts: 1,684
Angel_Light is on a distinguished road
Send a message via AIM to Angel_Light Send a message via MSN to Angel_Light
Quote:
Originally Posted by Chompy View Post
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



You can
Thats why you involve a if(onwall()) clientside or a if(tiletype() == 22) serverside. :P
__________________
Deep into the Darkness peering...
Reply With Quote