Add: global - Login

This commit is contained in:
2018-05-06 12:01:18 +09:00
parent 6cd48f238d
commit 0acec6ee1a
11 changed files with 2004 additions and 0 deletions
@@ -0,0 +1,30 @@
const LANGUAGE_KOREAN = "korean";
const LANGUAGE_ENGLISH = "english";
const MODE_RELEASE = "release";
const MODE_DEBUG = "debug";
const runMode = MODE_DEBUG;
function isDebugMode() {
// console.log("debug mode ? " + runMode);
return runMode == MODE_DEBUG ? true : false;
}
function isReleaseMode() {
// console.log("release mode ? " + runMode);
return runMode == MODE_RELEASE ? true : false;
}
const GAME_SCREEN_SIZE = { x: 1024, y: 768
}
let playerName;
let playerUserID;
let bestRecord = 0;
let playingStageData;
let textStyleBasic = { font: "bold 32px Arial", fill: "#fff", align: "center", boundsAlignH: "center", boundsAlignV: "middle" };
let backButtonPosition = { x: 100, y: 70 };