Fix: ads -> cm_time

This commit is contained in:
2022-05-16 23:02:48 +09:00
parent 7e1669cc51
commit 13f3928f7d
14 changed files with 14 additions and 27 deletions
@@ -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;
@@ -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');
+1 -1
View File
@@ -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';
}
+1 -1
View File
@@ -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';
}
+1 -1
View File
@@ -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';
}
@@ -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';
}
@@ -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';
}