The Daily Click ::. Forums ::. Klik Coding Help ::. MMF2 - Getting animation to play in a custom platform movement
 

Post Reply  Post Oekaki 
 

Posted By Message

Deathbringer

Possibly Insane

Registered
  05/07/2002
Points
  2486
Today at 29/09/2026 04:40:37 -

("Just buy Fusion 2.5" is the wrong answer, by the way)

I have a custom platform movement where a rectangular collision box has it's internal X value increased or decreased when left or right are pressed. It's position is then changed by the X value (with "gravity" and "jumps" to handle the Y position of course).

I have the code "If value X > 1" on the detector, then "set animation to walking" on the actual character (who is an inert object that always moves with the detector), but the animation only ever shows the first frame of the walking animation. I have it set to looping, and to a speed of 20 in the animation editor (the preview looks fine), but in the game, it doesn't animate.

I guess the fact the detector and character have "static" movements, the engine thinks they "aren't moving" and the animation doesn't need to play. Is there any way to force it to play?

 
A signature
   

Post Reply



 



Advertisement

Worth A Click