-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
189 lines (163 loc) · 6.57 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8">
<title>Canvas - test</title>
<link rel="stylesheet" href="assets/css/index.css">
<link rel="stylesheet" href="assets/css/jquery.fileupload.css">
<link rel="stylesheet" href="assets/css/jquery.mCustomScrollbar.css" />
<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
<style>
</style>
</head>
<body>
<div id="loader"><p>loading...</p></div>
<canvas id="canvas"></canvas>
<div id="ui">
<!--中上消息框 -->
<div id="noticeBox" class="uiBox">
<div id="inNotice">
<div id="noticeText">
</div>
</div>
</div>
<!--左上状态框 -->
<div id="statusBox" class="uiBox">
<div id="fps"></div> <!-- FPS显示 -->
<div id="hp">
<div id="hpBarText"></div>
<div id="hpBarBorder"></div>
<div id="hpBar"></div>
<div id="expBarText"></div>
<div id="expBarBorder"></div>
<div id="expBar"></div>
</div>
<div id="selfStatus">
<div id="selfStatusText"></div>
</div>
</div>
<!--左中武器框 -->
<div id="weaponBox1" class="weaponBox">
<div class="weaponDataBox">
<div class="weaponData weaponData1" id="weaponData1-1"></div>
<div class="weaponData weaponData2" id="weaponData1-2"></div>
<div class="weaponData weaponData3" id="weaponData1-3"></div>
</div>
<div class="weaponImg"><img name = "img1" src="game/weapon/icon/none.png" ></div>
<div class="weaponLoad"></div>
</div>
<div id="weaponBox2" class="weaponBox">
<div class="weaponDataBox">
<div class="weaponData weaponData1" id="weaponData2-1"></div>
<div class="weaponData weaponData2" id="weaponData2-2"></div>
<div class="weaponData weaponData3" id="weaponData2-3"></div>
</div>
<div class="weaponImg"><img name = "img2" src="game/weapon/icon/none.png" ></div>
<div class="weaponLoad"></div>
</div>
<div id="weaponBox3" class="weaponBox">
<div class="weaponDataBox">
<div class="weaponData weaponData1" id="weaponData3-1"></div>
<div class="weaponData weaponData2" id="weaponData3-2"></div>
<div class="weaponData weaponData3" id="weaponData3-3"></div>
</div>
<div class="weaponImg"><img name = "img3" src="game/weapon/icon/none.png" ></div>
<div class="weaponLoad"></div>
</div>
<div id="weaponBox4" class="weaponBox">
<div class="weaponDataBox">
<div class="weaponData weaponData1" id="weaponData4-1"></div>
<div class="weaponData weaponData2" id="weaponData4-2"></div>
<div class="weaponData weaponData3" id="weaponData4-3"></div>
</div>
<div class="weaponImg"><img name = "img4" src="game/weapon/icon/none.png" ></div>
<div class="weaponLoad"></div>
</div>
<!--左下聊天框 -->
<div id="chatBox" class="uiBox">
<div id="infoBox" class="mCustomScrollbar" data-mcs-axis="y" data-mcs-theme="minimal">
<span class="info-info">[Info]欢迎试玩游戏测试版,输入/help查看详细指令列表</span><br>
<span class="info-info">[Info]Author: Vitech 欢迎访问我的主页 </span><a href="http://vitechliu.com/">http://vitechliu.com/</a><br>
<span class="info-info">--------------------------------------------------</span><br>
</div>
<input id="chat" type="text" /> <!-- 输入Input -->
<input type="button" id="chatBtn" class="inputBtn" value="发送"/>
<input type="button" id="closeBtn" class="closeBtn" value="×"/>
</div>
<div id="instructions">
<!--
<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 id="netEase" src="http://music.163.com/outchain/player?type=2&id=785902&auto=1&height=66"></iframe>
-->
</div>
<div id="resources">
</div>
<!-- 浏览器支持 -->
<div id="unsupported-browser">
<p> 您的浏览器不支持 <a rel="external" href="http://en.wikipedia.org/wiki/WebSocket">WebSockets</a>. 推荐您使用以下浏览器 </p>
<ul>
<li><a rel="external" href="http://browsehappy.com/">Google Chrome 51+</a></li>
<li><a rel="external" href="http://browsehappy.com/">Safari 7+</a></li>
<li><a rel="external" href="http://browsehappy.com/">Firefox 47+</a></li>
<li><a rel="external" href="http://browsehappy.com/">Opera 38+</a></li>
</ul>
<p> <a href="#" id="force-init-button">仍然浏览!</a> </p>
</div>
</div>
<script src="assets/js/lib/jquery.min.js"></script>
<script src="assets/js/lib/jquery.mCustomScrollbar.concat.min.js"></script>
<!--
<script src="assets/js/lib/jquery.ui.widget.js"></script>
<script src="assets/js/lib/jquery.iframe-transport.js"></script>
<script src="assets/js/lib/jquery.fileupload.js"></script>
-->
<script src="assets/js/lib/parseUri.js"></script>
<script src="assets/js/lib/modernizr-1.5.min.js"></script>
<script src="assets/js/lib/stats.min.js"></script>
<script src="assets/js/app.js"></script>
<script src="assets/js/model.js"></script>
<script src="assets/js/std/stdEffect.js"></script>
<script src="assets/js/std/stdDanmaku.js"></script>
<script src="assets/js/std/stdWeapon.js"></script>
<script src="assets/js/std/stdShield.js"></script>
<script src="assets/js/std/stdAI.js"></script>
<script src="assets/js/std/stdItem.js"></script>
<script src="assets/js/effect.js"></script>
<script src="assets/js/danmaku.js"></script>
<script src="assets/js/weapon.js"></script>
<script src="assets/js/shield.js"></script>
<script src="assets/js/ai.js"></script>
<script src="assets/js/item.js"></script>
<script src="assets/js/loadSource.js"></script>
<!--
<script src="assets/js/settings.js"></script>
-->
<script src="assets/js/keys.js"></script>
<script>
$(function() {
$('#chat').initChat();
});
</script>
<!--
<script src="assets/js/webSocketService.js"></script>
-->
<script src="assets/js/messageHandler.js"></script>
<script src="assets/js/noticeHandler.js"></script>
<script src="assets/js/enemyGenerator.js"></script>
<script src="assets/js/camera.js"></script>
<script src="assets/js/tadpole.js"></script>
<script src="assets/js/tadpoleTail.js"></script>
<script src="assets/js/message.js"></script>
<script src="assets/js/decoStars.js"></script>
<script src="assets/js/arrow.js"></script>
<script src="assets/js/formControls.js"></script>
<script src="assets/js/cookie.js"></script>
<script src="assets/js/main.js"></script>
<script>
$(function(){
$("#loader").animate({opacity:"0"},1000,function(){
$("#loader").hide();
});
});
</script>
</body>
</html>