Joystick component for crafty - javascript game engine.
Pull request Compare This branch is even with flywithmonkey:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
README.md
joystick.js
package.json

README.md

Joystick for Crafty JS - Javascript game engine

A joystick create as component for Crafty JS. Base on VirtualJoystick.js.


Example using with Crafty

Crafty.e("2D, Canvas, track").attr({ x: 100, y: 100 }) //base element .joystick( Crafty.e("2D, Canvas, stick").attr({ x: 100, y: 100 }), //stick element { mouseSupport : true, range: 20 } )