I'm trying to add touch controls to a Sonic game, but if I press the "roll" button, the animation will flicker between the "roll" and "run" animations.
My code for this:
Any idea how to fix this?
Develop games in your browser. Powerful, performant & highly capable.
You do not have permission to view this post
Member since 12 May, 2023