Final release 1.1.4 examples finished.

This commit is contained in:
photonstorm
2014-02-05 16:55:02 +00:00
parent 02b75b9e23
commit e7a9b96d27
26 changed files with 2338 additions and 936 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ function update() {
if (cursors.up.isDown)
{
if (p.body.touching.down)
if (p.body.onFloor())
{
p.body.velocity.y = -200;
}
@@ -80,6 +80,6 @@ function update() {
function render() {
game.debug.renderCameraInfo(game.camera, 420, 320);
game.debug.renderSpriteCollision(p, 32, 320);
game.debug.renderPhysicsBody(p.body);
}