Quote:
Originally posted by relenakat
How do you make the skateboard make the player faster and how do you equip it for like the ani stuff?
|
Maybe it's Unixmad playing a cruel joke on kondidias (sp), lol. Anyways...
Try using playerx and playery values....correspoding with the players direction (0-up 1-left 2-down 3-right).
Like
if (playerdir=0) {playery-=1;
}
Since you are facing up
and the grid of graal looks like this:
0....64 (x)
.
.
64
(y)
you want to subtract (so the player goes up faster)