Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Hazneliel

Hello, I want to reproduce this:

The player is idle facing right, then left button is pressed and the player changes its position from right to left, then he starts walking and finally he ends running.

Here there are 4 animations involved:
Idle
Transition from one side to another: this may have 3 or 4 frames.
Start to walk, may have 3 or 4 frames
Running

I want this effect to mimic Castlevania SotN, when you start to move, Alucard first tilts its body torward r¿that direction and then he starts walking. also when you flip him from one side to another there is a transition animation.

Is there a way to do this???

1 decade ago by Hazneliel

Solved this using impactEvents.js plugin: http://www.pointofimpactjs.com/plugins/view/7/impact-events

I assign a new animation as soon as one is finished.

1 decade ago by vincentpiel

Rq : watching for a loop in the animation within the update gives the same result as using an animation ended event.
Page 1 of 1
« first « previous next › last »