-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (126 loc) · 5.42 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>platformer game 11.0</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="gameWrapper">
<!--LOADING SCREEN-->
<section id="loadingScreen">
<button id = "loading_startBtn">LOADING...</button>
</section>
<!--MENU SCREEN-->
<section id="menuScreen">
<div id="button">
<button id="menu_playBtn">PLAY</button>
<button id="menu_optionsBtn">OPTION</button>
<button id="menu_leaderboardBtn">LEADERBOARD</button>
<button id="menu_tutorialBtn">TUTORIAL</button>
<button id="menu_exitBtn">EXIT</button>
</div>
</section>
<!--LEVEL-SELECT SCREEN-->
<section id="levelSelectScreen">
<div id="imageDiv">
<canvas id = "levelScreenshot_canvas">
<img id="forest" src="images/maps/forest-complete.png" alt="levelScreenshot"/>
</canvas>
<p id="imageDescription">forest</p>
<div id="navigationButtons">
<button class = "go-to" id="levelSelect_previous"> < </button>
<button class = "go-to" id ="levelSelect_next"> > </button>
</div>
<div id="navigationCircles">
<button class = "go-to" id="levelSelect_forest"> O </button>
<button class = "go-to" id ="levelSelect_ruins"> O </button>
<button class = "go-to" id ="levelSelect_crypt"> O </button>
<button class = "go-to" id ="levelSelect_cemetry"> O </button>
</div>
</div>
<div id="changeStateButtons">
<button class = "go-to" id="levelSelect_enter">ENTER</button>
<button class = "go-to" id="levelSelect_back">BACK</button>
</div>
</section>
<!--PLAY SCREEN-->
<section id="playScreen">
<div id="canvasWrapper" width="1024" height="576">
<canvas id="canvas" width="1024" height="576"></canvas>
</div>
<div id = "buttonsLayer">
<div id='leftControlButtons'>
<button id='left' class='playButtons'>l</button>
<button id='right' class='playButtons'>r</button>
<button id='down' class='playButtons'>d</button>
</div>
<div id='rightControlButtons'>
<button id='special' class='playButtons' disabled>y</button>
<button id='rangedShot' class='playButtons'>a</button>
<button id='up' class='playButtons'>u</button>
<button id='slash' class='playButtons'>s</button>
</div>
<div id="go-to">
<button id="play_fullscreenBtn">fullscreen</button>
<button id="play_pauseBtn">pause</button>
</div>
</div>
</section>
<!--CURTAIN-->
<section id="playSceneCurtain">
<div id= "message">
<!-- <p>Curtains Rolling...</p> -->
</div>
</section>
<!--PAUSE SCREEN-->
<section id="pauseScreen">
<button id="pause_resumeBtn">RESUME</button>
<button id="pause_restartBtn">RESTART</button>
<button id="pause_menuBtn">MENU</button>
</section>
<!-- RESTART CONFIRMATION DIALOGUE BOX -->
<section id="restartConfirmScreen">
<p>Are you sure you want to restart?</p>
<button id="restart_yesBtn">YES</button>
<button id="restart_noBtn">NO</button>
</section>
<!--END-OF-LEVEL SCREEN-->
<section id="levelCompleteScreen">
<div id="message">
<h1>Level Complete!</h1>
<div id="summary">
<p id="score">Score:</p>
<p id="time_bonus">Time bonus:</p>
</div>
</div>
<div id="buttons">
<button id="levelComplete_replayBtn">REPLAY</button>
<button id="levelComplete_nextBtn">NEXT</button>
<button id="levelComplete_menuBtn">MENU</button>
</div>
</section>
<!--GAME OVER SCREEN-->
<section id="gameOverScreen">
<button id="gameOver_replayBtn">REPLAY</button>
<button id="gameOver_menuBtn">MENU</button>
</section>
<!--OPTIONS SCREEN-->
<section id="optionsScreen">
<div id="sfx_div">
<p id="sfx_p">SFX: </p>
<input type="range" name="sfx" id="options_sfx" min = 0 max = 10>
</div>
<div id="vol_div">
<p id="vol_p"> VOLUME: </p>
<input type="range" name="music" id="options_music" min = 0 max = 10>
</div>
<div id="go-to">
<button id= "options_backBtn">BACK</button>
</div>
</section>
</div>
<script type = "module" src="script.js"></script>
</body>
</html>