Fix: HTML description for search engine

This commit is contained in:
2018-12-04 21:00:34 +09:00
parent 458b48bcf5
commit 7a64a7035f
22 changed files with 63 additions and 59 deletions
+4 -11
View File
@@ -1,8 +1,8 @@
var Game = {
preload: function() {
game.stage.disableVisibilityChange = true;
},
// preload: function() {
// game.stage.disableVisibilityChange = true;
// },
create: function() {
game.physics.enable(this, Phaser.Physics.ARCADE);
@@ -60,14 +60,7 @@ var Game = {
screenTopUI.makeBackButton( (function() { this.back(); }).bind(this) );
screenTopUI.makeFullScreenButton();
this.stopWatch = new StopWatch(
60, // sec
(function() {
this.setClickEnable(false);
this.gameOver();
}).bind(this)
);
this.stopWatch = new StopWatch(game);
// bottom ui
+20 -13
View File
@@ -1,6 +1,6 @@
function StopWatch() {
this.ellpasedTime = 0;
this.startTime = 0;
this.ellapsedTime = 0;
// this.startTime = 0;
this.isPaused = true;
var fontStyle = StopWatch.DEFAULT_TEXT_FONT;
@@ -24,12 +24,15 @@ function StopWatch() {
StopWatch.prototype.start = function() {
this.isPaused = false;
this.startTime = game.time.totalElapsedSeconds();
// this.startTime = game.time.totalElapsedSeconds();
this.ellapsedTimer = game.time.create(false);
this.timerEvent = this.ellapsedTimer.loop(10, this.updateTimer, this);
this.ellapsedTimer.start();
this.printTime();
if(this.timerEvent === null)
this.timerEvent = game.time.events.loop(Phaser.Timer.SECOND / 100, this.updateTimer, this);
// this.timerEvent = game.time.events.loop(Phaser.Timer.SECOND / 100, this.updateTimer, this);
}
StopWatch.prototype.pause = function() {
@@ -41,31 +44,35 @@ StopWatch.prototype.resume = function() {
}
StopWatch.prototype.stop = function() {
var recordTime = game.time.totalElapsedSeconds() - this.startTime;
// var recordTime = game.time.totalElapsedSeconds() - this.startTime;
this.removeTimer();
if(this.timerEvent)
this.removeTimer();
return recordTime;
// return recordTime;
return this.ellapsedTime;
}
StopWatch.prototype.updateTimer = function() {
if(this.isPaused == true)
return;
this.ellpasedTime = game.time.totalElapsedSeconds() - this.startTime;
// this.ellapsedTime = game.time.totalElapsedSeconds() - this.startTime;
this.ellapsedTime += 0.01;
this.printTime();
}
StopWatch.prototype.printTime = function() {
this.timerText.text = RecordUtil.getRecordValueWithUnit(
this.ellpasedTime, sessionStorageManager.getPlayingAppID()
this.ellapsedTime, sessionStorageManager.getPlayingAppID()
);
}
StopWatch.prototype.removeTimer = function() {
game.time.events.remove(this.timerEvent);
this.timerEvent = null;
if(this.timerEvent)
this.timerEvent = null;
this.ellapsedTimer.stop();
this.ellapsedTimer = null;
}
+2 -1
View File
@@ -22,7 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>광고</title>
<title>광고 | 초코마에</title>
<meta name="description" CONTENT="마우스, 한글/영문 타자 연습 앱 | 초코마에 ‧ Mouse and Korean/English tyiping practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>카드 짝 맞추기, 초코마에</title>
<meta name="description" CONTENT="카드 짝 맞추기 Matching card pair, 마우스 더블 클릭 연습 앱 mouse double click practice app, 초코마에 chcomae">
<title>카드 짝 맞추기 | 초코마에</title>
<meta name="description" CONTENT="카드 짝 맞추기 - 마우스 더블 클릭 연습 앱 | 초코마에 ‧ Matching card pair - Mouse double click practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>미사일 피하기, 초코마에</title>
<meta name="description" CONTENT="미사일 피하기 - 마우스 움직임 연습 앱 | 초코마에, Dodge missiles - Mouse moving practice app | chcomae">
<title>미사일 피하기 | 초코마에</title>
<meta name="description" CONTENT="미사일 피하기 - 마우스 움직임 연습 앱 | 초코마에 Dodge missiles - Mouse cursor moving practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>고기 굽기, 초코마에</title>
<meta name="description" CONTENT="고기 굽기 Grilling meat, 마우스 드래그 연습 앱 mouse drag practice app, 초코마에 chcomae">
<title>고기 굽기 | 초코마에</title>
<meta name="description" CONTENT="고기 굽기 - 마우스 드래그 연습 앱 | 초코마에 ‧ Grilling meat - Mouse drag and drop practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -1
View File
@@ -22,7 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>로그인</title>
<title>로그인 | 초코마에</title>
<meta name="description" CONTENT="마우스, 한글/영문 타자 연습 앱 | 초코마에 ‧ Mouse and Korean/English tyiping practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -1
View File
@@ -22,7 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>무료 플레이어 메뉴, 초코마에</title>
<title>무료 플레이어 메뉴 | 초코마에</title>
<meta name="description" CONTENT="마우스, 한글/영문 타자 연습 앱 | 초코마에 ‧ Mouse and Korean/English tyiping practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -1
View File
@@ -22,7 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>테스트 플레이어 메뉴, 초코마에</title>
<title>테스트 플레이어 메뉴 | 초코마에</title>
<meta name="description" CONTENT="마우스, 한글/영문 타자 연습 앱 | 초코마에 ‧ Mouse and Korean/English tyiping practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>외계인 침공, 초코마에</title>
<meta name="description" CONTENT="외계인 침공 Space Invaders, 마우스 클릭 연습 앱 mouse click practice app, 초코마에 chcomae">
<title>외계인 침공 | 초코마에</title>
<meta name="description" CONTENT="외계인 침공 - 마우스 클릭 연습 앱 | 초코마에 ‧ Space Invaders - Mouse click practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>타자 연습, 초코마에</title>
<meta name="description" CONTENT="타자 연습 typing practice, 한글타자 korean typing, 영문타자 영어타자 English typing, 초코마에 chcomae">
<title>타자 연습 | 초코마에</title>
<meta name="description" CONTENT="타자 연습 - 한글/영문 타자 앱 | 초코마에 ‧ Typing practice - Korean/English typing app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>타자 시험, 초코마에</title>
<meta name="description" CONTENT="타자 시험 typing test, 한글타자 korean typing, 영문타자 영어타자 English typing, 초코마에 chcomae">
<title>타자 시험 | 초코마에</title>
<meta name="description" CONTENT="타자 시험 - 한글/영문 타자 앱 | 초코마에 ‧ Typing test - Korean/English typing app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -22,8 +22,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>영어 타자 앱-두더지 타자, 초코마에</title>
<meta name="description" CONTENT="Whac a Mole 두더지 타자, English typing app 영어 타자 앱, chcomae 초코마에">
<title>두더지 타자 | 초코마에</title>
<meta name="description" CONTENT="두더지 타자 - 한글/영어 타자 앱 | 초코마에 ‧ Whac a Mole - Korean/English typing app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 체험</title>
<meta name="description" CONTENT="테스트 마에스트로 체험 Test maestro experience , 초코마에 chcomae">
<title>마에스트로 체험 | 초코마에</title>
<meta name="description" CONTENT="테스트 마에스트로 체험 | 초코마에 ‧ Test maestro experience | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 메뉴, 초코마에</title>
<meta name="description" CONTENT="마에스트로 메뉴 Maestro menu , 초코마에 chcomae">
<title>마에스트로 메뉴 | 초코마에</title>
<meta name="description" CONTENT="마에스트로 메뉴 | 초코마에 ‧ Maestro menu ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 정보 변경</title>
<meta name="description" CONTENT="마에스트로 정보 변경 Maestro setting change info, 초코마에 chcomae">
<title>마에스트로 계정 정보 수정 | 초코마에</title>
<meta name="description" CONTENT="마에스트로 계정 정보 수정 | 초코마에 ‧ Change maestro account setting/info | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 업그레이드</title>
<meta name="description" CONTENT="마에스트로 업그레이드 신청 Maestro upgrade, 초코마에 chcomae">
<title>마에스트로 계정 업그레이드 | 초코마에</title>
<meta name="description" CONTENT="마에스트로 계정 업그레이드 신청 | 초코마에 ‧ Upgrade maestro account | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>FAQ, 초코마에</title>
<meta name="description" CONTENT="FAQ 자주 묻는 질문, 초코마에 chcomae">
<title>FAQ | 초코마에</title>
<meta name="description" CONTENT="자주 묻는 질문 | 초코마에 ‧ FAQ | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>초코마에 무료 사용자</title>
<meta name="description" CONTENT="무료 사용자 플레이어 Free User Player, 초코마에 chcomae">
<title>무료 사용자 | 초코마에</title>
<meta name="description" CONTENT="무료 사용자 플레이어 | 초코마에 ‧ Free user player | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+1 -1
View File
@@ -24,7 +24,7 @@
<!-- End Google Tag Manager -->
<title>초코마에</title>
<meta name="description" CONTENT="마우스 타자 연습 앱 Mouse tyiping taja practice app, 한글타자 영문타자 Korean typing English typing, 초코마에 chcomae">
<meta name="description" CONTENT="마우스, 한글/영문 타자 연습 앱 | 초코마에 ‧ Mouse and Korean/English tyiping practice app | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 로그인</title>
<meta name="description" CONTENT="마에스트로 로그인 Maestro login, 초코마에 chcomae">
<title>마에스트로 로그인 | 초코마에</title>
<meta name="description" CONTENT="마에스트로 로그인 | 초코마에 ‧ Maestro login | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
+2 -2
View File
@@ -23,8 +23,8 @@
})(window,document,'script','dataLayer','GTM-N8PB4F3');</script>
<!-- End Google Tag Manager -->
<title>마에스트로 계정 등록</title>
<meta name="description" CONTENT="마에스트로 계정 유료 등록 Maestro account registration, 초코마에 chcomae">
<title>마에스트로 계정 등록 | 초코마에</title>
<meta name="description" CONTENT="마에스트로 계정 유료 등록 | 초코마에 ‧ Maestro account registration | ChocoMae">
<link rel="icon" href="/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />