Add: space invaders game
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user