mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -40,4 +40,5 @@ a minimalist text adventure game for your browser
|
||||
|
||||
or play the latest on [GitHub](http://doublespeakgames.github.io/adarkroom)
|
||||
|
||||
[](https://itunes.apple.com/us/app/a-dark-room/id736683061)
|
||||
<a href="https://itunes.apple.com/us/app/a-dark-room/id736683061"><img src="http://i.imgur.com/DMdnDYq.png" height="50"></a>
|
||||
<a href="https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom"><img src="http://i.imgur.com/bLWWj4r.png" height="50"></a>
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html itemscope itemtype="http://schema.org/CreativeWork">
|
||||
<html itemscope itemtype="https://schema.org/CreativeWork">
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<!--
|
||||
@@ -16,7 +16,7 @@
|
||||
<meta itemprop="name" property="og:title" content="A Dark Room" />
|
||||
<link rel="shortcut icon" href="favicon.ico" />
|
||||
<link rel="image_src" href="img/adr.png" />
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
|
||||
<script src="https://www.dropbox.com/static/api/dropbox-datastores-1.1-latest.js" type="text/javascript"></script>
|
||||
<script>
|
||||
if(!window.jQuery) {
|
||||
@@ -90,7 +90,7 @@
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
|
||||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-41314886-1', 'doublespeakgames.com');
|
||||
ga('send', 'pageview');
|
||||
|
||||
+29
-2
@@ -135,8 +135,8 @@
|
||||
|
||||
$('<span>')
|
||||
.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);
|
||||
|
||||
$('<span>')
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user