mirror of
https://github.com/wassname/phaser.git
synced 2026-07-12 00:50:45 +08:00
Removed the self-executing functions
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render});
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
game.debug.renderText('Living: ' + game.world.countLiving() + ', Dead: ' + game.world.countDead(), 330, 440);
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user