Quote:
Originally Posted by theHAWKER
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.i = 0; i <= 3; i ++) {
if (keydown(i)) {
player.x += vecx(i)*this.speed;
player.y += 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
Player is a built in TGraalVar and you can't make vars for it I don't think.
|
You can
