-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (37 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PaperBoy</title>
<link rel="shortcut icon" href="">
<!-- To remove this console.log error: "Failed to load resource: the server responded with a status of 404 (Not Found)"-->
<link rel="stylesheet" href="./styles/main.css">
</head>
<body>
<div id="game-canvas">
<!--div for game intro---------->
<div id="game-intro"></div>
<audio id="game-audio" loop>
<source src="soundtrack.wav" type="audio/wav">
</audio>
<a href="./game-start.html" id="start-button">Try Paperboy?</a>
<br>
<p>Use the arrows to control Paperboy, spacebar to throw.</p>
<br>
<p>You must hit the postbox with the newspaper.</p>
<div id="image-container">
<img class="arrows" src="./img/arrows1.png" alt="arrows">
<img class="newspaper-intro" src="./img/newspaper1.png" alt="mailbox">
<img class="mailbox-intro" src="./img/mailbox.png" alt="mailbox">
<img class="space" src="./img/space1.png" alt="space">
</div>
</div>
<script src="./js/player.js"></script>
<script src="./js/newspaper.js"></script>
<script src="./js/mailbox.js"></script>
<script src="./js/obstacle.js"></script>
<script src="./js/obstacle2.js"></script>
<script src="./js/main.js"></script>
</body>
</html>