-
Notifications
You must be signed in to change notification settings - Fork 0
/
Casual Mode.html
62 lines (51 loc) · 1.96 KB
/
Casual Mode.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./Mode Images/Casual Mode.png" type="image/x-icon">
</link>
<link rel="stylesheet" href="css/Casual Mode.css">
<title>Casual Mode</title>
</head>
<body>
<h1 id="errorMessage">This Game Is Not Supported In Portrait Screen</h1>
<video id="casualModeVideo" autoplay src="./Videos/Casual Mode Intro.mp4" type="video/mp4">
Browser Not Supported
</video>
<button class="skip" onclick=stopVideo()>Skip Video</button>
<canvas id="myCanvas" class="hideAllContent">Your Browser Doesn't Support Game</canvas>
<div class="Controller" id="Controller">
<div class="RightLeft">
<button id="forLeft" onclick=buttonLeft()></button>
<button id="forRight" onclick=buttonRight()></button>
</div>
<div class="UpDown">
<button id="forUp" onclick=buttonUp()></button>
<button id="forDown" onclick=buttonDown()></button>
</div>
</div>
<div class="toolBox">
<div class="pedals">
<button id="accelerator" onclick=eventAccelerator()></button>
<button id="brake" onclick=eventBrake()></button>
</div>
</div>
<div class="menuBar">
<button id="Back" onclick="location.href = './Racing Car.html'"></button>
<button id="PauseResume" onclick=PausexResume()></button>
<button id="audioYesNo" onclick=MusicOnOff()></button>
</div>
<div class="scoreBoard">
<p id="score">Score : 0</p>
<p id="scoreSession">Sessions' Highest Score : 0</p>
<p id="scoreAllTime">Best Score : </p>
</div>
<div class="alertBox" id="alertBox">
<h1 id="result"></h1>
<h3 id="praise"></h3>
<button id="Replay" onclick=refreshPage()></button>
</div>
<script src="js/Casual Mode.js"></script>
</body>
</html>