Removed the self-executing functions

This commit is contained in:
Webeled 2013-10-07 21:32:34 +01:00
parent 77b553ac2a
commit 1a522ea786
106 changed files with 212 additions and 212 deletions

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
@ -27,7 +27,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -34,7 +34,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
@ -29,7 +29,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create}); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create});
@ -37,7 +37,7 @@
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -57,7 +57,7 @@
game.debug.renderSoundInfo(music, 20, 32); game.debug.renderSoundInfo(music, 20, 32);
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -39,7 +39,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -46,7 +46,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create,update : update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create,update : update });
@ -47,7 +47,7 @@
button.angle+=1; button.angle+=1;
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update });
@ -67,7 +67,7 @@
} }
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -55,7 +55,7 @@
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render : render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render : render });
@ -121,7 +121,7 @@
game.context.fillText('Current style: ' + style, 60, 250); game.context.fillText('Current style: ' + style, 60, 250);
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -59,7 +59,7 @@
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -49,7 +49,7 @@
} }
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render : render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render : render });
@ -61,7 +61,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -63,7 +63,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -105,7 +105,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -58,7 +58,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -61,7 +61,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -76,7 +76,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -95,7 +95,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
@ -84,7 +84,7 @@
function render() { function render() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
@ -53,7 +53,7 @@
function render() { function render() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -64,7 +64,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render:render}); 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); game.debug.renderText('Tap to go fullscreen',15,150);
} }
})();
</script> </script>
<?php <?php

View file

