-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame.html
45 lines (35 loc) · 1.07 KB
/
game.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>game 1</title>
<style media="screen">
canvas {
border: 1px solid black;
}
</style>
<!-- guagame相关文件 -->
<script src="guagame/gua_game.js"></script>
<script src="guagame/gua_scene.js"></script>
<script src="guagame/utils.js"></script>
<!-- 场景文件 -->
<script src="scene/main/ball.js"></script>
<script src="scene/main/block.js"></script>
<script src="scene/main/paddle.js"></script>
<script src="scene/main/scene.js"></script>
<!-- 结束和标题场景 -->
<script src="scene/end/scene_end.js"></script>
<script src="scene/title/scene_title.js"></script>
<!-- 关卡数据 -->
<script src="level.js"></script>
</head>
<body>
<canvas id="id-canvas" width="400" height="300"></canvas>
<hr>
<input type="range" id="id-input-speed" value="30">
<div class = "">
<textarea id="id-text-log" cols="50" rows="20"></textarea>
</div>
<script src="main.js"></script>
</body>
</html>