-
Notifications
You must be signed in to change notification settings - Fork 6
/
flappy_bird.html
43 lines (43 loc) · 1.52 KB
/
flappy_bird.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta http-equiv="x-dns-prefetch-control" content="on">
<meta name="format-detection" content="telephone=no">
<title>GPF_Happy_Birthday</title>
<script src="./js/lib/device.js"></script>
<script src="./js/common/util.js"></script>
<script src="./js/common/event.js"></script>
<script src="./js/common/base.js"></script>
<script src="./js/common/baseSprite.js"></script>
<script src="./js/common/imgLoad.js"></script>
<script src="./js/component/text.js"></script>
<script src="./js/component/timer.js"></script>
<script src="./js/component/button.js"></script>
<script src="./js/role/bird.js"></script>
<script src="./js/role/land.js"></script>
<script src="./js/role/pipe.js"></script>
<script src="./js/role/sky.js"></script>
<script src="./js/scene/baseScene.js"></script>
<script src="./js/scene/entryScene.js"></script>
<script src="./js/scene/gameScene.js"></script>
<script src="./js/scene/overScene.js"></script>
<script src="./js/flappy_bird.js"></script>
<style>
body {
height: 100%;
}
</style>
</head>
<body>
<section id="flappy-bird"></section>
<script>
window.onorientationchange=function(){
location.reload();
};
var flaB = new FlappyBird('#flappy-bird');
flaB.run();
</script>
</body>
</html>