Im using C2, i planning to start a loop animation via keypress.
This is what i do so far.
1.Set boolean to trigger animation default false
2.When keypress, set the boolean to true
3.Event check if boolean is true, set animation to play.
But animation dont play and loop as expected.
What is wrong here.
Develop games in your browser. Powerful, performant & highly capable.
"3. Event check if boolean is true, set animation to play."
Every tick since the boolean is true, the animation is set to play. So it starts playing.
Either use the action to set animation to play in the event 2.
Or do add the system condition "Trigger once while true" to event 3 to make it only happen once, and not every tick.
Work perfectly! Thanks