flywithmonkey / Crafty-joystick

Joystick component for crafty - javascript game engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 } )

About

Joystick component for crafty - javascript game engine.


Languages

Language:JavaScript 100.0%