mirror of
https://github.com/wassname/phaser.git
synced 2026-08-09 12:20:34 +08:00
Removed the self-executing functions
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render:render});
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
game.debug.renderText('Tap to go fullscreen',15,150);
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
var graphics;
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { create: create });
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
(function () {
|
||||
|
||||
|
||||
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user