Thanks Thunder I tried to do it, but it didn't work does anyone have a code I can try and work with. thanks everyone.

This is my code for jumping

function jump()
{
exclusive_global;
while (jump_time > -1)
{
player_distance.z = 40 * time * jump_time;
jump_time -= 0.09 * time;
if(my.ground_dist < 5){jump_time = 1;break;
}
wait (1);
}
while (key_space == 1)
{wait(1);
}
jump_time = 1;
}

I would like to know what to implement on my opponent and my jump that when I hit him on the head with my shoes when im jumping he turns into like a splashed goomba but when I get into a collision with him and where both standing I die.
I already know how to morph an enemy so I know how to implement him morphing into a splashed enemy, but I don't know how to implement hitting him when i'm jumping.
If anyone does not know but knows where I can get a tutorial on this I would appreciate.


Last edited by tek; 06/14/06 19:11.