The Daily Click ::. Forums ::. General Chat ::. Hi ive got little problem
 

Post Reply  Post Oekaki 
 

Posted By Message

Artur18



Registered
  15/11/2004
Points
  1
16th November, 2004 at 16:08:47 -

Hi, i ve got problem with MMF. I dont now how to make that the one animation like fist(animation of hiting fist) kill enemy, but the others animations dont kill enemy. Some body help me please. I will be wery thank full.

 
alien

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
16th November, 2004 at 17:08:42 -

Use the condition "Which animation of [object] is playing?" and, optionally, +"Animation frame of [object] = x" to limit it to a specific frame.

 
http://www.davidn.co.nr - Games, music, living in America

Madgnome



Registered
  19/11/2004
Points
  17
19th November, 2004 at 06:42:24 -

For things like this I usually use a hidden collision detector created at the action point of the object. For instance, for the punching, I'd create an invisible square at action point relative to the object and destroy the square relatively fast so that it matches the punch animation. A little more work perhaps, but it's the way I feel most comfortable doing it.

Also, this method makes it so that only the FIST would do the killing. If you just test the animation, an enemy can touch your back and get killed when he should be killing you instead.

Image Edited by the Author.

 
www.madgnome.com

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
19th November, 2004 at 09:21:43 -

I did something like that for my game like Alex kidd in miracle world, Instead the fist was a different object altogether and was created when pressing ctrl. It was deleted after the animation had finished.

 
.
   

Post Reply



 



Advertisement

Worth A Click