From cc1e658144b8a9195a2ef4d2b17707c588a3ea0d Mon Sep 17 00:00:00 2001 From: Jim Tittsler Date: Thu, 12 May 2016 23:59:38 +0900 Subject: [PATCH 1/6] Fix message typo. --- script/events/setpieces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/events/setpieces.js b/script/events/setpieces.js index 9f4012b..538bd4a 100644 --- a/script/events/setpieces.js +++ b/script/events/setpieces.js @@ -914,7 +914,7 @@ Events.Setpieces = { chance: 1 } }, - notification: _('another beast, draw by the noise, leaps out of a copse of trees.'), + notification: _('another beast, drawn by the noise, leaps out of a copse of trees.'), buttons: { 'continue': { text: _('continue'), From e1b1ed28b11b3d90a4b2e036f60776b8bf478b86 Mon Sep 17 00:00:00 2001 From: Michael Townsend Date: Thu, 12 May 2016 13:53:01 -0400 Subject: [PATCH 2/6] Revert "Fix message typo." --- script/events/setpieces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/events/setpieces.js b/script/events/setpieces.js index 538bd4a..9f4012b 100644 --- a/script/events/setpieces.js +++ b/script/events/setpieces.js @@ -914,7 +914,7 @@ Events.Setpieces = { chance: 1 } }, - notification: _('another beast, drawn by the noise, leaps out of a copse of trees.'), + notification: _('another beast, draw by the noise, leaps out of a copse of trees.'), buttons: { 'continue': { text: _('continue'), From a988d962f145b40c680ae743051d2ad850afb45e Mon Sep 17 00:00:00 2001 From: Continuities Date: Fri, 8 Jul 2016 18:41:10 -0400 Subject: [PATCH 3/6] Add link to Google Play --- script/engine.js | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/script/engine.js b/script/engine.js index 003477f..71847a1 100644 --- a/script/engine.js +++ b/script/engine.js @@ -135,8 +135,8 @@ $('') .addClass('appStore menuBtn') - .text(_('app store.')) - .click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=adrproper&mt=8'); }) + .text(_('get the app.')) + .click(Engine.getApp) .appendTo(menu); $('') @@ -403,6 +403,33 @@ } }, + getApp: function() { + Events.startEvent({ + title: _('Get the App'), + scenes: { + start: { + text: [_('bring the room with you.')], + buttons: { + 'ios': { + text: _('ios'), + nextScene: 'end', + onChoose: function () { + window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=adrproper&mt=8'); + } + }, + 'android': { + text: _('android'), + nextScene: 'end', + onChoose: function() { + window.open('https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom'); + } + } + } + } + } + }) + }, + share: function() { Events.startEvent({ title: _('Share'), From de79622d241321989091d262c5e21cd86f5ebf30 Mon Sep 17 00:00:00 2001 From: Pratyush Nalam Date: Sun, 21 Aug 2016 12:50:48 -0400 Subject: [PATCH 4/6] Update App Store image and added Google Play link --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 00fdfdb..68acd8e 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,5 @@ a minimalist text adventure game for your browser or play the latest on [GitHub](http://doublespeakgames.github.io/adarkroom) -[![app store](http://i.imgur.com/M6jlJQH.png)](https://itunes.apple.com/us/app/a-dark-room/id736683061) +[![app store](http://i.imgur.com/DMdnDYq.png)](https://itunes.apple.com/us/app/a-dark-room/id736683061) +[![google play](http://i.imgur.com/6Tw4HZV.png)](https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom) From 678daa1cdedc22c4cd2cf940b8b71c30e9632ea0 Mon Sep 17 00:00:00 2001 From: Pratyush Nalam Date: Sun, 21 Aug 2016 12:59:02 -0400 Subject: [PATCH 5/6] Editing image sizes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 68acd8e..ad051a1 100644 --- a/README.md +++ b/README.md @@ -40,5 +40,5 @@ a minimalist text adventure game for your browser or play the latest on [GitHub](http://doublespeakgames.github.io/adarkroom) -[![app store](http://i.imgur.com/DMdnDYq.png)](https://itunes.apple.com/us/app/a-dark-room/id736683061) -[![google play](http://i.imgur.com/6Tw4HZV.png)](https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom) + + From 2f9448174f67d3167064e6e5fb4339e0efa87e70 Mon Sep 17 00:00:00 2001 From: erdifr Date: Wed, 31 Aug 2016 19:37:34 -0400 Subject: [PATCH 6/6] Fix mixed-content warning. Use https:// instead of http:// to load jQuery and Google Analytics. Now Google Chrome will load jQuery and Google Analytics instead of blocking the scripts and throwing a mixed-content warning. --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 96d6764..c72e9c0 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +