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
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!
Develop games in your browser. Powerful, performant & highly capable.
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.
Ah ok, I'll try that. Thanks!