Skip to content

budda/crafty.component.uniaxis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

UniAxis Control Component

UniAxis is a CraftyJS (http://craftyjs.com) component that implements a 4 way control method allowing moving in a single direction at a time.

Usage is like any other control component. The only accepted argument is the speed that the entity is to be moved in.

var Player = Crafty.e("UniAxis").uniaxis(2);

Get me on Twitter via @BuddaBoy

About

UniAxis is a CraftyJS component that implements a 4 way control method allowing moving in a single direction at a time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published