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.
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'.
Develop games in your browser. Powerful, performant & highly capable.
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.