Page 1 of 1

power UP

PostPosted: Tue Mar 14, 2006 12:56 am
by The achievement
how do i create a power up thats a fire ball feature like Mario? where you get a flower in mario and he can throw fireballs, how do i do that? and how do i put it in the power up box? If you dont know thats ok, but i would like to know.lol :lol:

PostPosted: Tue Mar 14, 2006 1:26 pm
by Troodon
Make a animation where your actor has got a flower in his hand. When the actor collides with the power up, your animation changes. Make a variable flowerPower and make it 0 in create actor. In collision, make flowerPower = 1. In collision with fireball, make
Code: Select all
if (flowerPower = 0)
{
destroy actor(event actor);
}

:roll: That's not maybe completely correct code becouse I'm not now at home.

PostPosted: Tue Mar 14, 2006 10:15 pm
by The achievement
Wow thats easy, im gonna try that when i get home! thanks tekdino!




PS I got a Nintendo DS!!! I love Mario Kart DS on Wi-Fi! :D