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
How can I create a cannon who rotate and throw projectiles in particular angles? I used the code in the image below and when the cannon fires a projectile, the projectile flies away in the upper left corner of the screen, rather than going straight to the target. Help me out!
Applying a physics force will just push it, you need to set angle of the projectile toward target.x,target.y. The target isn't even mentioned here.
Develop games in your browser. Powerful, performant & highly capable.
This was already posted here. Please don't repost identical threads.