Add: start (page)

This commit is contained in:
2018-05-09 07:19:03 +09:00
parent 5cecf98858
commit 024e114077
6 changed files with 135 additions and 16 deletions
+12
View File
@@ -0,0 +1,12 @@
/////////////////////////////
// Main game
const CONTENT_ID = "Start";
var game = new Phaser.Game(
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
Phaser.CANVAS, CONTENT_ID
);
game.state.add('Start', Start);
game.state.start('Start');