when using the gamepad right analog stick for aiming to the left, the image starts to rotate. How do i fix this problem? also,its platformer
Measure angle of sprite or stick direction, and when between angles 90 and 270 for example flip sprite.
Develop games in your browser. Powerful, performant & highly capable.
ok thanx