-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
92 lines (92 loc) · 4.65 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bubble Bobble</title>
<link href="style/index.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=true;">
</head>
<body>
<div class="page">
<div class="main">
<canvas id="game"
class="game-canvas"
width="400px"
height="400px"></canvas>
<div id="start-screen">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="logo"/>
<h5 id="start" class="button">Start game: single player</h5>
<h5 id="start-double" class="button">Start game: two player</h5>
<h5 id="instructions" class="button">Instructions</h5>
</div>
<div id="instructions-screen" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Instructions</h3>
<p class="screen-text">Welcome to Bubble Bobble, where you are Bob the friendly dinosaur. Your goal is to capture all of the Windup Toys in a bubble without running into them or letting them catch you. Once a windup toy has been caught, pop its bubble to transform it into a goody, which you can collect for points! You must pop all bubbles and collect all fruit to move on to the next level. </p>
<p class="screen-text">Keys (1 Player)</p>
<p class="screen-text">A: move left / D: move right / W (or K): jump / Spacebar (or J): blow a bubble!</p>
<p class="screen-text">Keys (2nd Player)</p>
<p class="screen-text">J: move left / L: move right / Enter: jump / ': blow a bubble!</p>
<h5 id="back" class="button">Back</h5>
</div>
<div id="end-game-win" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - You Won!</h3>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
<div id="end-game-win-bob" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - All Levels Complete</h3>
<h3 class="screen-text">Bob (in the green) Won!</h3>
<h5 class="screen-text">Sorry Bub...</h5>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
<div id="end-game-win-bub" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - All Levels Complete</h3>
<h3 class="screen-text">Bub (in the blue) Won!</h3>
<h5 class="screen-text">Sorry Bob...</h5>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
<div id="end-game-lose" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - You ran out of lives...</h3>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
<div id="end-game-lose-bub" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - Bob (in the green) ran out of lives...</h3>
<h3 class="screen-text">Bub (in the blue) wins!</h3>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
<div id="end-game-lose-bob" class="hidden">
<img src="images/bubble_bobble_logo.png" alt="bubble bobble logo" class="small-logo"/>
<h3 class="screen-text">Game Over - Bub (in the blue) ran out of lives...</h3>
<h3 class="screen-text">Bob (in the green) wins!</h3>
<h5 class="button new-single">New Single Player Game</h5>
<h5 class="button new-double">New Two Player Game</h5>
</div>
</div>
<div class="scoreboard">
<div class="scores">
<h3>High Scores: Single Player</h3>
<ul id="high-score-list"></ul>
</div>
<div class="scores">
<h3>High Scores: Double Player</h3>
<ul id="high-score-list-double"></ul>
</div>
</div>
<audio id="game-music" loop>
<source src="audio/theme.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
<script src="main.bundle.js"></script>
</body>
</html>