Add: space invaders game
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
|
||||
const CONTENT_ID = "Space Invaders";
|
||||
|
||||
var game = new Phaser.Game(960, 540, Phaser.CANVAS, CONTENT_ID);
|
||||
let game = new Phaser.Game(
|
||||
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
|
||||
Phaser.CANVAS, CONTENT_ID
|
||||
);
|
||||
|
||||
game.state.add('Loading', Loading);
|
||||
game.state.start('Loading');
|
||||
|
||||
// game.state.add('Login', Login);
|
||||
game.state.add('Game', Game);
|
||||
// game.state.add('Menu', Menu);
|
||||
|
||||
Reference in New Issue
Block a user