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
Develop games in your browser. Powerful, performant & highly capable.
Measure angle of sprite or stick direction, and when between angles 90 and 270 for example flip sprite.
ok thanx