Skip to content

Joystick component for crafty - javascript game engine.

Notifications You must be signed in to change notification settings

mengmomo/Crafty-joystick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published