-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.html
More file actions
45 lines (36 loc) · 1.99 KB
/
shell.html
File metadata and controls
45 lines (36 loc) · 1.99 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DynaPuff:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles.css">
<script src="Utils.js"></script>
</head>
<body>
<h1>The Adventures of Capy and Friends</h1>
<!-- Create the canvas that the C++ code will draw into -->
<div class="game-container">
<canvas id="canvas" oncontextmenu="event.preventDefault()"></canvas>
<!-- <canvas style="width: 960px; height: 540px; background-color: white;"></canvas> Place holder canvas for styling-->
</div>
<!-- Allow the C++ to access the canvas element -->
<script type='text/javascript'>
var Module = {
canvas: (function() { return document.getElementById('canvas'); })()
};
</script>
<!-- Add the javascript glue code (index.js) as generated by Emscripten -->
{{{ SCRIPT }}}
<div class="instructions-container">
<p>Beware the stimky pelican has stolen you and your friends oranges. Collect oranges and survive for as long as you can to get back at that stimky boi.</p>
<h2>Controls</h2>
<p>To move the Frog use: W to jump, A to move left and D to move right. You can also use C or the left SHIFT key to swing on nearby flies.</p>
<p>To move the Capy use: ↑ to jump, ← to move left and → to move right. You can also use M to dash, which can also break trees. </p>
<p>You can join the Capy and Frog when they are touching by pressing SPACE BAR. When joined the Capy/Frog can still jump and swing using the Frogs controls and move left, right and dash using the Capy's controls.</p>
<p>Happy Birthday Izzy, I hope you love this game. I am so proud of you 💘</p>
</div>
</body>
</html>