Rotation on touch devices


Updated the space shooter demo with a touch rotation controller. 

Touch rotation is achieved by having a div capturing touch events, and converting the cords to game width/height cords,
then calculating rotation using the center point of that div, and then applying that rotation to the rotation of the players ship.

The controller is also available as part of the open source tabageos library.

Get Space Shooter Dog Fight Demo

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.