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; { playerName = sessionStorage.getItem("playerName"); console.log("playerName : " + playerName); playerUserID = sessionStorage.getItem("playerUserID"); console.log("playerUserID : " + playerUserID); bestRecord = sessionStorage.getItem("bestRecord"); console.log("bestRecord : " + bestRecord); } let textStyleBasic = { font: "bold 32px Arial", fill: "#fff", align: "center", boundsAlignH: "center", boundsAlignV: "middle" }; let backButtonPosition = { x: 100, y: 70 };