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
So i have this enemy ship with bullet and sine behaviors. I would like the enemy's angle to match the sine movement. In the bullet behavior, 'set angle' has no effect and using 'angle of motion' does not work either. Any ideas?
One way to do it is to record the sprite's X and Y position from the previous tick, and set the sprite's angle based on the angle between its previous position, and its current position.
Demo
Capx
Develop games in your browser. Powerful, performant & highly capable.
Ah yes, that is what i need, thank you. :)
Thank you, I was needing this for my project.