Add: space invaders game

This commit is contained in:
2018-05-10 19:09:43 +09:00
parent b524614220
commit ead099fc05
7 changed files with 158 additions and 5 deletions
+34
View File
@@ -0,0 +1,34 @@
/////////////////////////////
// Space invaders game
class Game {
create() {
// this.historyRecordManager = new HistoryRecordManager();
this.game.stage.backgroundColor = '#4d4d4d';
// this.chartGraphics = game.add.graphics(100, game.world.height - 120);
// top
let backButton = new BackButton( () => {
location.href = '../../web/client/menu_app.html';
});
let fullscreenButton = new FullscreenButton(this.game);
// contents
// bottom
let screenBottom = new ScreenBottom(game);
screenBottom.makeBottomLine();
screenBottom.printBottomLeftText("게임 진행 정보");
let playingAppName = appInfoManager.getAppNameKorean(sessionStorageManager.playingAppName);
screenBottom.printBottomCenterText(playingAppName);
screenBottom.printBottomRightText(sessionStorageManager.playerName);
}
}