summaryrefslogtreecommitdiff
path: root/templates/_main.js.tpl
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2014-09-21 08:00:06 +0200
committerJustin Worthe <justin.worthe@gmail.com>2014-09-21 08:00:06 +0200
commit373e5f472f829714939103617cfe14e98d981b18 (patch)
tree4fa9bf8609537bad5b12a7e51915f4a07dee2873 /templates/_main.js.tpl
parent8c70582bf01821f8a71910013372e3b12f06cdd3 (diff)
Removed unused states and templating of main.js
Diffstat (limited to 'templates/_main.js.tpl')
-rw-r--r--templates/_main.js.tpl15
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