start from intro

This commit is contained in:
Nicky Case 2019-04-27 09:08:25 -04:00
parent f0b522bb44
commit 9c2f54c855
7 changed files with 69 additions and 6 deletions

View File

@ -22,9 +22,36 @@
<div id="loading_progress"></div>
<div id="loading_done">play!</div>
</div>
<div id="end_of_demo">
<div id="loading_progress"></div>
<div id="loading_done">play!</div>
<div id="end_demo" style="display:none">
<div id="end_demo_tbc"></div>
<div id="end_demo_words">
Augh games take so long to make!
This one will be done summer 2019, and released for <i>free</i>.
Get notified via my (once-a-month) newsletter!
<div>
</div>
You can also help me make more
free games by throwing cash at me:
<div id="patreon"></div>
Or even a share on one of those
anxiety-producing apps would help:
<div id="share">
<div id="share_fb"></div>
<div id="share_tw"></div>
<div id="share_em"></div>
</div>
Thank you so much for playing! &lt;3
<br>
<a href="https://ncase.me/" target="_blank">
my other games
</a>
&middot;
<a href="https://twitter.com/ncasenmare" target="_blank">
my twitter
</a>
<div></div>
</div>
</div>
</div>

View File

@ -29,10 +29,11 @@ subscribe("START_GAME", function(){
$("#loading").style.display = "none";
Game.start();
SceneSetup.act1();
/*SceneSetup.act1();
music('battle', {volume:0.5});
hong({body:"phone1"});
Game.goto("act1i");
//Game.goto("intro");
Game.goto("act1i");*/
Game.goto("intro");
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
sprites/end_demo/replay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
sprites/end_demo/share.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
sprites/end_demo/tbc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

@ -84,6 +84,41 @@ body{
font-size: 30px;
}
#end_demo{
position: absolute;
top:0; left:0;
background: #2E2E2E;
width: 100%;
height: 100%;
color:#fff;
text-align: center;
}
#end_demo_tbc{
background: url(../sprites/end_demo/tbc.png);
background-size: 100%;
width: 100%;
height: 100px;
}
#end_demo_words{
width: 310px;
margin: 0 auto;
font-size: 18px;
line-height: 1.3em;
}
#end_demo_words a{
color: #ff4040;
font-weight: normal;
}
#end_demo_words a:hover{
color: #ff8080;
}
#patreon{
width:200px; height:60px;
background: url(../sprites/end_demo/patreon.png);
background-size: 100%;
margin: 5px auto 15px auto;
}
.clear-both{
clear:both;
}