-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (44 loc) · 1.08 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> 爱心鱼小游戏 </title>
<style>
body {
margin: 0;
padding: 0;
}
.content {
position: relative;
margin: 0 auto;
width: 800px;
height: 600px;
}
#front, #back {
position: absolute;
top: 0;
}
</style>
</head>
<body>
<div class="content">
<canvas id="back" width="800" height="600"> </canvas>
<canvas id="front" width="800" height="600"> </canvas>
</div>
<script src="js/main.js"></script>
<script src="js/commonFunctions.js"></script>
<script src="js/background.js"></script>
<script src="js/ane.js"></script>
<script src="js/fruit.js"></script>
<script src="js/mom.js"></script>
<script src="js/baby.js"></script>
<script src="js/collision.js"></script>
<script src="js/data.js"></script>
<script src="js/wave.js"></script>
<script src="js/halo.js"></script>
<script src="js/dust.js"></script>
<script>
window.alert("游戏规则:鱼妈妈把吃到的果实喂给鱼宝宝,当鱼宝宝的身体由红色变成白色的时候,游戏结束。");
</script>
</body>
</html>