-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
36 lines (35 loc) · 1.42 KB
/
main.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>向三迷の小鸟</title>
<style>
canvas {
border: 1px black solid;
}
</style>
<!-- core -->
<script type="text/javascript" src="core/utils.js"></script>
<script type="text/javascript" src="core/view.js"></script>
<script type="text/javascript" src="core/scene-context.js"></script>
<script type="text/javascript" src="core/engine.js"></script>
<!-- base components -->
<script type="text/javascript" src="components/bird.js"></script>
<script type="text/javascript" src="components/control.js"></script>
<script type="text/javascript" src="components/banner.js"></script>
<script type="text/javascript" src="components/pipes.js"></script>
<script type="text/javascript" src="components/score-board.js"></script>
<script type="text/javascript" src="components/tutorial.js"></script>
<script type="text/javascript" src="components/land.js"></script>
<script type="text/javascript" src="components/sky.js"></script>
<!-- combination components -->
<script type="text/javascript" src="components/background.js"></script>
<!-- scenes -->
<script type="text/javascript" src="scenes/game.js"></script>
<script type="text/javascript" src="scenes/title.js"></script>
</head>
<body>
<canvas id="id-canvas" width="500" height="400"></canvas>
</body>
<script type="text/javascript" src="main.js"></script>
</html>