mirror of
https://github.com/wassname/phaser.git
synced 2026-07-04 17:20:31 +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,render:render});
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
game.debug.renderText('The robot is a group and every component is a sprite.', 240, 580);
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user