diff --git a/resources/image/ads/app_store.png b/resources/image/cm_time/app_store.png
similarity index 100%
rename from resources/image/ads/app_store.png
rename to resources/image/cm_time/app_store.png
diff --git a/resources/image/ads/google_play_store.png b/resources/image/cm_time/google_play_store.png
similarity index 100%
rename from resources/image/ads/google_play_store.png
rename to resources/image/cm_time/google_play_store.png
diff --git a/resources/image/ads/mental_abacus_banner.afdesign b/resources/image/cm_time/mental_abacus_banner.afdesign
similarity index 100%
rename from resources/image/ads/mental_abacus_banner.afdesign
rename to resources/image/cm_time/mental_abacus_banner.afdesign
diff --git a/resources/image/ads/mental_abacus_banner.png b/resources/image/cm_time/mental_abacus_banner.png
similarity index 100%
rename from resources/image/ads/mental_abacus_banner.png
rename to resources/image/cm_time/mental_abacus_banner.png
diff --git a/resources/image/ads/shinssaem.png b/resources/image/cm_time/shinssaem.png
similarity index 100%
rename from resources/image/ads/shinssaem.png
rename to resources/image/cm_time/shinssaem.png
diff --git a/resources/image/ads/shinssaem_banner.png b/resources/image/cm_time/shinssaem_banner.png
similarity index 100%
rename from resources/image/ads/shinssaem_banner.png
rename to resources/image/cm_time/shinssaem_banner.png
diff --git a/src/game/ads/ads.js b/src/game/cm_time/cm_time.js
similarity index 93%
rename from src/game/ads/ads.js
rename to src/game/cm_time/cm_time.js
index fc6f54d..d998ef8 100644
--- a/src/game/ads/ads.js
+++ b/src/game/cm_time/cm_time.js
@@ -1,7 +1,7 @@
-var Ads = {
+var CmTime = {
preload: function() {
- game.load.image('ads_image', '../../../resources/image/ads/mental_abacus_banner.png');
+ game.load.image('cm_time_image', '../../../resources/image/cm_time/mental_abacus_banner.png');
},
create: function() {
@@ -26,7 +26,7 @@ var Ads = {
this.getFontStyle(32, "#888"))
.anchor.set(0.5);
- var sprite = game.add.sprite(game.world.centerX, game.world.centerY, "ads_image");
+ var sprite = game.add.sprite(game.world.centerX, game.world.centerY, "cm_time_image");
sprite.anchor.set(0.5);
var width = sprite.width;
var height = sprite.height;
diff --git a/src/game/ads/main.js b/src/game/cm_time/main.js
similarity index 61%
rename from src/game/ads/main.js
rename to src/game/cm_time/main.js
index 133044e..d776198 100644
--- a/src/game/ads/main.js
+++ b/src/game/cm_time/main.js
@@ -1,13 +1,12 @@
/////////////////////////////
// Main game
-var CONTENT_ID = "Ads";
+var CONTENT_ID = "CmTime";
var game = new Phaser.Game(
GAME_SCREEN_SIZE.x, GAME_SCREEN_SIZE.y,
Phaser.CANVAS, CONTENT_ID
);
-
-game.state.add('Ads', Ads);
-game.state.start('Ads');
+game.state.add('CmTime', CmTime);
+game.state.start('CmTime');
diff --git a/src/game/lib/button/game_app_button.js b/src/game/lib/button/game_app_button.js
index 62b98d8..e67dd39 100644
--- a/src/game/lib/button/game_app_button.js
+++ b/src/game/lib/button/game_app_button.js
@@ -84,7 +84,7 @@ GameAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppKoreanName(this.appInfo.KoreanName);
if(isExperiencePlayerAccount())
- location.href = '../../web/client/ads.html';
+ location.href = '../../web/client/cm_time.html';
else
location.href = '../../web/client/start.html';
}
diff --git a/src/game/lib/button/typing_app_button.js b/src/game/lib/button/typing_app_button.js
index 26eb14a..1e5464d 100644
--- a/src/game/lib/button/typing_app_button.js
+++ b/src/game/lib/button/typing_app_button.js
@@ -96,7 +96,7 @@ TypingAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppKoreanName(this.appInfo.KoreanName);
if(isExperiencePlayerAccount())
- location.href = '../../web/client/ads.html';
+ location.href = '../../web/client/cm_time.html';
else
location.href = '../../web/client/start.html';
}
diff --git a/src/game/lib/flat_button/play_app_button.js b/src/game/lib/flat_button/play_app_button.js
index a5750b7..add3c35 100644
--- a/src/game/lib/flat_button/play_app_button.js
+++ b/src/game/lib/flat_button/play_app_button.js
@@ -158,7 +158,7 @@ PlayAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppKoreanName(this.appData.koreanName);
if(isExperiencePlayerAccount())
- location.href = '../../web/client/ads.html';
+ location.href = '../../web/client/cm_time.html';
else
location.href = '../../web/client/start.html';
}
diff --git a/src/game/lib/flat_button/typing_app_button.js b/src/game/lib/flat_button/typing_app_button.js
index 98be602..86dcd9a 100644
--- a/src/game/lib/flat_button/typing_app_button.js
+++ b/src/game/lib/flat_button/typing_app_button.js
@@ -249,7 +249,7 @@ TypingAppButton.prototype.clickEvent = function() {
sessionStorageManager.setPlayingAppKoreanName(this.appData.koreanName);
if(isExperiencePlayerAccount())
- location.href = '../../web/client/ads.html';
+ location.href = '../../web/client/cm_time.html';
else
location.href = '../../web/client/start.html';
}
diff --git a/src/game/lib/flat_button/typing_exam_button.js b/src/game/lib/flat_button/typing_exam_button.js
index b6f1025..3bba8cf 100644
--- a/src/game/lib/flat_button/typing_exam_button.js
+++ b/src/game/lib/flat_button/typing_exam_button.js
@@ -212,7 +212,7 @@ TypingExamButton.prototype.clickEvent = function() {
sessionStorageManager.setWritingID(this.writingID);
if(isExperiencePlayerAccount())
- location.href = '../../web/client/ads.html';
+ location.href = '../../web/client/cm_time.html';
else
location.href = '../../web/client/start.html';
}
diff --git a/src/web/client/ads.html b/src/web/client/cm_time.html
similarity index 86%
rename from src/web/client/ads.html
rename to src/web/client/cm_time.html
index f3b630e..96de3e1 100644
--- a/src/web/client/ads.html
+++ b/src/web/client/cm_time.html
@@ -52,8 +52,8 @@
-
-
+
+
-
-
-
-