Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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
Im trying to make an object spin constantly around another player controlled object. For example, I want the player to be able to move a sprite (let's call it spr_a) around the layout like a top-down shooter. I already am aware how to do that. But how do I make (spr_b) rotate quickly around it like a shield, wherever the sprite is moved. Hopefully that made sense lol. Thanks guys!
You could use the Lenghtdir() function, which returns the position of a point in a radius of x pixels around another point in an y angle.
To tweak the rotating speed, simply increase or decrease the rotation_angle change every tick.
Develop games in your browser. Powerful, performant & highly capable.
Ah ok, I'll try that. Thanks!