I have a sprite that is just bouncing off of solids. I want it to face right when moving right and face left when moving left. I set up a "state". I know the state works because I can make it change the direction by changing the state, but whichever state I pick it keeps only that direction. I have tried changing the mirror when the state changes to the opposite direction. I have also tried to create a new animation with the sprite moving in the opposite direction and then setting that animation when the state changes. No luck. Any Ideas?
Develop games in your browser. Powerful, performant & highly capable.
without seeing the rest of your code, we can't tell what you're doing but you can apply the same method as in this post: construct.net/en/forum/construct-3/how-do-i-8/checking-moving-direction-path-159312
just replace sprite.pathfinding.Movingangle with sprite.bullet.angleofmotion
Yes, that worked well. Thank you very much.