Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Animation reverse


I am trying to create a game where the player plays as an ice cube that melts over time.

I'm trying to use reverse animation for this mechanic. When the character's animation reaches frame 10 the object is destroyed (loses) as you can see on the image below.

Furthermore, I wanted to add areas where the player can heal from. In this example, this area is pictured as the green box. For this mechanic, I change the animation speed to -1 to reverse.

The issue is that when the character is fully healed (brought back to frame 1), the animation keeps counting. So, for example, if the player is fully healed but still stays on the green box for 5 seconds, due to the animation still counting when he leaves the green box it is going to take 5 seconds extra for the animation to start (take damage) instead of immediately.

Sign In or Register to comment.