New Input handler implemented.

This commit is contained in:
Richard Davey
2013-05-16 02:36:58 +01:00
parent ce7bfd1fc2
commit 3cdd2baff0
31 changed files with 3048 additions and 2029 deletions
+1 -3
View File
@@ -3,7 +3,7 @@
(function () {
// Here we create a quite tiny game (320x240 in size)
var myGame = new Phaser.Game(this, 'game', 320, 240, init, create, update);
var myGame = new Phaser.Game(this, 'game', 320, 240, init, create, update, render);
function init() {
@@ -29,8 +29,6 @@
myGame.createSprite(myGame.world.randomX, myGame.world.randomY, 'melon');
}
myGame.onRenderCallback = render;
}
function update() {