Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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?
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
Develop games in your browser. Powerful, performant & highly capable.
Yes, that worked well. Thank you very much.