-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (102 loc) · 3.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Oxygen Levels Critical - Ludum Dare 43</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/fonts.css" />
<link rel="stylesheet" href="styles/basic.css" />
<!-- <link href="https://fonts.googleapis.com/css?family=Carter+One" rel="stylesheet"> -->
</head>
<body>
<div id="page">
<div class="game-over-message dialog">
<h1>WASTED<br />Game Over</h1>
<p>Refresh the page to play again.</p>
<button type="button" id="reload-button">Reload</button>
</div>
<div class="game-win-message dialog">
<h1>You saved the ship and survived!</h1>
<p>Congrats! You no longer have a negative oxygen rate.</p>
<p>Refresh the page to play again, or continue this game.</p>
<button type="button" id="continue-button">Continue</button>
<p>
If you enjoyed the game, please consider sharing it with your friends.
</p>
</div>
<div id="space">
<div id="ship">
<!-- fill in via js -->
</div>
</div>
<div id="notifications">
<!-- fill in via js -->
</div>
<div id="intro" class="dialog">
<h1>Oxygen Levels Critical</h1>
<button type="button" id="beginButton">Begin</button>
<p>
<h2>How to play</h2>
<ul>
<li>Click on the floor to move</li>
<li>Some doors can be locked by a switch next to it</li>
<li>Click on various terminals to use them</li>
<li>Click on people to chat; you might convince them to go to the cargo hold</li>
<li>Mouse wheel to zoom</li>
</ul>
</p>
<p>
<h2>How to win</h2>
<ul>
<li>Don't die</li>
<li>Be careful when opening cargo doors</li>
<li>Get to a sustainable level of oxygen consumption</li>
<li>Sacrifices may be required</li>
</ul>
</p>
</div>
<div id="credits" class="dialog">
<h1>Oxygen Levels Critical</h1>
<p>
Made entirely by Luke -- with one contribution from Lenora (age: 8 months), banging on the keyboard:
</p>
<pre>
vc bvc vc bvhgf v b jnmm c bvg jnh jnh h vg ju bvb n m m bh n jbhu bv b bbbbbbbbbbbbbbbbbbbbbbbbbbb nb nbm c v b nb bvfb b jk,m jnhmb n b bvf jk,mkl,jk78574200031.20.0.0.0.0.0.0.0.0.0.0. 01,2
</pre>
<p>
Created in VS Code, with testing in Chrome. Star field background made with Photoshop.
All other "graphics" are made with CSS and text.
</p>
<p>
Libraries used: <a href="https://github.com/bgrins/javascript-astar" target="_blank">A* Search➚</a>
and <a href="https://github.com/rocket-boots/rocket-boots" target="_blank">RocketBoots (Coords)➚</a>.
</p>
<p>
Dedicated to my wife who fosters my hobbies and is a better sci-fi geek than me.
</p>
<button type="button" id="continue-button2">Continue</button>
</div>
<footer>
Oxygen Levels Critical - a web game made in 48 hours for Ludum Dare 43 - <i>Sacrifices must be made</i>
|
<a href="#intro" id="open-intro">Intro</a> |
<a href="#credits" id="open-credits">Credits</a> |
<a href="https://ldjam.com/events/ludum-dare/43/oxygen-levels-critical/" target="_blank">LD Jam Entry➚</a> |
<a href="https://github.com/deathraygames/oxygen-levels-critical" target="_blank">Code➚</a> |
<a href="ld43/" target="_blank">Original Version➚</a>
</footer>
</div>
<div class="scripts">
<script src="scripts/libs/astar.js"></script>
<script src="https://deathraygames.com/js/ga.js"></script>
<script src="https://rocket-boots.github.io/rocket-boots/legacy/scripts/rocketboots/core.js"></script>
<script> RocketBoots.useGitHubScripts(); </script>
<script src="scripts/libs/rocketboots/Coords.js"></script>
<script src="scripts/AStarGraph.js"></script>
<script src="scripts/Character.js"></script>
<script src="scripts/Block.js"></script>
<script src="scripts/Starship.js"></script>
<script src="scripts/StarshipDOM.js"></script>
<script src="scripts/game.js"></script>
</div>
</body>