Marketing stuff, mostly

This commit is contained in:
Continuities
2016-12-17 14:53:21 -05:00
parent b0c202d5a3
commit 5f13d94cdf
5 changed files with 66 additions and 40 deletions
+1
View File
@@ -2,3 +2,4 @@
*.TODO
*.mo
*.swp
.idea
-17
View File
@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>A Dark Room</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
+36 -13
View File
@@ -1,17 +1,36 @@
<!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;
line-height: 1.5;
font-size: 22px;
display: flex;
flex-direction: column;
justify-content: center;
}
a {
color: #FFFFFF;
}
p {
margin: 10px 20px;
text-align: center;
}
.logo {
width: 100%;
}
.store {
width: 90%;
}
.storeLink {
text-align: center;
}
div {
width: 960px;
width: 100%;
margin: auto;
text-align: center;
margin-top: 20px;
@@ -19,17 +38,21 @@
</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>
+1 -1
View File
@@ -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': {
+20 -1
View File
@@ -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);
}