how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time
healthbar.animpos ++;
Spidy wrote:how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time
OH you want him to jump up and fall down! here this explains checkpointsand dying like mariotekdino wrote:Spidy wrote:how do i make my player die like MARIO OR SNOW BROS OR SOMETHING
plz help me i have no time
Doesn't Mario jump up and then fall until it disappears from the view?
Then you can make a path and destroy the actor once it ends the path.
Of course the player will use the path when it dies.
double weight = 10;
x = ((weight - 1)*x + (player.x - width/2))/weight;
y = ((weight - 1)*y + (player.y - height/2))/weight;
if(power<=0)
{
DestroyActor("EventActor");
}
yvelocity=yvelocity-5;
yvelocity=yvelocity+0.5;
Users browsing this forum: No registered users and 1 guest