diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_main.js.tpl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/templates/_main.js.tpl b/templates/_main.js.tpl deleted file mode 100644 index 6a559db..0000000 --- a/templates/_main.js.tpl +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -//global variables -window.onload = function () { - var game = new Phaser.Game(<%= gameWidth %>, <%= gameHeight %>, Phaser.AUTO, '<%= _.slugify(projectName) %>'); - - var Orientation = require('./plugins/orientation'); - game.orientation = new Orientation(); - - // Game States - <% _.forEach(gameStates, function(gameState) { %>game.state.add('<%= gameState.shortName %>', require('./states/<%= gameState.shortName %>')); - <% }); %> - - game.state.start('boot'); -};
\ No newline at end of file |