From fbc914a79ba6e73910250d1504ae11a33b7a18d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Thu, 24 Jan 2019 23:38:39 +0900 Subject: [PATCH] Add: ITQ simulator html link --- src/game/license_simulator/itq/simulator.js | 38 +++++++++++++++------ src/web/client/itq_simulator.html | 4 +-- src/web/module/home_section.html | 37 ++++++++++++++++++-- 3 files changed, 64 insertions(+), 15 deletions(-) diff --git a/src/game/license_simulator/itq/simulator.js b/src/game/license_simulator/itq/simulator.js index fa0bde8..2515492 100644 --- a/src/game/license_simulator/itq/simulator.js +++ b/src/game/license_simulator/itq/simulator.js @@ -1,5 +1,13 @@ var GAME_SCREEN_SIZE = { x: 1024, y: 768 }; +var MODE_RELEASE = "release"; +var MODE_DEBUG = "debug"; +var runMode = MODE_RELEASE; +function isDebugMode() { + // console.log("debug mode ? " + runMode); + return runMode == MODE_DEBUG ? true : false; +} + var BG_IMAGE_FILENAMES = [ "windows_wallpaper", "wait_wallpaper", @@ -44,21 +52,29 @@ var Simulator = { // keyboard shortcut this.keyboardShortcut = new KeyboardShortcut(); this.keyboardShortcut.addCallback( - Phaser.KeyCode.ESC, // keyCode + Phaser.KeyCode.LEFT, // keyCode null, // keyDownHandler - (function() { this.back(); }).bind(this), // keyUpHandler + (function() { this.prev(); }).bind(this), // keyUpHandler + "keyboard_test" // callerClassName + ); + this.keyboardShortcut.addCallback( + Phaser.KeyCode.RIGHT, // keyCode + null, // keyDownHandler + (function() { this.next(); }).bind(this), // keyUpHandler "keyboard_test" // callerClassName ); - this.fullscreenButton = new FullscreenButton(); + // this.fullscreenButton = new FullscreenButton(); // buttons var buttonSetting = new RoundRectButtonSetting(50, game.world.centerY, BUTTON_WIDTH, BUTTON_HEIGHT, 20); this.prevButton = new RoundRectButton(buttonSetting, null, "<", (function() { this.prev(); }).bind(this)); + this.prevButton.addShortcutText("←"); buttonSetting.x = game.world.width - BUTTON_WIDTH + 30; this.nextButton = new RoundRectButton(buttonSetting, null, ">", (function() { this.next(); }).bind(this)); + this.nextButton.addShortcutText("→"); // tip @@ -114,7 +130,7 @@ var Simulator = { ] }, { - tip: "KOAS 수험자용 - 프로그램 실행", + tip: "[KOAS 수험자용] 프로그램 실행", images: [ ], rectangles: [ @@ -127,7 +143,7 @@ var Simulator = { ] }, { - tip: "1. 수험표에 있는 수험번호를 정확히 입력\n" + tip: "1. 수험표의 수험번호를 정확히 입력\n" + "2. [확인] 버튼 클릭", images: [ { @@ -182,7 +198,7 @@ var Simulator = { ] }, { - tip: "1. 정확하게 입력이 되었는지 자세히 확인\n" + tip: "1. 내 수험 정보가 정확하게 입력이 되었는지 자세히 확인\n" + "2. [확인] 버튼 클릭", images: [ { @@ -209,7 +225,7 @@ var Simulator = { { tip: "대기 화면으로 바뀜\n" + "\n" - + "* 기다리는 동안 감독관 선생님의 주의사항을 듣습니다.", + + "* 기다리는 동안 감독관 선생님의 설명을 듣습니다.", textColor: "lightblue", bg: "wait_wallpaper", images: [ @@ -250,9 +266,9 @@ var Simulator = { ] }, { - tip: "시험 시간이 되면 대기 화면에서 바탕 화면으로 전환됨\n" + tip: "시험 시간이 되면 대기 화면에서 바탕 화면으로 바뀜\n" + "\n" - + "* 화면 오른쪽 위에는 시험 관리 프로그램이 실행됩니다.", + + "* 화면 오른쪽 위에 시험 관리 프로그램이 실행되고 있습니다.", textColor: "lightblue", images: [ { @@ -271,7 +287,7 @@ var Simulator = { ] }, { - tip: "문서 작업할 프로그램을 실행한 후, 가장 먼저 파일 저장\n" + tip: "문서 작업할 프로그램을 실행한 후, 가장 먼저 → 파일 저장 ←\n" + "\n" + "[폴더] : 라이브러리 > 문서 > ITQ ∥ 내 문서 > ITQ\n" + "[파일 이름] : 수험번호-이름 (예 : 70150012-홍길동)", @@ -500,7 +516,7 @@ var Simulator = { }, printContents: function() { - console.log(this.stageIndex); + // console.log(this.stageIndex); var data = this.stageData[this.stageIndex]; this.tipText.text = data.tip; diff --git a/src/web/client/itq_simulator.html b/src/web/client/itq_simulator.html index 5e0da7c..89338cb 100644 --- a/src/web/client/itq_simulator.html +++ b/src/web/client/itq_simulator.html @@ -22,8 +22,8 @@ })(window,document,'script','dataLayer','GTM-N8PB4F3'); - ITQ 시뮬레이터 | 초코마에 - + ITQ 시험장 체험 | 초코마에 + diff --git a/src/web/module/home_section.html b/src/web/module/home_section.html index 26e9a98..2299a69 100644 --- a/src/web/module/home_section.html +++ b/src/web/module/home_section.html @@ -2,8 +2,8 @@ $(document).ready(function() { showErrorMessage( - "(01월 10일) 새소식
\ - 타자 연습 앱 : [ 단어 비행접시 ] 가 추가되었습니다.", "success" + "(01월 25일) 새소식
\ + * 보너스, 추가 컨텐츠로 [ ITQ 시험장 체험 ] 앱이 추가되었습니다. 화면 하단에서 확인해 보세요.", "success" ); }); @@ -242,6 +242,39 @@ function experienceMaestro() { +
+ +
+
+
 
+
+
+
ITQ 시험보러 가기 전에, 시험장 환경을 체험하며 주의사항을 확인해 보세요.
+
+
+
+ + +
+
+
+
+
    +
  • 무설치, 웹브라우저 앱
  • +
  • ITQ 시험장 컴퓨터 환경 체험
  • +
  • 시험 주의사항 확인
  • +
+
+
+
+
+
+