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 bet there�s a better way of doing this... but it works.
click to shoot.
don't move the mouse after shooting otherwise it tweaks out.
i could have spent a lot more time and figured out how to make actual cannon physics.. but this was all I needed.
Develop games in your browser. Powerful, performant & highly capable.
Pretty good. But you definitely need to fix the thing where the balls always aim for the mouse, even after firing, which you mentioned. Otherwise, it seems to work well.
You could store the angle fired at in one of the fired sprites so moving the mouse wouldn't affect it. Also, 'Every 1 ticks' means the same as 'Always'.
yeah i was messing with having another object act as a marker, but it ended up kinda buggy, the variable idea will probably work much better.