-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (41 loc) · 1.3 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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
html, body {
padding: 0;
margin: 0;
}
#my-canvas {
border: 1px solid #000;
margin: 10px auto;
display: block;
}
</style>
<!--game 相关文件-->
<script src="js/game/utils.js"></script>
<script src="js/game/game.js"></script>
<script src="js/game/Scene.js"></script>
<!--场景文件-->
<script src="js/scene/main/paddle.js"></script>
<script src="js/scene/main/block.js"></script>
<script src="js/scene/main/ball.js"></script>
<script src="js/scene/main/main_scene.js"></script>
<!--结束和标题场景-->
<script src="js/scene/end/scene_end.js"></script>
<script src="js/scene/title/scene_title.js"></script>
<!--关卡数据-->
<script src="js/level.js"></script>
</head>
<body>
<canvas id="my-canvas" width="400" height="300"></canvas>
<label for="input-fps">fps</label>
<input type="range" id="input-fps" value="1" min="1">
</body>
<script src="js/main.js"></script>
</html>