forked from 2kinc/exp-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (146 loc) 路 5.47 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html class="effects-on">
<head>
<title>E. X. P.</title>
<meta charset="utf-8">
<meta name="description" content="The game about the struggle to survive in a strange world. Warning: contains flashing effects">
<meta name="keywords" content="exp game,2K inc,iamcev,text based adventure,text based game,text based,minimalistic,exploration game,building game, game,made by 2K inc,E. X. P., e.x.p., 2d game, infinite world">
<meta name="author" content="iamcev & craftingexpert1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
<link rel="icon" href="favicon.png" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Ubuntu+Mono" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-133299888-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-133299888-1');
</script>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-9949308515923091",
enable_page_level_ads: true
});
</script>
</head>
<body>
<div id="loading">
<img src="loading.gif" height="120px" width="120px" alt="Loading Animation" style="display: block;
margin: auto; margin-top: 15%;">
loading...
</div>
<div id="startscreen">
<div id="hugeheading" class="">E. X. P.</div>
<div id="by2kinc">By 2K inc.</div>
<div style="position: absolute; left: 0; width: 100%; text-align: center; font-size: 3em; top: calc(10em);" id="play_button" class="clickable">Enter
or Click to play</div>
</div>
<div class="left-side">
<div id="stats" class="card">
<div id="name" class="heading" title="Click to edit name" contenteditable="true" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false">
Loading...
</div>
<hr>
<div class="main">
<span id="hp">Loading...</span>
<br>
<span id="energy">Loading...</span>
<hr>
<span id="ammo-used">Loading...</span>
<br>
<span id="steps-taken">Loading...</span>
</div>
</div>
<br>
<div class="card">
<div id="loot-heading" class="heading">
Loading...
</div>
<hr>
<div id="loot">
</div>
</div>
</div>
<div class="right-side">
<div class="card">
<div id="log-heading" class="heading">
Log
</div>
<hr>
<div id="log">
Loading...
</div>
</div>
<br>
<div class="card">
<div id="inventory-heading" class="heading">Inventory</div>
<hr>
<div id="inventory">
<div id="spaceused">
<span id='occupied'></span><span id='available' class='shaded'></span>
<span id='percent'></span>
</div>
<div id="inventory-stats"></div>
<div id="inventory-slots"></div>
</div>
</div>
</div>
<div id="credits">
<span>
E. X. P. by 2K inc.<br> <br>
<b>Developers</b> <br>
Ken Zhou <br>
Kavin Velmurugan <br>
Dmitry Kornilov <br>
Euan Chase <br> <br>
<b>Designers</b> <br>
Ken Zhou <br>
Kavin Velmurugan <br> <br>
github.com/2kinc<span style="color: #555;">/exp-game</span>
</span>
</div>
<div id="box">
<div id="tds"></div>
</div>
<div id="player">
<img src="player.png" height="20px" width="20px" draggable="false">
</div>
<div id="enemy">
<img src="enemy.png" height="20px" width="20px" draggable="false">
</div>
<div id="fight-hp"></div>
<div id="enemy-hp"></div>
<div id="tooltip" class="card">
<div id="tooltip-title" class="heading"></div>
<hr>
<div id="tooltip-text"></div>
</div>
<div>
<span class="clickable" onclick="credits.roll();" style="font-size: 1.5em; position: absolute; left: 3em; top: 80vh;">Credits</span>
</div>
<div>
<span class="clickable" id="options-button" style="font-size: 1.5em; position: absolute; right: 3em; top: 80vh;">Options</span>
</div>
<div class="card modal" id="options-modal" style="display: none;">
<div class="modal-title">OPTIONS</div>
<hr>
<div class="modal-content">
Effects: <span id="effects-button" class="clickable">ON</span>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.8.3/firebase.js"></script>
<script src="underscore-min.js"></script>
<script src="xor.js"></script>
<script src="mgGlitch.js"></script>
<script src="perlin.js"></script>
<script src="pi.js"></script>
<script src="index.js"></script>
</body>
</html>