-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
96 lines (93 loc) · 3.81 KB
/
index.html
File metadata and controls
96 lines (93 loc) · 3.81 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GRIMDARK</title>
<link rel="icon" type="image/png" href="./assets/tmonsters.png">
<link rel="stylesheet" type="text/css" href="./css/main.css" />
<link rel="stylesheet" type="text/css" href="./css/reset.css" />
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/360fc3603e.js" crossorigin="anonymous"></script>
<script src="./dist/main.js">
</script>
</head>
<body>
<div class="container">
<div class="header"></div>
<div class="main-section">
<aside>
<div>
<h3>Game Controls</h3>
<ul class="controls">
<li>
<h4>Movement :</h4>
<div class="arrow-keys">
<div>
<span> Arrow Keys</span>
<div class="up-arrow"><i class="fas fa-caret-square-up fa-lg"></i></div>
<div><i class="fas fa-caret-square-left fa-lg"></i><i class="fas fa-caret-square-down fa-lg"></i><i class="fas fa-caret-square-right fa-lg"></i></div>
</div>
</div>
</li>
<li>
<h4>Use Weapon :</h4>
<div class="spacebar">Spacebar</div>
</li>
</ul>
<div class="divider"></div>
<div class="sound-controls">
<h3>
Sound Controls
</h3>
<div>
volume <input id="volume" type="range" min="0" max="100" value="05" onkeydown="return false;"></input>
</div>
<div>
<i id="play" class="fas fa-play-circle"></i><i class="fas fa-pause-circle" id="pause"></i>
</div>
</div>
<div class="divider"></div>
<h3>About the creator</h3>
<ul class="about">
<li><a href="https://drice89.github.io/portfolio/index.html">Website</a></li>
<li><a href="https://www.linkedin.com/in/dillon-rice-48339a47/">LinkedIn</a></li>
<li><a href="https://github.com/drice89/grimdark">Github</a></li>
</ul>
</div>
</aside>
<!-- <div class="welcome"><img src="./assets/game.png" alt="" /></div> -->
<section class="game-container">
<div id="welcome">
<img class="header logo" src="./assets/Grimdark.png">
<canvas id="pregame" width="800" height="800"></canvas>
</div>
<canvas id="game" class="hidden" width="800" height="800"></canvas>
<button id="start" class="action-button">PLAY!</button>
</section>
<aside>
<div>
<h3>Grimdark</h3>
<ul class="about">
<li>You have been sent to investigate a space ship thats been overrun by a strange alien species. Can you find the key card
and advance to the next area?</li>
<li>HINT: Some monsters will drop the keycard after they are destroyed. You will hear an aubible confirmation when the card is dropped.</li>
<li><img src="https://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif" id="keycard" /> Keycard</li>
<li>The level gate at the end of the map will open after collecting the card.</li>
<li class="gate">
<span>
<span>Closed Gate</span>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif" id="closed-gate" />
</span>
<span>
<span>Open Gate</span>
<img src="https://upload.wikimedia.org/wikipedia/commons/c/ce/Transparent.gif" id="open-gate" />
</span>
</li>
</ul>
</div>
</aside>
</div>
</div>
</body>
</html>