Page 1 of 1

Just plane problems

PostPosted: Fri Jun 11, 2010 10:46 am
by Turon
I am busy creating another game called Super Ostrich.But you see the enemy is supposed to be squished when the ostrich hits it and it does not even kill it! There is a animation of a squished enemy which plays when the Ostrich hits the top of the enemy, then I put 'animation finished destroy actor event' and my work does not do anything. I do not know what I am doing wrong!

Re: Just plane problems

PostPosted: Fri Jun 11, 2010 4:18 pm
by DST
You only have one frame in enemy dead - one frame is not an animation, and it has no 'finish'.
I simply replaced the enemy dead graphic with the ostrichright and he did it and died perfectly.

Also, you should use 'destroy actor, event actor' instead of 'enemy'.

Once you have a multi-frame animation, you can use 'wait for frame action' when you add the action, and it will let you input a frame to wait for before destroying the actor. This can help you fine-tune the timing.

Re: Just plane problems

PostPosted: Sat Jun 12, 2010 5:36 pm
by Turon
Thanks! :D