API Docs for: 0.2.0
Show:

platformerControls Class

Platformer Control Component

Adds 2D platformer controls onto a Sprite

Platformer controls bind to left, and right and allow the player to jump.

Adds the following properties to the entity to control speed and jumping:

 { 
   speed: 200,
   jumpSpeed: -300
 }

Item Index