-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
190 lines (174 loc) · 8.01 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
190
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Fighter</title>
<link rel="stylesheet" href="layout.css">
<!-- Libraries -->
<script src="library/p5.min.js"></script>
<script src="library/p5.dom.min.js"></script>
<script src="library/p5.sound.min.js"></script>
<!-- World -->
<script src="objects/World/quadtree.js"></script>
<script src="objects/World/worlds.js"></script>
<script src="objects/World/gamemap.js"></script>
<script src="objects/World/viewport.js"></script>
<script src="objects/World/tree.js"></script>
<script src="objects/World/rock.js"></script>
<script src="objects/World/barrel.js"></script>
<script src="objects/World/water.js"></script>
<script src="objects/World/ice.js"></script>
<script src="objects/World/item.js"></script>
<script src="objects/World/name.js"></script>
<script src="objects/World/music.js"></script>
<script src="objects/World/notification.js"></script>
<!-- Weapons -->
<script src="objects/Weapons/effects.js"></script>
<script src="objects/Weapons/explorePoint.js"></script>
<script src="objects/Weapons/redzone.js"></script>
<script src="objects/Weapons/portal.js"></script>
<script src="objects/Weapons/smoke.js"></script>
<script src="objects/Weapons/bullet.js"></script>
<script src="objects/Weapons/gun.js"></script>
<script src="objects/Weapons/weapons.js"></script>
<script src="objects/Weapons/infoWeapon.js"></script>
<!-- Character -->
<script src="objects/Character/Team.js"></script>
<script src="objects/Character/character.js"></script>
<script src="objects/Character/AI_Character.js"></script>
<script src="objects/Character/Player.js"></script>
<script src="objects/Character/Boss.js"></script>
<!-- Main -->
<script src="functions.js"></script>
<script src="sketch.js"></script>
<!-- <script src="min/min.js"></script> -->
</head>
<body>
<!-- Start of CuterCounter Code -->
<a href="http://www.cutercounter.com/" target="_blank"><img src="http://www.cutercounter.com/hit.php?id=guvapoox&nd=7&style=8" border="0" alt="hit counter"></a>
<!-- End of CuterCounter Code -->
<!-- Start of CuterCounter Code -->
<a href="http://www.cutercounter.com/" target="_blank"><img src="http://www.cutercounter.com/hit.php?id=gvmapook&nd=7&style=8" border="0" alt="free counter"></a>
<!-- End of CuterCounter Code -->
<!-- ============== Alert Box ============= -->
<div id="alert">
<span id="closebtn">⊗</span>
</div>
<!-- ============== Chat Box ============= -->
<div id="chatBox">
<div id="conversation">
</div>
<div id="typing">
<input id="inputMes" type="text" placeholder="press Enter to add message...">
<input id="showHideChat" type="submit" name="Hide" value="Hide">
</div>
</div>
<!-- ============= Reset button ============ -->
<div id="menuWhenDie">
<input id="newGame" type="submit" value="New Game">
<input id="backToStartMenu" type="submit" value="Menu">
<input id="watch" type="submit" value="Watch">
</div>
<!-- ============ Custom weapons =========== -->
<table class="custom_weapons" id="tbCustomWeapon">
<tr>
<th colspan="2" id="nameWeapon"></th>
</tr>
<tr>
<td><p>Ammo Capacity</p></td>
<td><input type="number" id="maxBulls"></td>
</tr>
<tr>
<td><p>Firing Delay</p></td>
<td><input type="number" id="delay"></td>
</tr>
<tr>
<td><p>Reload Time</p></td>
<td><input type="number" id="reloadTime"></td>
</tr>
<tr>
<td><p>Ammo / shot:</p></td>
<td><input type="number" id="bullsPerTimes"></td>
</tr>
<tr>
<td><p> Accuracy (0-1):</p></td>
<td><input type="number" id="hitRatio"></td>
</tr>
<tr>
<td><p>Damage: </p></td>
<td><input type="number" id="damage"></td>
</tr>
<tr>
<td><p>Ammo Size</p></td>
<td><input type="number" id="radius"></td>
</tr>
<tr>
<td><p>Bullet Speed</p></td>
<td><input type="number" id="speed"></td>
</tr>
<tr>
<td><p>Life Time:</p></td>
<td><input type="number" id="life"></td>
</tr>
<tr>
<!-- <td>
<button class="blue" onclick="oriWeaponInfo()">Default</button>
</td> -->
<td colspan="2">
<button class="green" onclick="applyCustomWeapons()">Confirm</button>
<button onclick="customWeapon('switch')">Cancel</button>
</td>
</tr>
</table>
<!-- ============ Curtain Menu =========== -->
<!-- The overlay -->
<div class="overlay">
<div class="menu">
<input type="text" id="ip-name" placeholder="Enter your nickname...">
<div id="color-picker-wrapper">
<input type="color" value="#ff0000" id="pickColor">
</div>
<!--Server options-->
<select id="worlds-select">
<option value="">Random world</option>
<option value="flat">Flat (fastest)</option>
<option value="normal">Normal</option>
<option value="beach">Beach</option>
<option value="jungle">Jungle</option>
<option value="winter">Winter</option>
<option value="mountain">Mountain</option>
<option value="barrel">Barrel</option>
</select>
<!--Play options-->
<button id="solo" class="btn-play green">Play Solo</button>
<div class="gr-btn">
<button id="duo" class="btn-play item green">Play Duo</button>
<button id="squad" class="btn-play item green">Play Squad</button>
</div>
<button id="cachchoi" class="btn-play gray">How to Play</button>
<div class="guide">
<p><b><i>Move, Collect, Get Kill, Upgrade, Survive</i></b></p>
<p>========================</p>
<p><b>MOVE </b>: ASDW / arrow key</p>
<p><b>Weapons </b>: 1-9 / mouse wheel</p>
<p><b>Shoot </b>: left mouse</p>
<p><b>Shield </b>: E (cannot shoot)</p>
<p><b>Pickup </b>: F</p>
<p><b>Reload </b>: R</p>
<p>========================</p>
<p><b>Hide/Open Chat</b>: C</p>
<p><b>Add message</b>: ENTER</p>
<p><b>Pause / Continue</b>: ESC</p>
<p>========================</p>
<p><b>Hide/Open minimap</b>: M</p>
<p><b>Change view</b>: V (camara do not track player)</p>
<p><b>Switch player want to track</b> (after you die): Click</p>
<p><b>View minimap</b>: Q (Hold mouse, move to position you want to see on the minimap)</p>
<p></p>
</div>
</div>
</div>
</body>
</html>