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 *.TODO
*.mo *.mo
*.swp *.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>
+44 -21
View File
@@ -1,35 +1,58 @@
<!doctype html> <!doctype html>
<html> <html>
<head> <head>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>A Dark Room</title> <title>A Dark Room</title>
<style> <style>
body { body {
background-color: #000000; background-color: #000000;
color: #FFFFFF; color: #FFFFFF;
line-height: 1.5;
font-size: 22px;
display: flex;
flex-direction: column;
justify-content: center;
} }
a { 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> </style>
</head> </head>
<body> <body>
<center> <img class="logo" src="img/Logo1.jpg" />
<img src="img/Logo1.jpg" /> <p>
<div> A Dark Room isn't mobile-friendly, and it requires arrow keys.
<strong> <br>
A Dark Room isn't really mobile-friendly, and it requires arrow keys.<br/> Sorry about that!
Sorry about that!<br/> </p>
</strong><br/> <p>
Of course you can <a href='index.html?ignorebrowser=true'>play anyway</a>, but it probably won't work!<br/><br/> There are native apps, though! Get them now!
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>. </p>
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> <a class="storeLink" href="https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=mobilesplash&mt=8">
</div> <img class="store" src="http://i.imgur.com/DMdnDYq.png" alt="App Store">
</center> </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> </body>
</html> </html>
+1 -1
View File
@@ -68,7 +68,7 @@ Events.Outside = [
{ /* Hut fire */ { /* Hut fire */
title: _('Fire'), title: _('Fire'),
isAvailable: function() { 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: { scenes: {
'start': { 'start': {
+20 -1
View File
@@ -445,12 +445,31 @@ var Space = {
.animate({opacity:1},1500); .animate({opacity:1},1500);
$('<br />') $('<br />')
.appendTo('.centerCont'); .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>') $('<span>')
.addClass('endGame endGameOption') .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'); }) .click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=gameover&mt=8'); })
.appendTo('.centerCont') .appendTo('.centerCont')
.animate({opacity:1},1500); .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.options = {};
Engine.deleteSave(true); Engine.deleteSave(true);
} }