@ -7,7 +7,7 @@
var graphics; var graphics;
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { create: create });
@ -59,7 +59,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
@ -49,7 +49,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create });
@ -38,7 +38,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -203,7 +203,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -126,7 +126,7 @@
game.debug.renderSpriteBounds(s, 'rgba(0,0,255,0.4)', true); game.debug.renderSpriteBounds(s, 'rgba(0,0,255,0.4)', true);
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -127,7 +127,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render });
@ -53,7 +53,7 @@
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render });
@ -46,7 +46,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render });
@ -91,7 +91,7 @@
game.debug.renderInputInfo(32, 32); game.debug.renderInputInfo(32, 32);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render : render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render : render });
@ -37,7 +37,7 @@
container.bringToTop(btn); container.bringToTop(btn);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render : render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render : render });
@ -43,7 +43,7 @@
game.debug.renderText('Tap or click an item to kill it, and press the revive button to revive them all.', 160, 500); game.debug.renderText('Tap or click an item to kill it, and press the revive button to revive them all.', 160, 500);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create}); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create});
@ -48,7 +48,7 @@
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -55,7 +55,7 @@
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render : render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render : render });
@ -41,7 +41,7 @@
game.debug.renderText('Alpha of items is always changing.', 280, 480); game.debug.renderText('Alpha of items is always changing.', 280, 480);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render}); 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); game.debug.renderText('Living: ' + game.world.countLiving() + ', Dead: ' + game.world.countDead(), 330, 440);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -76,7 +76,7 @@
game.debug.renderText('river layer: z = 4', 16, 84); game.debug.renderText('river layer: z = 4', 16, 84);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update : update,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update : update,render:render});
@ -54,7 +54,7 @@
game.debug.renderText('The robot is a group and every component is a sprite.', 240, 580); game.debug.renderText('The robot is a group and every component is a sprite.', 240, 580);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); 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); game.debug.renderText('The robot is a group and every component is a sprite.', 240, 580);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -69,7 +69,7 @@
game.debug.renderText('Drag each part to re-position them. ', 288, 592); game.debug.renderText('Drag each part to re-position them. ', 288, 592);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -61,7 +61,7 @@
game.debug.renderText('Living baddies: ' + (enemies.countLiving()), 340, 420); game.debug.renderText('Living baddies: ' + (enemies.countLiving()), 340, 420);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -64,7 +64,7 @@
} }
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -70,7 +70,7 @@
game.debug.renderText('Click an item and one from another group to replace it.', 240, 480); game.debug.renderText('Click an item and one from another group to replace it.', 240, 480);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -37,7 +37,7 @@
game.debug.renderText('Tap or click to set random alpha of all the items.', 240, 480); game.debug.renderText('Tap or click to set random alpha of all the items.', 240, 480);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -68,7 +68,7 @@
game.debug.renderText('friends: ' + friendAndFoe.length, 16, 96); game.debug.renderText('friends: ' + friendAndFoe.length, 16, 96);
} }
})();
</script> </script>

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -42,7 +42,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, render: render });
@ -42,7 +42,7 @@
game.debug.renderInputInfo(32, 32); game.debug.renderInputInfo(32, 32);
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, render: render });
@ -43,7 +43,7 @@
game.debug.renderInputInfo(32, 32); game.debug.renderInputInfo(32, 32);
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -31,7 +31,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -54,7 +54,7 @@
} }
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -44,7 +44,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(320, 240, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render}); var game = new Phaser.Game(320, 240, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render});
@ -67,7 +67,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -59,7 +59,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -50,7 +50,7 @@
game.add.sprite(game.world.randomX, game.world.randomY, 'pineapple'); game.add.sprite(game.world.randomX, game.world.randomY, 'pineapple');
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -39,7 +39,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render });
@ -77,7 +77,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -45,7 +45,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,render:render});
@ -45,7 +45,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', {create: create, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', {create: create, render: render });
@ -26,7 +26,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create,update:update,render:render });
@ -108,7 +108,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -54,7 +54,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -57,7 +57,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -105,7 +105,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -42,7 +42,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
function loadStarted(size) { function loadStarted(size) {
console.log('Loader started, queue size:', size); console.log('Loader started, queue size:', size);
@ -49,7 +49,7 @@ game.load.onLoadComplete.add(loadCompleted, this);
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
function loadStarted(size) { function loadStarted(size) {
console.log('Loader started, queue size:', size); console.log('Loader started, queue size:', size);
@ -43,7 +43,7 @@ game.load.onLoadComplete.add(loadCompleted, this);
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { render:render});
@ -25,7 +25,7 @@
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', {create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', {create: create });
@ -23,7 +23,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -44,7 +44,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update });
@ -40,7 +40,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
@ -69,7 +69,7 @@
function render() { function render() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -32,7 +32,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
@ -38,7 +38,7 @@
function render() { function render() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update });
@ -43,7 +43,7 @@
game.physics.collide(leftEmitter, rightEmitter); game.physics.collide(leftEmitter, rightEmitter);
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -28,7 +28,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update}); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update});
@ -70,7 +70,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -44,7 +44,7 @@
} }
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render:render}); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update,render:render});
@ -52,7 +52,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -97,7 +97,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -74,7 +74,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create}); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create});
@ -46,7 +46,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -33,7 +33,7 @@ MonsterBunny.prototype.update = function() {
}; };
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -52,7 +52,7 @@ MonsterBunny.prototype.update = function() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -22,7 +22,7 @@
function update() { function update() {
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }, false, false); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }, false, false);
@ -52,7 +52,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update, render: render });
@ -55,7 +55,7 @@
} }
})();
</script> </script>

View file

@ -26,7 +26,7 @@ MonsterBunny.prototype.update = function() {
}; };
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create });
@ -49,7 +49,7 @@ MonsterBunny.prototype.update = function() {
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -42,7 +42,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update, render: render });
@ -27,7 +27,7 @@
function render() { function render() {
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -29,7 +29,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { create: create }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { create: create });
@ -19,7 +19,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 480, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 480, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -69,7 +69,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { create: create, update: update });
@ -25,7 +25,7 @@
s.angle += 1; s.angle += 1;
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -34,7 +34,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -34,7 +34,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -36,7 +36,7 @@
} }
})();
</script> </script>
<?php <?php

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -50,7 +50,7 @@
} }
})();
</script> </script>

View file

@ -5,7 +5,7 @@
<script type="text/javascript"> <script type="text/javascript">
(function () {
var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });
@ -41,7 +41,7 @@
} }
})();
</script> </script>

Some files were not shown because too many files have changed in this diff Show more