Just plane problems

Game Editor comments and discussion.

Just plane problems

Postby Turon » Fri Jun 11, 2010 10:46 am

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!
Attachments
Super Ostrich.zip
(212.9 KiB) Downloaded 55 times
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

Re: Just plane problems

Postby DST » Fri Jun 11, 2010 4:18 pm

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.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Just plane problems

Postby Turon » Sat Jun 12, 2010 5:36 pm

Thanks! :D
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron