-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
148 lines (147 loc) · 5.71 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
<!DOCTYPE html>
<html>
<head>
<title>DRPG</title>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="author" content="Luke Nickerson">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link href="./styles/drpg.css" rel="stylesheet" />
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
</head>
<body scroll="no">
<main id="main">
<section id="map">
<div id="direction"></div>
<div id="mini-map"></div>
</section>
<div id="ui">
<div id="ui-dungeoneer-row">
<div>
<!-- space left for something in the future -->
</div>
<div id="ui-target-info">
<div id="ui-target-name-mood">
<div id="ui-target-name"></div>
<div id="ui-target-mood"></div>
</div>
<div id="ui-target-stats" class="bar-container">
<div class="bar-numbers"></div>
<ul class="bar-list">
<li class="bar-list-item bar-list-item-hp">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-st">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-wp">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-ba">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
</ul>
</div>
</div>
<div id="ui-direction">Direction: <span id="ui-direction-value"></span></div>
</div>
<div id="ui-interact-view">
<!-- populate with js -->
</div>
<div id="ui-full-view" class="ui-full-view--closed">
<!-- populate with js -->
</div>
<div id="ui-options-row" class="ui-options-row--closed">
<ol id="ui-options-list">
<!-- populate with js -->
</ol>
</div>
<div id="ui-static-row">
<div class="ui-movement">
<div class="ui-button-row">
<button type="button" data-command="turnLeft">Turn Left <i class="key">q</i></button>
<button type="button" data-command="forward">Forward <i class="key">w</i></button>
<button type="button" data-command="turnRight">Turn Right <i class="key">e</i></button>
</div>
<div class="ui-button-row">
<button type="button" data-command="strafeLeft">Strafe Left <i class="key">a</i></button>
<button type="button" data-command="back">Back <i class="key">s</i></button>
<button type="button" data-command="strafeRight">Strafe Right <i class="key">d</i></button>
</div>
</div>
<div>
<button type="button" data-command="view character">Character <i class="key">v</i></button>
</div>
<div>
<!-- <button type="button">Character <i class="key">v</i></button> -->
<div id="ui-player-stats" class="bar-container">
<div class="bar-numbers"></div>
<ul class="bar-list">
<li class="bar-list-item bar-list-item-hp">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-st">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-wp">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
<li class="bar-list-item bar-list-item-ba">
<div class="bar bar-spacer"></div>
<div class="bar bar-delta-down"></div>
<div class="bar bar-delta-up"></div>
<div class="bar bar-value"></div>
</li>
</ul>
</div>
</div>
<section class="ui-actions">
<div class="ui-button-row">
<button type="button" data-command="combat">Fight <i class="key">f</i></button>
<!-- <button type="button" data-command="attack">Fight <i class="key">f</i></button> -->
<button type="button" data-command="talk">Talk <i class="key">t</i></button>
<!-- <button type="button" data-command="cast">Cast <i class="key">c</i></button> -->
<button type="button" data-command="wait">Wait <i class="key">Space</i></button>
</div>
<div class="ui-button-row">
<button type="button" data-command="inventory">Inventory <i class="key">i</i></button>
<button type="button" data-command="map">Map <i class="key">m</i></button>
<button type="button" data-command="switch next-player">Switch <i class="key">\</i></button>
</div>
<!-- <div class="ui-button-row"> -->
<!-- <button type="button" data-command="view abilities">Abilities <i class="key">b</i></button> -->
<!-- <button type="button" data-command="view spells">Grimoire <i class="key">g</i></button> -->
<!-- <button type="button" data-command="menu">Back/Menu <i class="key">Esc</i></button> -->
<!-- </div> -->
</section>
</div>
</div>
<div id="title-screen">
LOADING...
</div>
</main>
<script type="module" src="./build/game_bundle.js"></script>
</body>
</html>