I created a cannon in my game, every tick my cannon moves, but the problem is, it rotates 360 degrees. I only want it to move between 2 values. How can I do that
Develop games in your browser. Powerful, performant & highly capable.