platformer The libraries for generating a 2D platformer game.
Defined in: toys.js.
canJump(th) Checks if the passed object is touching the floor and can therefore jump at present.
horizontalTileCollision(th, map, tilemap)
verticalTileCollision(th, map, tilemap)
Checks if the passed object is touching the floor and can therefore jump at present.
|th||This is the object being checked for jump ability at the time of calling.|