Skip to content

Commit

Permalink
Marketing stuff, mostly
Browse files Browse the repository at this point in the history
  • Loading branch information
Continuities committed Dec 17, 2016
1 parent b0c202d commit 5f13d94
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 40 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
*.TODO
*.mo
*.swp
.idea
17 changes: 0 additions & 17 deletions .project

This file was deleted.

65 changes: 44 additions & 21 deletions mobileWarning.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,58 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>A Dark Room</title>
<style>
body {
background-color: #000000;
color: #FFFFFF;
background-color: #000000;
color: #FFFFFF;
line-height: 1.5;
font-size: 22px;
display: flex;
flex-direction: column;
justify-content: center;
}
a {
color: #FFFFFF;
color: #FFFFFF;
}
p {
margin: 10px 20px;
text-align: center;
}
.logo {
width: 100%;
}
.store {
width: 90%;
}
.storeLink {
text-align: center;
}
div {
width: 100%;
margin: auto;
text-align: center;
margin-top: 20px;
}
div {
width: 960px;
margin: auto;
text-align: center;
margin-top: 20px;
}
</style>
</head>
<body>
<center>
<img src="img/Logo1.jpg" />
<div>
<strong>
A Dark Room isn't really mobile-friendly, and it requires arrow keys.<br/>
Sorry about that!<br/>
</strong><br/>
Of course you can <a href='index.html?ignorebrowser=true'>play anyway</a>, but it probably won't work!<br/><br/>
A Dark Room is now native on iOS! Get it on the <a href="https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=mobilesplash&mt=8">App Store</a>.
You can also download it on Android! Get it from the <a href = "https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom&hl=en">Play Store</a>
</div>
</center>
<img class="logo" src="img/Logo1.jpg" />
<p>
A Dark Room isn't mobile-friendly, and it requires arrow keys.
<br>
Sorry about that!
</p>
<p>
There are native apps, though! Get them now!
</p>
<a class="storeLink" href="https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=mobilesplash&mt=8">
<img class="store" src="http://i.imgur.com/DMdnDYq.png" alt="App Store">
</a>
<a class="storeLink" href = "https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom&hl=en">
<img class="store" src="http://i.imgur.com/bLWWj4r.png" alt="Google Play">
</a>

</body>
</html>
2 changes: 1 addition & 1 deletion script/events/outside.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Events.Outside = [
{ /* Hut fire */
title: _('Fire'),
isAvailable: function() {
return Engine.activeModule == Outside && $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 5;
return Engine.activeModule == Outside && $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 50;
},
scenes: {
'start': {
Expand Down
21 changes: 20 additions & 1 deletion script/space.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,12 +445,31 @@ var Space = {
.animate({opacity:1},1500);
$('<br />')
.appendTo('.centerCont');
$('<br />')
.appendTo('.centerCont');
$('<span>')
.addClass('endGame')
.text(_('expanded story. alternate ending. behind the scenes commentary. get the app.'))
.appendTo('.centerCont')
.animate({opacity:1}, 1500);
$('<br />')
.appendTo('.centerCont');
$('<br />')
.appendTo('.centerCont');
$('<span>')
.addClass('endGame endGameOption')
.text(_('app store.'))
.text(_('iOS.'))
.click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=gameover&mt=8'); })
.appendTo('.centerCont')
.animate({opacity:1},1500);
$('<br />')
.appendTo('.centerCont');
$('<span>')
.addClass('endGame endGameOption')
.text(_('android.'))
.click(function() { window.open('https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom'); })
.appendTo('.centerCont')
.animate({opacity:1},1500);
Engine.options = {};
Engine.deleteSave(true);
}
Expand Down

0 comments on commit 5f13d94

Please sign in to comment.