forked from DWJWendy/DWJWendy.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (104 loc) · 1.73 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>圈小猫</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
BODY {
MARGIN: 0px;
BACKGROUND-COLOR: #000000
}
BODY {
COLOR: #ffffff;
FONT-FAMILY: Comic Sans MS;
background-image: url(images/bg.jpg);
background-repeat: repeat;
background-color: #D9D9D9;
}
TD {
COLOR: #ffffff;
FONT-FAMILY: Comic Sans MS
}
TH {
COLOR: #ffffff;
FONT-FAMILY: Comic Sans MS
}
.style6 {
FONT-WEIGHT: bold;
FONT-SIZE: 12px
}
.style7 {
FONT-SIZE: 18px
}
.style8 {
FONT-SIZE: 12px
}
.style9 {
FONT-SIZE: 24px;
FONT-FAMILY: "楷体_GB2312"
}
.style10 {
COLOR: #ff0000
}
body,
td,
th {
color: #666;
}
a {
font-family: Arial, Helvetica, sans-serif;
font-size: 18px;
color: #666;
}
a:link {
text-decoration: none;
color: #06F;
}
a:visited {
text-decoration: none;
color: #09F;
}
a:hover {
text-decoration: none;
color: #09F;
}
a:active {
text-decoration: none;
color: #09F;
}
</style>
</head>
<body>
<div align="center">
<p align="left"></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<div id="catch-the-cat"></div>
</div>
<div class="style6" align="center" style="width: 100%;height: 64%;">
<p id="time" class="style7">0</p>
<div id="loadad"></div>
</div>
<script src="js/phaser.min.js"></script>
<script src="js/catch-the-cat.js"></script>
<script>
var myVar = setInterval(myTimer, 1000);
var time = 0;
function myTimer() {
time += 1;
document.getElementById("time").innerHTML = time;
}
window.game = new CatchTheCatGame({
w: 11,
h: 11,
r: 20,
backgroundColor: 16777215,
parent: "catch-the-cat",
statusBarAlign: "center",
credit: "圈小猫"
})
</script>
</body>
</html>