├── .gitignore
├── README.md
├── assets
├── joystick.meta
├── joystick
│ ├── JoystickScene.fire
│ ├── JoystickScene.fire.meta
│ ├── prefabs.meta
│ ├── prefabs
│ │ ├── Joystick.prefab
│ │ └── Joystick.prefab.meta
│ ├── scripts.meta
│ ├── scripts
│ │ ├── JoystickCtrl.js
│ │ └── JoystickCtrl.js.meta
│ ├── textures.meta
│ └── textures
│ │ ├── JoystickBG.png
│ │ ├── JoystickBG.png.meta
│ │ ├── JoystickBar.png
│ │ └── JoystickBar.png.meta
├── resources.meta
├── resources
│ ├── ScenceStart.png
│ ├── ScenceStart.png.meta
│ ├── anim.meta
│ ├── anim
│ │ ├── blast.anim
│ │ └── blast.anim.meta
│ ├── blast.plist
│ ├── blast.plist.meta
│ ├── blast.png
│ ├── blast.png.meta
│ ├── maps.meta
│ ├── maps
│ │ ├── Round1.tmx
│ │ ├── Round1.tmx.meta
│ │ ├── Round10.tmx
│ │ ├── Round10.tmx.meta
│ │ ├── Round11.tmx
│ │ ├── Round11.tmx.meta
│ │ ├── Round12.tmx
│ │ ├── Round12.tmx.meta
│ │ ├── Round13.tmx
│ │ ├── Round13.tmx.meta
│ │ ├── Round14.tmx
│ │ ├── Round14.tmx.meta
│ │ ├── Round15.tmx
│ │ ├── Round15.tmx.meta
│ │ ├── Round16.tmx
│ │ ├── Round16.tmx.meta
│ │ ├── Round17.tmx
│ │ ├── Round17.tmx.meta
│ │ ├── Round18.tmx
│ │ ├── Round18.tmx.meta
│ │ ├── Round19.tmx
│ │ ├── Round19.tmx.meta
│ │ ├── Round2.tmx
│ │ ├── Round2.tmx.meta
│ │ ├── Round20.tmx
│ │ ├── Round20.tmx.meta
│ │ ├── Round20_ff.tmx
│ │ ├── Round20_ff.tmx.meta
│ │ ├── Round20_round.tmx
│ │ ├── Round20_round.tmx.meta
│ │ ├── Round20_true.tmx
│ │ ├── Round20_true.tmx.meta
│ │ ├── Round3.tmx
│ │ ├── Round3.tmx.meta
│ │ ├── Round4.tmx
│ │ ├── Round4.tmx.meta
│ │ ├── Round5.tmx
│ │ ├── Round5.tmx.meta
│ │ ├── Round6.tmx
│ │ ├── Round6.tmx.meta
│ │ ├── Round7.tmx
│ │ ├── Round7.tmx.meta
│ │ ├── Round8.tmx
│ │ ├── Round8.tmx.meta
│ │ ├── Round9.tmx
│ │ ├── Round9.tmx.meta
│ │ ├── Roundex_frontfire.tmx
│ │ ├── Roundex_frontfire.tmx.meta
│ │ ├── landform.meta
│ │ └── landform
│ │ │ ├── blank.png
│ │ │ ├── blank.png.meta
│ │ │ ├── destory.gif
│ │ │ ├── destory.gif.meta
│ │ │ ├── grass.png
│ │ │ ├── grass.png.meta
│ │ │ ├── landform.png
│ │ │ ├── landform.png.meta
│ │ │ ├── landform2.png
│ │ │ ├── landform2.png.meta
│ │ │ ├── steels.png
│ │ │ ├── steels.png.meta
│ │ │ ├── symbol.png
│ │ │ ├── symbol.png.meta
│ │ │ ├── walls.png
│ │ │ ├── walls.png.meta
│ │ │ ├── water.png
│ │ │ └── water.png.meta
│ ├── paddle.meta
│ ├── paddle
│ │ ├── btn_fast_forward.png
│ │ ├── btn_fast_forward.png.meta
│ │ ├── btn_play.png
│ │ ├── btn_play.png.meta
│ │ ├── btn_rewind.png
│ │ ├── btn_rewind.png.meta
│ │ ├── buttom.png
│ │ ├── buttom.png.meta
│ │ ├── buttom_press.png
│ │ ├── buttom_press.png.meta
│ │ ├── button_A.png
│ │ ├── button_A.png.meta
│ │ ├── button_B.png
│ │ ├── button_B.png.meta
│ │ ├── button_start.png
│ │ ├── button_start.png.meta
│ │ ├── buttons_AB.png
│ │ ├── buttons_AB.png.meta
│ │ ├── fire.png
│ │ ├── fire.png.meta
│ │ ├── fire_press.png
│ │ ├── fire_press.png.meta
│ │ ├── left.png
│ │ ├── left.png.meta
│ │ ├── left_press.png
│ │ ├── left_press.png.meta
│ │ ├── right.png
│ │ ├── right.png.meta
│ │ ├── right_press.png
│ │ ├── right_press.png.meta
│ │ ├── top.png
│ │ ├── top.png.meta
│ │ ├── top_press.png
│ │ └── top_press.png.meta
│ ├── playgameClose.png
│ ├── playgameClose.png.meta
│ ├── playgameNormal.png
│ ├── playgameNormal.png.meta
│ ├── prefabs.meta
│ ├── prefabs
│ │ ├── Blast.prefab
│ │ ├── Blast.prefab.meta
│ │ ├── TankPref.prefab
│ │ ├── TankPref.prefab.meta
│ │ ├── bullet.prefab
│ │ └── bullet.prefab.meta
│ ├── sounds.meta
│ ├── sounds
│ │ ├── bonus.wav
│ │ ├── bonus.wav.meta
│ │ ├── brickhit.wav
│ │ ├── brickhit.wav.meta
│ │ ├── eexplosion.wav
│ │ ├── eexplosion.wav.meta
│ │ ├── fexplosion.wav
│ │ ├── fexplosion.wav.meta
│ │ ├── gameover.wav
│ │ ├── gameover.wav.meta
│ │ ├── ice.wav
│ │ ├── ice.wav.meta
│ │ ├── levelstarting.wav
│ │ ├── levelstarting.wav.meta
│ │ ├── life.wav
│ │ ├── life.wav.meta
│ │ ├── moving.wav
│ │ ├── moving.wav.meta
│ │ ├── nmoving.wav
│ │ ├── nmoving.wav.meta
│ │ ├── pause.wav
│ │ ├── pause.wav.meta
│ │ ├── shieldhit.wav
│ │ ├── shieldhit.wav.meta
│ │ ├── shoot.wav
│ │ ├── shoot.wav.meta
│ │ ├── steelhit.wav
│ │ ├── steelhit.wav.meta
│ │ ├── tbonushit.wav
│ │ └── tbonushit.wav.meta
│ ├── tank.plist
│ ├── tank.plist.meta
│ ├── tank.png
│ └── tank.png.meta
├── scenes.meta
├── scenes
│ ├── ChoiceScene.fire
│ ├── ChoiceScene.fire.meta
│ ├── CityScene.fire
│ ├── CityScene.fire.meta
│ ├── StartScene.fire
│ └── StartScene.fire.meta
├── scripts.meta
└── scripts
│ ├── AssetsLoadScript.js
│ ├── AssetsLoadScript.js.meta
│ ├── BlastScript.js
│ ├── BlastScript.js.meta
│ ├── BulletScript.js
│ ├── BulletScript.js.meta
│ ├── ChoiceScript.js
│ ├── ChoiceScript.js.meta
│ ├── CityScript.js
│ ├── CityScript.js.meta
│ ├── NoTouchScript.js
│ ├── NoTouchScript.js.meta
│ ├── README.txt
│ ├── README.txt.meta
│ ├── StartScript.js
│ ├── StartScript.js.meta
│ ├── TankData.js
│ ├── TankData.js.meta
│ ├── TankScript.js
│ ├── TankScript.js.meta
│ ├── TiledMapData.js
│ ├── TiledMapData.js.meta
│ ├── utils.meta
│ └── utils
│ ├── GlobalUtil.js
│ ├── GlobalUtil.js.meta
│ ├── socket-io.js
│ └── socket-io.js.meta
├── creator.d.ts
├── jsconfig.json
├── project.json
└── settings
├── builder.json
└── project.json
/.gitignore:
--------------------------------------------------------------------------------
1 | #/////////////////////////////////////////////////////////////////////////////
2 | # Fireball Projects
3 | #/////////////////////////////////////////////////////////////////////////////
4 |
5 | library/
6 | temp/
7 | local/
8 | build/
9 |
10 | #/////////////////////////////////////////////////////////////////////////////
11 | # Logs and databases
12 | #/////////////////////////////////////////////////////////////////////////////
13 |
14 | *.log
15 | *.sql
16 | *.sqlite
17 |
18 | #/////////////////////////////////////////////////////////////////////////////
19 | # files for debugger
20 | #/////////////////////////////////////////////////////////////////////////////
21 |
22 | *.sln
23 | *.csproj
24 | *.pidb
25 | *.unityproj
26 | *.suo
27 |
28 | #/////////////////////////////////////////////////////////////////////////////
29 | # OS generated files
30 | #/////////////////////////////////////////////////////////////////////////////
31 |
32 | .DS_Store
33 | ehthumbs.db
34 | Thumbs.db
35 |
36 | #/////////////////////////////////////////////////////////////////////////////
37 | # exvim files
38 | #/////////////////////////////////////////////////////////////////////////////
39 |
40 | *UnityVS.meta
41 | *.err
42 | *.err.meta
43 | *.exvim
44 | *.exvim.meta
45 | *.vimentry
46 | *.vimentry.meta
47 | *.vimproject
48 | *.vimproject.meta
49 | .vimfiles.*/
50 | .exvim.*/
51 | quick_gen_project_*_autogen.bat
52 | quick_gen_project_*_autogen.bat.meta
53 | quick_gen_project_*_autogen.sh
54 | quick_gen_project_*_autogen.sh.meta
55 | .exvim.app
56 |
57 | #/////////////////////////////////////////////////////////////////////////////
58 | # webstorm files
59 | #/////////////////////////////////////////////////////////////////////////////
60 |
61 | .idea/
62 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # tankwarNet
2 |
--------------------------------------------------------------------------------
/assets/joystick.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "5773f813-43d2-4a87-bd67-593034f79a30",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/joystick/JoystickScene.fire:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.SceneAsset",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "scene": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Scene",
13 | "_objFlags": 0,
14 | "_opacity": 255,
15 | "_color": {
16 | "__type__": "cc.Color",
17 | "r": 255,
18 | "g": 255,
19 | "b": 255,
20 | "a": 255
21 | },
22 | "_cascadeOpacityEnabled": true,
23 | "_parent": null,
24 | "_anchorPoint": {
25 | "__type__": "cc.Vec2",
26 | "x": 0,
27 | "y": 0
28 | },
29 | "_contentSize": {
30 | "__type__": "cc.Size",
31 | "width": 0,
32 | "height": 0
33 | },
34 | "_children": [
35 | {
36 | "__id__": 2
37 | }
38 | ],
39 | "_localZOrder": 0,
40 | "_globalZOrder": 0,
41 | "_tag": -1,
42 | "_opacityModifyRGB": false,
43 | "_id": "66856a8e-aaff-48b0-9c4d-359516ca8625",
44 | "autoReleaseAssets": false
45 | },
46 | {
47 | "__type__": "cc.Node",
48 | "_name": "Canvas",
49 | "_objFlags": 0,
50 | "_opacity": 255,
51 | "_color": {
52 | "__type__": "cc.Color",
53 | "r": 255,
54 | "g": 255,
55 | "b": 255,
56 | "a": 255
57 | },
58 | "_cascadeOpacityEnabled": true,
59 | "_parent": {
60 | "__id__": 1
61 | },
62 | "_anchorPoint": {
63 | "__type__": "cc.Vec2",
64 | "x": 0.5,
65 | "y": 0.5
66 | },
67 | "_contentSize": {
68 | "__type__": "cc.Size",
69 | "width": 600,
70 | "height": 416
71 | },
72 | "_children": [
73 | {
74 | "__id__": 3
75 | },
76 | {
77 | "__id__": 5
78 | }
79 | ],
80 | "_rotationX": 0,
81 | "_rotationY": 0,
82 | "_scaleX": 1,
83 | "_scaleY": 1,
84 | "_position": {
85 | "__type__": "cc.Vec2",
86 | "x": 300,
87 | "y": 208
88 | },
89 | "_skewX": 0,
90 | "_skewY": 0,
91 | "_localZOrder": 0,
92 | "_globalZOrder": 0,
93 | "_tag": -1,
94 | "_opacityModifyRGB": false,
95 | "_id": "e398310WaVLrrA+HO6I2cQ9",
96 | "_active": true,
97 | "_components": [
98 | {
99 | "__id__": 14
100 | }
101 | ],
102 | "_prefab": null,
103 | "groupIndex": 0
104 | },
105 | {
106 | "__type__": "cc.Node",
107 | "_name": "New Sprite(Splash)",
108 | "_objFlags": 0,
109 | "_opacity": 255,
110 | "_color": {
111 | "__type__": "cc.Color",
112 | "r": 68,
113 | "g": 71,
114 | "b": 146,
115 | "a": 255
116 | },
117 | "_cascadeOpacityEnabled": true,
118 | "_parent": {
119 | "__id__": 2
120 | },
121 | "_anchorPoint": {
122 | "__type__": "cc.Vec2",
123 | "x": 0.5,
124 | "y": 0.5
125 | },
126 | "_contentSize": {
127 | "__type__": "cc.Size",
128 | "width": 960,
129 | "height": 640
130 | },
131 | "_children": [],
132 | "_rotationX": 0,
133 | "_rotationY": 0,
134 | "_scaleX": 1,
135 | "_scaleY": 1,
136 | "_position": {
137 | "__type__": "cc.Vec2",
138 | "x": 0,
139 | "y": 0
140 | },
141 | "_skewX": 0,
142 | "_skewY": 0,
143 | "_localZOrder": 0,
144 | "_globalZOrder": 0,
145 | "_tag": -1,
146 | "_opacityModifyRGB": false,
147 | "_id": "25c11dMgq1PU7uax2sxBofr",
148 | "_active": true,
149 | "_components": [
150 | {
151 | "__id__": 4
152 | }
153 | ],
154 | "_prefab": null,
155 | "groupIndex": 0
156 | },
157 | {
158 | "__type__": "cc.Sprite",
159 | "_name": "",
160 | "_objFlags": 0,
161 | "node": {
162 | "__id__": 3
163 | },
164 | "_enabled": true,
165 | "_spriteFrame": {
166 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
167 | },
168 | "_type": 0,
169 | "_sizeMode": 0,
170 | "_fillType": 0,
171 | "_fillCenter": {
172 | "__type__": "cc.Vec2",
173 | "x": 0,
174 | "y": 0
175 | },
176 | "_fillStart": 0,
177 | "_fillRange": 0,
178 | "_isTrimmedMode": true,
179 | "_srcBlendFactor": 770,
180 | "_dstBlendFactor": 771,
181 | "_atlas": null
182 | },
183 | {
184 | "__type__": "cc.Node",
185 | "_name": "Joystick",
186 | "_objFlags": 0,
187 | "_opacity": 255,
188 | "_color": {
189 | "__type__": "cc.Color",
190 | "r": 255,
191 | "g": 255,
192 | "b": 255,
193 | "a": 255
194 | },
195 | "_cascadeOpacityEnabled": true,
196 | "_parent": {
197 | "__id__": 2
198 | },
199 | "_anchorPoint": {
200 | "__type__": "cc.Vec2",
201 | "x": 0.5,
202 | "y": 0.5
203 | },
204 | "_contentSize": {
205 | "__type__": "cc.Size",
206 | "width": 0,
207 | "height": 0
208 | },
209 | "_children": [
210 | {
211 | "__id__": 6
212 | },
213 | {
214 | "__id__": 9
215 | }
216 | ],
217 | "_rotationX": 0,
218 | "_rotationY": 0,
219 | "_scaleX": 1,
220 | "_scaleY": 1,
221 | "_position": {
222 | "__type__": "cc.Vec2",
223 | "x": -100,
224 | "y": -100
225 | },
226 | "_skewX": 0,
227 | "_skewY": 0,
228 | "_localZOrder": 0,
229 | "_globalZOrder": 0,
230 | "_tag": -1,
231 | "_opacityModifyRGB": false,
232 | "_id": "ea31ewJpjhNNah04u8/6gf7",
233 | "_active": true,
234 | "_components": [
235 | {
236 | "__id__": 12
237 | }
238 | ],
239 | "_prefab": {
240 | "__id__": 13
241 | },
242 | "groupIndex": 0
243 | },
244 | {
245 | "__type__": "cc.Node",
246 | "_name": "JoystickBG",
247 | "_objFlags": 0,
248 | "_opacity": 35.7,
249 | "_color": {
250 | "__type__": "cc.Color",
251 | "r": 255,
252 | "g": 255,
253 | "b": 255,
254 | "a": 255
255 | },
256 | "_cascadeOpacityEnabled": true,
257 | "_parent": {
258 | "__id__": 5
259 | },
260 | "_anchorPoint": {
261 | "__type__": "cc.Vec2",
262 | "x": 0.5,
263 | "y": 0.5
264 | },
265 | "_contentSize": {
266 | "__type__": "cc.Size",
267 | "width": 103,
268 | "height": 103
269 | },
270 | "_children": [],
271 | "_rotationX": 0,
272 | "_rotationY": 0,
273 | "_scaleX": 1.5,
274 | "_scaleY": 1.5,
275 | "_position": {
276 | "__type__": "cc.Vec2",
277 | "x": 0,
278 | "y": 0
279 | },
280 | "_skewX": 0,
281 | "_skewY": 0,
282 | "_localZOrder": 0,
283 | "_globalZOrder": 0,
284 | "_tag": -1,
285 | "_opacityModifyRGB": false,
286 | "_id": "d68e8JAPIRIjrwlq+0RQdPc",
287 | "_active": true,
288 | "_components": [
289 | {
290 | "__id__": 7
291 | }
292 | ],
293 | "_prefab": {
294 | "__id__": 8
295 | },
296 | "groupIndex": 0
297 | },
298 | {
299 | "__type__": "cc.Sprite",
300 | "_name": "",
301 | "_objFlags": 0,
302 | "node": {
303 | "__id__": 6
304 | },
305 | "_enabled": true,
306 | "_spriteFrame": {
307 | "__uuid__": "87ec8436-56e5-4a82-91dd-167ba98b5100"
308 | },
309 | "_type": 0,
310 | "_sizeMode": 1,
311 | "_fillType": 0,
312 | "_fillCenter": {
313 | "__type__": "cc.Vec2",
314 | "x": 0,
315 | "y": 0
316 | },
317 | "_fillStart": 0,
318 | "_fillRange": 0,
319 | "_isTrimmedMode": true,
320 | "_srcBlendFactor": 770,
321 | "_dstBlendFactor": 771,
322 | "_atlas": null
323 | },
324 | {
325 | "__type__": "cc.PrefabInfo",
326 | "root": {
327 | "__id__": 5
328 | },
329 | "asset": {
330 | "__uuid__": "6feea4ff-ffda-479d-889f-646cbed156bd"
331 | },
332 | "fileId": "d68e8JAPIRIjrwlq+0RQdPc",
333 | "sync": false
334 | },
335 | {
336 | "__type__": "cc.Node",
337 | "_name": "JoystickBar",
338 | "_objFlags": 0,
339 | "_opacity": 88.485,
340 | "_color": {
341 | "__type__": "cc.Color",
342 | "r": 255,
343 | "g": 255,
344 | "b": 255,
345 | "a": 255
346 | },
347 | "_cascadeOpacityEnabled": true,
348 | "_parent": {
349 | "__id__": 5
350 | },
351 | "_anchorPoint": {
352 | "__type__": "cc.Vec2",
353 | "x": 0.5,
354 | "y": 0.5
355 | },
356 | "_contentSize": {
357 | "__type__": "cc.Size",
358 | "width": 73,
359 | "height": 78
360 | },
361 | "_children": [],
362 | "_rotationX": 0,
363 | "_rotationY": 0,
364 | "_scaleX": 1,
365 | "_scaleY": 1,
366 | "_position": {
367 | "__type__": "cc.Vec2",
368 | "x": 0,
369 | "y": 0
370 | },
371 | "_skewX": 0,
372 | "_skewY": 0,
373 | "_localZOrder": 0,
374 | "_globalZOrder": 0,
375 | "_tag": -1,
376 | "_opacityModifyRGB": false,
377 | "_id": "fe752qer/1FHoJeaQk3AHhD",
378 | "_active": true,
379 | "_components": [
380 | {
381 | "__id__": 10
382 | }
383 | ],
384 | "_prefab": {
385 | "__id__": 11
386 | },
387 | "groupIndex": 0
388 | },
389 | {
390 | "__type__": "cc.Sprite",
391 | "_name": "",
392 | "_objFlags": 0,
393 | "node": {
394 | "__id__": 9
395 | },
396 | "_enabled": true,
397 | "_spriteFrame": {
398 | "__uuid__": "d5ff628b-6be3-4754-98ac-828e34498207"
399 | },
400 | "_type": 0,
401 | "_sizeMode": 1,
402 | "_fillType": 0,
403 | "_fillCenter": {
404 | "__type__": "cc.Vec2",
405 | "x": 0,
406 | "y": 0
407 | },
408 | "_fillStart": 0,
409 | "_fillRange": 0,
410 | "_isTrimmedMode": true,
411 | "_srcBlendFactor": 770,
412 | "_dstBlendFactor": 771,
413 | "_atlas": null
414 | },
415 | {
416 | "__type__": "cc.PrefabInfo",
417 | "root": {
418 | "__id__": 5
419 | },
420 | "asset": {
421 | "__uuid__": "6feea4ff-ffda-479d-889f-646cbed156bd"
422 | },
423 | "fileId": "fe752qer/1FHoJeaQk3AHhD",
424 | "sync": false
425 | },
426 | {
427 | "__type__": "dae4fVvAkJBQYB/rfJD67I3",
428 | "_name": "",
429 | "_objFlags": 0,
430 | "node": {
431 | "__id__": 5
432 | },
433 | "_enabled": true,
434 | "joystickBar": {
435 | "__id__": 9
436 | },
437 | "joystickBG": {
438 | "__id__": 6
439 | },
440 | "radius": 80,
441 | "touchType": 1,
442 | "directionType": 2,
443 | "curAngle": 0,
444 | "distance": 0
445 | },
446 | {
447 | "__type__": "cc.PrefabInfo",
448 | "root": {
449 | "__id__": 5
450 | },
451 | "asset": {
452 | "__uuid__": "6feea4ff-ffda-479d-889f-646cbed156bd"
453 | },
454 | "fileId": "ea31ewJpjhNNah04u8/6gf7",
455 | "sync": false
456 | },
457 | {
458 | "__type__": "cc.Canvas",
459 | "_name": "",
460 | "_objFlags": 0,
461 | "node": {
462 | "__id__": 2
463 | },
464 | "_enabled": true,
465 | "_designResolution": {
466 | "__type__": "cc.Size",
467 | "width": 600,
468 | "height": 416
469 | },
470 | "_fitWidth": false,
471 | "_fitHeight": true
472 | }
473 | ]
--------------------------------------------------------------------------------
/assets/joystick/JoystickScene.fire.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "66856a8e-aaff-48b0-9c4d-359516ca8625",
4 | "asyncLoadAssets": false,
5 | "autoReleaseAssets": false,
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/joystick/prefabs.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "27cface2-fc9b-4df2-a360-8b8baccba1ab",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/joystick/prefabs/Joystick.prefab:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.Prefab",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "data": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Node",
13 | "_name": "Joystick",
14 | "_objFlags": 0,
15 | "_opacity": 255,
16 | "_color": {
17 | "__type__": "cc.Color",
18 | "r": 255,
19 | "g": 255,
20 | "b": 255,
21 | "a": 255
22 | },
23 | "_cascadeOpacityEnabled": true,
24 | "_parent": null,
25 | "_anchorPoint": {
26 | "__type__": "cc.Vec2",
27 | "x": 0.5,
28 | "y": 0.5
29 | },
30 | "_contentSize": {
31 | "__type__": "cc.Size",
32 | "width": 0,
33 | "height": 0
34 | },
35 | "_children": [
36 | {
37 | "__id__": 2
38 | },
39 | {
40 | "__id__": 5
41 | }
42 | ],
43 | "_rotationX": 0,
44 | "_rotationY": 0,
45 | "_scaleX": 1,
46 | "_scaleY": 1,
47 | "_position": {
48 | "__type__": "cc.Vec2",
49 | "x": -100,
50 | "y": -100
51 | },
52 | "_skewX": 0,
53 | "_skewY": 0,
54 | "_localZOrder": 0,
55 | "_globalZOrder": 0,
56 | "_tag": -1,
57 | "_opacityModifyRGB": false,
58 | "_id": "",
59 | "_active": true,
60 | "_components": [
61 | {
62 | "__id__": 8
63 | }
64 | ],
65 | "_prefab": {
66 | "__id__": 9
67 | },
68 | "groupIndex": 0
69 | },
70 | {
71 | "__type__": "cc.Node",
72 | "_name": "JoystickBG",
73 | "_objFlags": 0,
74 | "_opacity": 35.7,
75 | "_color": {
76 | "__type__": "cc.Color",
77 | "r": 255,
78 | "g": 255,
79 | "b": 255,
80 | "a": 255
81 | },
82 | "_cascadeOpacityEnabled": true,
83 | "_parent": {
84 | "__id__": 1
85 | },
86 | "_anchorPoint": {
87 | "__type__": "cc.Vec2",
88 | "x": 0.5,
89 | "y": 0.5
90 | },
91 | "_contentSize": {
92 | "__type__": "cc.Size",
93 | "width": 103,
94 | "height": 103
95 | },
96 | "_children": [],
97 | "_rotationX": 0,
98 | "_rotationY": 0,
99 | "_scaleX": 1.5,
100 | "_scaleY": 1.5,
101 | "_position": {
102 | "__type__": "cc.Vec2",
103 | "x": 0,
104 | "y": 0
105 | },
106 | "_skewX": 0,
107 | "_skewY": 0,
108 | "_localZOrder": 0,
109 | "_globalZOrder": 0,
110 | "_tag": -1,
111 | "_opacityModifyRGB": false,
112 | "_id": "",
113 | "_active": true,
114 | "_components": [
115 | {
116 | "__id__": 3
117 | }
118 | ],
119 | "_prefab": {
120 | "__id__": 4
121 | },
122 | "groupIndex": 0
123 | },
124 | {
125 | "__type__": "cc.Sprite",
126 | "_name": "",
127 | "_objFlags": 0,
128 | "node": {
129 | "__id__": 2
130 | },
131 | "_enabled": true,
132 | "_spriteFrame": {
133 | "__uuid__": "87ec8436-56e5-4a82-91dd-167ba98b5100"
134 | },
135 | "_type": 0,
136 | "_sizeMode": 1,
137 | "_fillType": 0,
138 | "_fillCenter": {
139 | "__type__": "cc.Vec2",
140 | "x": 0,
141 | "y": 0
142 | },
143 | "_fillStart": 0,
144 | "_fillRange": 0,
145 | "_isTrimmedMode": true,
146 | "_srcBlendFactor": 770,
147 | "_dstBlendFactor": 771,
148 | "_atlas": null
149 | },
150 | {
151 | "__type__": "cc.PrefabInfo",
152 | "root": {
153 | "__id__": 1
154 | },
155 | "asset": {
156 | "__id__": 0
157 | },
158 | "fileId": "d68e8JAPIRIjrwlq+0RQdPc",
159 | "sync": false
160 | },
161 | {
162 | "__type__": "cc.Node",
163 | "_name": "JoystickBar",
164 | "_objFlags": 0,
165 | "_opacity": 88.485,
166 | "_color": {
167 | "__type__": "cc.Color",
168 | "r": 255,
169 | "g": 255,
170 | "b": 255,
171 | "a": 255
172 | },
173 | "_cascadeOpacityEnabled": true,
174 | "_parent": {
175 | "__id__": 1
176 | },
177 | "_anchorPoint": {
178 | "__type__": "cc.Vec2",
179 | "x": 0.5,
180 | "y": 0.5
181 | },
182 | "_contentSize": {
183 | "__type__": "cc.Size",
184 | "width": 73,
185 | "height": 78
186 | },
187 | "_children": [],
188 | "_rotationX": 0,
189 | "_rotationY": 0,
190 | "_scaleX": 1,
191 | "_scaleY": 1,
192 | "_position": {
193 | "__type__": "cc.Vec2",
194 | "x": 0,
195 | "y": 0
196 | },
197 | "_skewX": 0,
198 | "_skewY": 0,
199 | "_localZOrder": 0,
200 | "_globalZOrder": 0,
201 | "_tag": -1,
202 | "_opacityModifyRGB": false,
203 | "_id": "",
204 | "_active": true,
205 | "_components": [
206 | {
207 | "__id__": 6
208 | }
209 | ],
210 | "_prefab": {
211 | "__id__": 7
212 | },
213 | "groupIndex": 0
214 | },
215 | {
216 | "__type__": "cc.Sprite",
217 | "_name": "",
218 | "_objFlags": 0,
219 | "node": {
220 | "__id__": 5
221 | },
222 | "_enabled": true,
223 | "_spriteFrame": {
224 | "__uuid__": "d5ff628b-6be3-4754-98ac-828e34498207"
225 | },
226 | "_type": 0,
227 | "_sizeMode": 1,
228 | "_fillType": 0,
229 | "_fillCenter": {
230 | "__type__": "cc.Vec2",
231 | "x": 0,
232 | "y": 0
233 | },
234 | "_fillStart": 0,
235 | "_fillRange": 0,
236 | "_isTrimmedMode": true,
237 | "_srcBlendFactor": 770,
238 | "_dstBlendFactor": 771,
239 | "_atlas": null
240 | },
241 | {
242 | "__type__": "cc.PrefabInfo",
243 | "root": {
244 | "__id__": 1
245 | },
246 | "asset": {
247 | "__id__": 0
248 | },
249 | "fileId": "fe752qer/1FHoJeaQk3AHhD",
250 | "sync": false
251 | },
252 | {
253 | "__type__": "dae4fVvAkJBQYB/rfJD67I3",
254 | "_name": "",
255 | "_objFlags": 0,
256 | "node": {
257 | "__id__": 1
258 | },
259 | "_enabled": true,
260 | "joystickBar": {
261 | "__id__": 5
262 | },
263 | "joystickBG": {
264 | "__id__": 2
265 | },
266 | "radius": 80,
267 | "touchType": 1,
268 | "directionType": 2,
269 | "curAngle": 0,
270 | "distance": 0
271 | },
272 | {
273 | "__type__": "cc.PrefabInfo",
274 | "root": {
275 | "__id__": 1
276 | },
277 | "asset": {
278 | "__id__": 0
279 | },
280 | "fileId": "ea31ewJpjhNNah04u8/6gf7",
281 | "sync": false
282 | }
283 | ]
--------------------------------------------------------------------------------
/assets/joystick/prefabs/Joystick.prefab.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "6feea4ff-ffda-479d-889f-646cbed156bd",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/joystick/scripts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "71911b7a-df9b-44c3-a6be-fe37c5486ad4",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/joystick/scripts/JoystickCtrl.js:
--------------------------------------------------------------------------------
1 |
2 | var TouchType = cc.Enum({
3 | DEFAULT: 0,
4 | FOLLOW: 1
5 | });
6 |
7 | var DirectionType = cc.Enum({
8 | FOUR: 0,
9 | EIGHT: 1,
10 | ALL: 2
11 | });
12 |
13 | cc.Class({
14 | extends: cc.Component,
15 |
16 | properties: {
17 | joystickBar: {
18 | default: null,
19 | type: cc.Node
20 | },//控杆
21 | joystickBG: {
22 | default: null,
23 | type: cc.Node
24 | },//控杆背景
25 | radius: 0, //半径
26 | touchType: {
27 | default: TouchType.DEFAULT, //触摸类型
28 | type: TouchType
29 | },
30 | directionType: {
31 | default: DirectionType.ALL, //方向类型
32 | type: DirectionType
33 | },
34 | //当前角度
35 | curAngle: {
36 | default: 0,
37 | visible: false
38 | },
39 | //当前距离
40 | distance: {
41 | default: 0,
42 | visible: false
43 | }
44 | },
45 |
46 | // use this for initialization
47 | onLoad: function () {
48 | if(this.radius == 0){
49 | this.radius = this.joystickBG.width/2
50 | }
51 | this.registerInput()
52 | this.distance = 0
53 | this.curAngle = 0
54 | this.initPos = this.node.position
55 |
56 | this.node.opacity = 50
57 |
58 | },
59 |
60 | addJoyStickTouchChangeListener: function(callback) {
61 | this.angleChange = callback;
62 | },
63 |
64 | registerInput: function() {
65 | var self = this;
66 | // touch input
67 | this._listener = cc.eventManager.addListener({
68 | event: cc.EventListener.TOUCH_ONE_BY_ONE,
69 | onTouchBegan: function(touch, event) {
70 | return self.onTouchBegan(touch, event)
71 | },
72 | onTouchMoved: function(touch, event) {
73 | self.onTouchMoved(touch, event)
74 | },
75 | onTouchEnded: function(touch, event) {
76 | self.onTouchEnded(touch, event)
77 | }
78 | }, self.node);
79 | },
80 |
81 |
82 | onTouchBegan: function(touch, event) {
83 |
84 | //如果触摸类型为FOLLOW,则摇控杆的位置为触摸位置,触摸开始时候现形
85 | if(this.touchType == TouchType.FOLLOW)
86 | {
87 | var touchPos = this.node.parent.convertToNodeSpaceAR(touch.getLocation())
88 | this.node.setPosition(touchPos);
89 | return true;
90 | }
91 | else
92 | {
93 | //把触摸点坐标转换为相对与目标的模型坐标
94 | var touchPos = this.node.convertToNodeSpaceAR(touch.getLocation())
95 | //点与圆心的距离
96 | var distance = cc.pDistance(touchPos, cc.p(0, 0));
97 | //如果点与圆心距离小于圆的半径,返回true
98 | if(distance < this.radius ) {
99 | if(distance>20){
100 | this.node.opacity = 255
101 | this.joystickBar.setPosition(touchPos);
102 | //更新角度
103 | this._getAngle(touchPos)
104 | }
105 | return true;
106 | }
107 | }
108 | return false;
109 | },
110 |
111 | onTouchMoved: function(touch, event) {
112 |
113 | //把触摸点坐标转换为相对与目标的模型坐标
114 | var touchPos = this.node.convertToNodeSpaceAR(touch.getLocation())
115 | //点与圆心的距离
116 | var distance = cc.pDistance(touchPos, cc.p(0, 0));
117 |
118 | //如果点与圆心距离小于圆的半径,控杆跟随触摸点
119 | if(this.radius >= distance){
120 | if(distance>20){
121 | this.node.opacity = 255;
122 | this.joystickBar.setPosition(touchPos);
123 | //更新角度
124 | this._getAngle(touchPos)
125 | }else {
126 | this.node.opacity = 50
127 | //摇杆恢复位置
128 | this.joystickBar.setPosition(cc.p(0,0));
129 | this.curAngle = null;
130 | //调用角度变化回调
131 | if(this.angleChange){
132 | this.angleChange(this.curAngle);
133 | }
134 |
135 | }
136 | }else{
137 | //触摸监听目标
138 | var x = Math.cos(this._getRadian(touchPos)) * this.radius;
139 | var y = Math.sin(this._getRadian(touchPos)) * this.radius;
140 | if(touchPos.x>0 && touchPos.y<0){
141 | y *= -1;
142 | }else if(touchPos.x<0 && touchPos.y<0){
143 | y *= -1;
144 | }
145 |
146 | this.joystickBar.setPosition(cc.p(x, y));
147 | //更新角度
148 | this._getAngle(touchPos)
149 | }
150 |
151 | },
152 | onTouchEnded: function(touch, event) {
153 |
154 | this.node.opacity = 50
155 |
156 | //如果触摸类型为FOLLOW,离开触摸后隐藏
157 | if(this.touchType == TouchType.FOLLOW){
158 | this.node.position = this.initPos
159 | }
160 | //摇杆恢复位置
161 | this.joystickBar.setPosition(cc.p(0,0));
162 | this.curAngle = null
163 | //调用角度变化回调
164 | if(this.angleChange){
165 | this.angleChange(this.curAngle);
166 | }
167 | },
168 |
169 |
170 | //计算角度并返回
171 | _getAngle: function(point)
172 | {
173 | this._angle = Math.floor(this._getRadian(point)*180/Math.PI);
174 |
175 | if(point.x>0 && point.y<0){
176 | this._angle = 360 - this._angle;
177 | }else if(point.x<0 && point.y<0){
178 | this._angle = 360 - this._angle;
179 | }else if(point.x<0 && point.y==0){
180 | this._angle = 180;
181 | }else if(point.x>0 && point.y==0){
182 | this._angle = 0;
183 | }else if(point.x==0 && point.y>0){
184 | this._angle = 90;
185 | }else if(point.x==0 && point.y<0){
186 | this._angle = 270;
187 | }
188 | this._updateCurAngle()
189 | return this._angle;
190 | },
191 |
192 | //计算弧度并返回
193 | _getRadian: function(point) {
194 | var curZ = Math.sqrt(Math.pow(point.x,2)+Math.pow(point.y,2));
195 | if(curZ==0){
196 | this._radian = 0;
197 | }else {
198 | this._radian = Math.acos(point.x/curZ);
199 | }
200 | return this._radian;
201 | },
202 |
203 | //更新当前角度
204 | _updateCurAngle: function()
205 | {
206 | switch (this.directionType)
207 | {
208 | case DirectionType.FOUR:
209 | this.curAngle = this._fourDirections();
210 | break;
211 | case DirectionType.EIGHT:
212 | this.curAngle = this._eightDirections();
213 | break;
214 | case DirectionType.ALL:
215 | this.curAngle = this._angle
216 | break;
217 | default :
218 | this.curAngle = null
219 | break;
220 | }
221 | //调用角度变化回调
222 | if(this.angleChange){
223 | this.angleChange(this.curAngle);
224 | }
225 | },
226 |
227 |
228 | //四个方向移动(上下左右)
229 | _fourDirections: function()
230 | {
231 | if(this._angle >= 45 && this._angle <= 135)
232 | {
233 | return 90
234 | }
235 | else if(this._angle >= 225 && this._angle <= 315)
236 | {
237 | return 270
238 | }
239 | else if(this._angle <= 225 && this._angle >= 180 || this._angle >= 135 && this._angle <= 180)
240 | {
241 | return 180
242 | }
243 | else if(this._angle <= 360 && this._angle >= 315 || this._angle >= 0 && this._angle <= 45)
244 | {
245 | return 0
246 | }
247 | },
248 |
249 | //八个方向移动(上下左右、左上、右上、左下、右下)
250 | _eightDirections: function()
251 | {
252 | if(this._angle >= 67.5 && this._angle <= 112.5)
253 | {
254 | return 90
255 | }
256 | else if(this._angle >= 247.5 && this._angle <= 292.5)
257 | {
258 | return 270
259 | }
260 | else if(this._angle <= 202.5 && this._angle >= 180 || this._angle >= 157.5 && this._angle <= 180)
261 | {
262 | return 180
263 | }
264 | else if(this._angle <= 360 && this._angle >= 337.5 || this._angle >= 0 && this._angle <= 22.5)
265 | {
266 | return 0
267 | }
268 | else if(this._angle >= 112.5 && this._angle <= 157.5)
269 | {
270 | return 135
271 | }
272 | else if(this._angle >= 22.5 && this._angle <= 67.5)
273 | {
274 | return 45
275 | }
276 | else if(this._angle >= 202.5 && this._angle <= 247.5)
277 | {
278 | return 225
279 | }
280 | else if(this._angle >= 292.5 && this._angle <= 337.5)
281 | {
282 | return 315
283 | }
284 | },
285 |
286 | onDestroy: function()
287 | {
288 | cc.eventManager.removeListener(this._listener);
289 | }
290 |
291 | });
292 |
--------------------------------------------------------------------------------
/assets/joystick/scripts/JoystickCtrl.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "dae4f56f-0242-4141-807f-adf243ebb237",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/joystick/textures.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "96e72d7b-3a39-4b8a-8fef-5bf7ff2b2479",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/joystick/textures/JoystickBG.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/joystick/textures/JoystickBG.png
--------------------------------------------------------------------------------
/assets/joystick/textures/JoystickBG.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5a823ffc-18d0-45f7-960e-02013631df02",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "JoystickBG": {
9 | "ver": "1.0.3",
10 | "uuid": "87ec8436-56e5-4a82-91dd-167ba98b5100",
11 | "rawTextureUuid": "5a823ffc-18d0-45f7-960e-02013631df02",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 103,
20 | "height": 103,
21 | "rawWidth": 103,
22 | "rawHeight": 103,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/joystick/textures/JoystickBar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/joystick/textures/JoystickBar.png
--------------------------------------------------------------------------------
/assets/joystick/textures/JoystickBar.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c1d78ee5-44a4-4db1-882f-ae121b006704",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "JoystickBar": {
9 | "ver": "1.0.3",
10 | "uuid": "d5ff628b-6be3-4754-98ac-828e34498207",
11 | "rawTextureUuid": "c1d78ee5-44a4-4db1-882f-ae121b006704",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 73,
20 | "height": 78,
21 | "rawWidth": 73,
22 | "rawHeight": 78,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "4317535f-fedc-4a49-911b-8bf143bfb39d",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/ScenceStart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/ScenceStart.png
--------------------------------------------------------------------------------
/assets/resources/ScenceStart.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "13bcaabc-c150-44ef-a1fe-947e457238d9",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "ScenceStart": {
9 | "ver": "1.0.3",
10 | "uuid": "e1c94d17-aa29-4a72-b933-6d884ad1f7cb",
11 | "rawTextureUuid": "13bcaabc-c150-44ef-a1fe-947e457238d9",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 600,
20 | "height": 400,
21 | "rawWidth": 600,
22 | "rawHeight": 400,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/anim.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "72bab389-cded-41d0-b4c5-19b85a516b55",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/anim/blast.anim:
--------------------------------------------------------------------------------
1 | {
2 | "__type__": "cc.AnimationClip",
3 | "_name": "blast",
4 | "_objFlags": 0,
5 | "_rawFiles": null,
6 | "_duration": 0.15,
7 | "sample": 60,
8 | "speed": 1,
9 | "wrapMode": 0,
10 | "curveData": {
11 | "comps": {
12 | "cc.Sprite": {
13 | "spriteFrame": [
14 | {
15 | "frame": 0,
16 | "value": {
17 | "__uuid__": "34ac45b3-f620-4ab7-bf10-6d1c87658fda"
18 | }
19 | },
20 | {
21 | "frame": 0.03333333333333333,
22 | "value": {
23 | "__uuid__": "1c300c1f-0444-43e6-9134-ce70183274d3"
24 | }
25 | },
26 | {
27 | "frame": 0.06666666666666667,
28 | "value": {
29 | "__uuid__": "ecca41eb-7434-4faf-97b7-099d25da2bb4"
30 | }
31 | },
32 | {
33 | "frame": 0.1,
34 | "value": {
35 | "__uuid__": "ddba5114-b288-4fe8-9164-29c6aeb3025a"
36 | }
37 | },
38 | {
39 | "frame": 0.13333333333333333,
40 | "value": {
41 | "__uuid__": "0df9dc8a-c9f4-4544-8799-475dbee21868"
42 | }
43 | }
44 | ]
45 | }
46 | }
47 | },
48 | "events": [
49 | {
50 | "frame": 0.15,
51 | "func": "playFinish",
52 | "params": []
53 | },
54 | {
55 | "frame": 0.15,
56 | "func": "",
57 | "params": []
58 | }
59 | ]
60 | }
--------------------------------------------------------------------------------
/assets/resources/anim/blast.anim.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1a6306e3-1b18-4e50-95c3-0bf589ef33c8",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/blast.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | frames
6 |
7 | blast1.gif
8 |
9 | frame
10 | {{235,81},{16,13}}
11 | offset
12 | {-3,3}
13 | rotated
14 |
15 | sourceColorRect
16 | {{57,44},{16,13}}
17 | sourceSize
18 | {136,107}
19 |
20 | blast2.gif
21 |
22 | frame
23 | {{109,111},{38,29}}
24 | offset
25 | {0,2}
26 | rotated
27 |
28 | sourceColorRect
29 | {{49,37},{38,29}}
30 | sourceSize
31 | {136,107}
32 |
33 | blast3.gif
34 |
35 | frame
36 | {{2,203},{50,39}}
37 | offset
38 | {-2,2}
39 | rotated
40 |
41 | sourceColorRect
42 | {{41,32},{50,39}}
43 | sourceSize
44 | {136,107}
45 |
46 | blast4.gif
47 |
48 | frame
49 | {{43,203},{64,49}}
50 | offset
51 | {-2,2}
52 | rotated
53 |
54 | sourceColorRect
55 | {{34,27},{64,49}}
56 | sourceSize
57 | {136,107}
58 |
59 | blast5.gif
60 |
61 | frame
62 | {{2,111},{84,65}}
63 | offset
64 | {0,1}
65 | rotated
66 |
67 | sourceColorRect
68 | {{26,20},{84,65}}
69 | sourceSize
70 | {136,107}
71 |
72 | blast6.gif
73 |
74 | frame
75 | {{140,2},{100,77}}
76 | offset
77 | {-3,1}
78 | rotated
79 |
80 | sourceColorRect
81 | {{15,14},{100,77}}
82 | sourceSize
83 | {136,107}
84 |
85 | blast7.gif
86 |
87 | frame
88 | {{140,81},{120,93}}
89 | offset
90 | {0,7}
91 | rotated
92 |
93 | sourceColorRect
94 | {{8,0},{120,93}}
95 | sourceSize
96 | {136,107}
97 |
98 | blast8.gif
99 |
100 | frame
101 | {{2,2},{136,107}}
102 | offset
103 | {0,0}
104 | rotated
105 |
106 | sourceColorRect
107 | {{0,0},{136,107}}
108 | sourceSize
109 | {136,107}
110 |
111 |
112 | metadata
113 |
114 | format
115 | 2
116 | realTextureFileName
117 | blast.png
118 | size
119 | {256,256}
120 | smartupdate
121 | $TexturePacker:SmartUpdate:d481cc806d92f9a83979cb9821fa9e56:1/1$
122 | textureFileName
123 | blast.png
124 |
125 |
126 |
127 |
--------------------------------------------------------------------------------
/assets/resources/blast.plist.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.2.4",
3 | "uuid": "fe5a10eb-398e-4f8b-9c3f-1f574a9b9f90",
4 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
5 | "size": {
6 | "width": 256,
7 | "height": 256
8 | },
9 | "type": "Texture Packer",
10 | "subMetas": {
11 | "blast1.gif": {
12 | "ver": "1.0.3",
13 | "uuid": "34ac45b3-f620-4ab7-bf10-6d1c87658fda",
14 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
15 | "trimType": "auto",
16 | "trimThreshold": 1,
17 | "rotated": false,
18 | "offsetX": -3,
19 | "offsetY": 3,
20 | "trimX": 235,
21 | "trimY": 81,
22 | "width": 16,
23 | "height": 13,
24 | "rawWidth": 136,
25 | "rawHeight": 107,
26 | "borderTop": 0,
27 | "borderBottom": 0,
28 | "borderLeft": 0,
29 | "borderRight": 0,
30 | "spriteType": "normal",
31 | "subMetas": {}
32 | },
33 | "blast2.gif": {
34 | "ver": "1.0.3",
35 | "uuid": "1c300c1f-0444-43e6-9134-ce70183274d3",
36 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
37 | "trimType": "auto",
38 | "trimThreshold": 1,
39 | "rotated": true,
40 | "offsetX": 0,
41 | "offsetY": 2,
42 | "trimX": 109,
43 | "trimY": 111,
44 | "width": 38,
45 | "height": 29,
46 | "rawWidth": 136,
47 | "rawHeight": 107,
48 | "borderTop": 0,
49 | "borderBottom": 0,
50 | "borderLeft": 0,
51 | "borderRight": 0,
52 | "spriteType": "normal",
53 | "subMetas": {}
54 | },
55 | "blast3.gif": {
56 | "ver": "1.0.3",
57 | "uuid": "ecca41eb-7434-4faf-97b7-099d25da2bb4",
58 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
59 | "trimType": "auto",
60 | "trimThreshold": 1,
61 | "rotated": true,
62 | "offsetX": -2,
63 | "offsetY": 2,
64 | "trimX": 2,
65 | "trimY": 203,
66 | "width": 50,
67 | "height": 39,
68 | "rawWidth": 136,
69 | "rawHeight": 107,
70 | "borderTop": 0,
71 | "borderBottom": 0,
72 | "borderLeft": 0,
73 | "borderRight": 0,
74 | "spriteType": "normal",
75 | "subMetas": {}
76 | },
77 | "blast4.gif": {
78 | "ver": "1.0.3",
79 | "uuid": "ddba5114-b288-4fe8-9164-29c6aeb3025a",
80 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
81 | "trimType": "auto",
82 | "trimThreshold": 1,
83 | "rotated": false,
84 | "offsetX": -2,
85 | "offsetY": 2,
86 | "trimX": 43,
87 | "trimY": 203,
88 | "width": 64,
89 | "height": 49,
90 | "rawWidth": 136,
91 | "rawHeight": 107,
92 | "borderTop": 0,
93 | "borderBottom": 0,
94 | "borderLeft": 0,
95 | "borderRight": 0,
96 | "spriteType": "normal",
97 | "subMetas": {}
98 | },
99 | "blast5.gif": {
100 | "ver": "1.0.3",
101 | "uuid": "0df9dc8a-c9f4-4544-8799-475dbee21868",
102 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
103 | "trimType": "auto",
104 | "trimThreshold": 1,
105 | "rotated": true,
106 | "offsetX": 0,
107 | "offsetY": 1,
108 | "trimX": 2,
109 | "trimY": 111,
110 | "width": 84,
111 | "height": 65,
112 | "rawWidth": 136,
113 | "rawHeight": 107,
114 | "borderTop": 0,
115 | "borderBottom": 0,
116 | "borderLeft": 0,
117 | "borderRight": 0,
118 | "spriteType": "normal",
119 | "subMetas": {}
120 | },
121 | "blast6.gif": {
122 | "ver": "1.0.3",
123 | "uuid": "87546e8f-7a6e-42f7-b95a-678e552b8db1",
124 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
125 | "trimType": "auto",
126 | "trimThreshold": 1,
127 | "rotated": false,
128 | "offsetX": -3,
129 | "offsetY": 1,
130 | "trimX": 140,
131 | "trimY": 2,
132 | "width": 100,
133 | "height": 77,
134 | "rawWidth": 136,
135 | "rawHeight": 107,
136 | "borderTop": 0,
137 | "borderBottom": 0,
138 | "borderLeft": 0,
139 | "borderRight": 0,
140 | "spriteType": "normal",
141 | "subMetas": {}
142 | },
143 | "blast7.gif": {
144 | "ver": "1.0.3",
145 | "uuid": "b80c0d2c-948d-42f6-b9b6-c4e337b4ba23",
146 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
147 | "trimType": "auto",
148 | "trimThreshold": 1,
149 | "rotated": true,
150 | "offsetX": 0,
151 | "offsetY": 7,
152 | "trimX": 140,
153 | "trimY": 81,
154 | "width": 120,
155 | "height": 93,
156 | "rawWidth": 136,
157 | "rawHeight": 107,
158 | "borderTop": 0,
159 | "borderBottom": 0,
160 | "borderLeft": 0,
161 | "borderRight": 0,
162 | "spriteType": "normal",
163 | "subMetas": {}
164 | },
165 | "blast8.gif": {
166 | "ver": "1.0.3",
167 | "uuid": "fa25462e-7dc2-4701-bbf0-546720b3502d",
168 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
169 | "trimType": "auto",
170 | "trimThreshold": 1,
171 | "rotated": false,
172 | "offsetX": 0,
173 | "offsetY": 0,
174 | "trimX": 2,
175 | "trimY": 2,
176 | "width": 136,
177 | "height": 107,
178 | "rawWidth": 136,
179 | "rawHeight": 107,
180 | "borderTop": 0,
181 | "borderBottom": 0,
182 | "borderLeft": 0,
183 | "borderRight": 0,
184 | "spriteType": "normal",
185 | "subMetas": {}
186 | }
187 | }
188 | }
--------------------------------------------------------------------------------
/assets/resources/blast.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/blast.png
--------------------------------------------------------------------------------
/assets/resources/blast.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "blast": {
9 | "ver": "1.0.3",
10 | "uuid": "7b9c0ce4-b38b-412a-a1ce-bf560959804a",
11 | "rawTextureUuid": "e7333dfd-4800-4e41-b0a0-0217b0dbaeff",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": -1.5,
16 | "offsetY": 0.5,
17 | "trimX": 2,
18 | "trimY": 2,
19 | "width": 249,
20 | "height": 251,
21 | "rawWidth": 256,
22 | "rawHeight": 256,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "ee75bbc9-d5a8-4ae0-9d83-d1549a4210f0",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round1.tmx:
--------------------------------------------------------------------------------
1 |
2 |
30 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round1.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "074a19a0-c5fe-488e-9f10-d08edec33c22",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round10.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round10.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "40454faa-094c-49a2-a917-6b9621aa6c52",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round11.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round11.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "0f71fa6a-3ce3-4ff1-94f8-2e6c81e52884",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round12.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round12.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "dafd6a44-e347-4292-833f-394220e266dc",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round13.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round13.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "11c1847f-abe6-4d42-b5b3-1c9bd8dc96eb",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round14.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round14.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "bf57e386-21a3-4366-98a0-30333380a3f9",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round15.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round15.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "c6ef7cec-213c-4122-a3ea-4a012659f063",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round16.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round16.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "50ef67ee-7e04-4f4e-bd09-c706e578a613",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round17.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round17.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "d9a29c1e-b634-4f7c-986c-a89274ad2ebf",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round18.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round18.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "c36b7d68-04d7-4403-bb1c-95db2862d061",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round19.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round19.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "5172abe1-23a1-45a0-bd0b-10aa2fb29ef7",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round2.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round2.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "79460c76-cf7d-49e8-b523-cb548e09f90a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round20.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round20.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "9829163d-3cca-4b48-b72e-95489af90883",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_ff.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_ff.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "a3256497-81df-48e5-ab62-3adfe61f6906",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_round.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_round.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "59e50498-cea8-43f4-bfc8-2aabd30819f3",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_true.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round20_true.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "ceccfefb-1f61-461b-9f92-c11cd8168c77",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round3.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round3.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "c040baa5-097c-4894-892f-d21ee62edc58",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round4.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round4.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "e43a4255-dfbe-44bb-9de1-6d06d0388863",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round5.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round5.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "cc91a2df-3257-44b5-ae88-4bb5eeddaa24",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round6.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round6.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "1b2e7b64-4727-403b-9e0d-860bf74b2b23",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round7.tmx:
--------------------------------------------------------------------------------
1 |
2 |
20 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round7.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "22df339f-5fb1-406a-866a-2091b2ad0100",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round8.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round8.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "92c74488-e2fc-4c13-9299-2d837995b7f1",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Round9.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Round9.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "ea186c77-e95b-4d50-8470-77f7e6c11a0a",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/Roundex_frontfire.tmx:
--------------------------------------------------------------------------------
1 |
2 |
23 |
--------------------------------------------------------------------------------
/assets/resources/maps/Roundex_frontfire.tmx.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.4",
3 | "uuid": "2e1ee8d2-1379-40a8-b4b5-4b7aa3254398",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "9a838efa-f4a2-4fc5-9700-64e764b1042e",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/blank.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/blank.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "f085acc7-8b20-4183-8081-ff6e31d52c03",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "blank": {
9 | "ver": "1.0.3",
10 | "uuid": "b545457e-f855-41cd-8ee4-ac96ae972107",
11 | "rawTextureUuid": "f085acc7-8b20-4183-8081-ff6e31d52c03",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/destory.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/destory.gif
--------------------------------------------------------------------------------
/assets/resources/maps/landform/destory.gif.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "21637c03-d680-4537-96e1-eea562958b6b",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/grass.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/grass.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/grass.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "720113ce-577e-4e71-8fb2-ca0706820fd4",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "grass": {
9 | "ver": "1.0.3",
10 | "uuid": "32671b42-9f4b-46c2-8043-449f8ead9a29",
11 | "rawTextureUuid": "720113ce-577e-4e71-8fb2-ca0706820fd4",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/landform.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/landform.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/landform.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "bcfaad10-1147-4425-9258-b50bada94ede",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "landform": {
9 | "ver": "1.0.3",
10 | "uuid": "40d1ec68-61b6-4e95-8db9-48a7e6d65c44",
11 | "rawTextureUuid": "bcfaad10-1147-4425-9258-b50bada94ede",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 96,
20 | "height": 96,
21 | "rawWidth": 96,
22 | "rawHeight": 96,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/landform2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/landform2.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/landform2.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "f6363df3-ed21-4b9b-8969-f715a7735de1",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "landform2": {
9 | "ver": "1.0.3",
10 | "uuid": "82ccfea0-ef34-45ae-b825-bacc059fbce1",
11 | "rawTextureUuid": "f6363df3-ed21-4b9b-8969-f715a7735de1",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 96,
20 | "height": 96,
21 | "rawWidth": 96,
22 | "rawHeight": 96,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/steels.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/steels.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/steels.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "94451c80-031d-4e25-b907-ec86e899521f",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "steels": {
9 | "ver": "1.0.3",
10 | "uuid": "8a40d4ed-7729-4583-9eb1-81913a688b7c",
11 | "rawTextureUuid": "94451c80-031d-4e25-b907-ec86e899521f",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/symbol.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/symbol.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/symbol.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "445ea7bf-3b24-43c5-8ff2-d87ebde49d23",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "symbol": {
9 | "ver": "1.0.3",
10 | "uuid": "af14e6be-81ac-4d31-9d7e-b10ee9536a83",
11 | "rawTextureUuid": "445ea7bf-3b24-43c5-8ff2-d87ebde49d23",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/walls.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/walls.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/walls.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "02e4954d-f59b-4441-903a-945b3b96a5ec",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "walls": {
9 | "ver": "1.0.3",
10 | "uuid": "a0700cdf-db1f-4fde-b083-c139db655278",
11 | "rawTextureUuid": "02e4954d-f59b-4441-903a-945b3b96a5ec",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/maps/landform/water.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/maps/landform/water.png
--------------------------------------------------------------------------------
/assets/resources/maps/landform/water.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "f28a54b9-5266-41cb-bddf-ff2fd7ab7b2c",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "water": {
9 | "ver": "1.0.3",
10 | "uuid": "60ecd7a9-07cf-4403-a31c-b71caa30cd63",
11 | "rawTextureUuid": "f28a54b9-5266-41cb-bddf-ff2fd7ab7b2c",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 32,
20 | "height": 32,
21 | "rawWidth": 32,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "9dc5c798-c358-4fbf-848d-a64173c7f805",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_fast_forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/btn_fast_forward.png
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_fast_forward.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d3822983-3f74-469e-90ff-7111870ae180",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "btn_fast_forward": {
9 | "ver": "1.0.3",
10 | "uuid": "a261b39d-6d65-4934-a05e-2beda8a52b84",
11 | "rawTextureUuid": "d3822983-3f74-469e-90ff-7111870ae180",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 7.5,
16 | "offsetY": -1,
17 | "trimX": 15,
18 | "trimY": 2,
19 | "width": 217,
20 | "height": 211,
21 | "rawWidth": 232,
22 | "rawHeight": 213,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_play.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/btn_play.png
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_play.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "40358789-5c81-4490-877f-aa4fca1dff6d",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "btn_play": {
9 | "ver": "1.0.3",
10 | "uuid": "ec638271-99eb-4a35-9eb8-f71535a99187",
11 | "rawTextureUuid": "40358789-5c81-4490-877f-aa4fca1dff6d",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 3,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 237,
20 | "height": 208,
21 | "rawWidth": 237,
22 | "rawHeight": 214,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_rewind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/btn_rewind.png
--------------------------------------------------------------------------------
/assets/resources/paddle/btn_rewind.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5e7b3fc5-9e55-4741-98ee-99036edc3151",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "btn_rewind": {
9 | "ver": "1.0.3",
10 | "uuid": "49aed644-1a20-4492-992a-6e7696a57fd5",
11 | "rawTextureUuid": "5e7b3fc5-9e55-4741-98ee-99036edc3151",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": -0.5,
16 | "offsetY": -1.5,
17 | "trimX": 15,
18 | "trimY": 13,
19 | "width": 200,
20 | "height": 193,
21 | "rawWidth": 231,
22 | "rawHeight": 216,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/buttom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/buttom.png
--------------------------------------------------------------------------------
/assets/resources/paddle/buttom.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "7e43e8a1-c7b4-4f3f-95aa-16c6327efb63",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "buttom": {
9 | "ver": "1.0.3",
10 | "uuid": "ff91fec1-451e-43e1-9a21-713bfa29704d",
11 | "rawTextureUuid": "7e43e8a1-c7b4-4f3f-95aa-16c6327efb63",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/buttom_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/buttom_press.png
--------------------------------------------------------------------------------
/assets/resources/paddle/buttom_press.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "7847dcdf-8ed6-49f0-9c19-65c2908729b9",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "buttom_press": {
9 | "ver": "1.0.3",
10 | "uuid": "99551a0a-5521-40f9-ba1e-a776a24ac33a",
11 | "rawTextureUuid": "7847dcdf-8ed6-49f0-9c19-65c2908729b9",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/button_A.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/button_A.png
--------------------------------------------------------------------------------
/assets/resources/paddle/button_A.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "db17960e-dd76-4253-b548-a795919e1640",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "button_A": {
9 | "ver": "1.0.3",
10 | "uuid": "4f6d3fbe-222e-4bdd-8ab0-1e0b9d1f237c",
11 | "rawTextureUuid": "db17960e-dd76-4253-b548-a795919e1640",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 48,
20 | "height": 48,
21 | "rawWidth": 48,
22 | "rawHeight": 48,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/button_B.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/button_B.png
--------------------------------------------------------------------------------
/assets/resources/paddle/button_B.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "dda32bce-229d-4e6a-9794-e29d75dfcb40",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "button_B": {
9 | "ver": "1.0.3",
10 | "uuid": "7d6dda8e-856c-4827-99c8-b6ef5b120ff0",
11 | "rawTextureUuid": "dda32bce-229d-4e6a-9794-e29d75dfcb40",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 48,
20 | "height": 48,
21 | "rawWidth": 48,
22 | "rawHeight": 48,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/button_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/button_start.png
--------------------------------------------------------------------------------
/assets/resources/paddle/button_start.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "db70c994-e814-44a7-8a3f-26548dad3186",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "button_start": {
9 | "ver": "1.0.3",
10 | "uuid": "93153ebc-5228-425d-b2bf-7f22ed32d736",
11 | "rawTextureUuid": "db70c994-e814-44a7-8a3f-26548dad3186",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": -0.5,
16 | "offsetY": 1,
17 | "trimX": 2,
18 | "trimY": 7,
19 | "width": 37,
20 | "height": 16,
21 | "rawWidth": 42,
22 | "rawHeight": 32,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/buttons_AB.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/buttons_AB.png
--------------------------------------------------------------------------------
/assets/resources/paddle/buttons_AB.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "df56cf82-6e6f-4610-8d0c-43e89766debf",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "buttons_AB": {
9 | "ver": "1.0.3",
10 | "uuid": "aadc1e18-ff70-4985-859e-d80ee8021382",
11 | "rawTextureUuid": "df56cf82-6e6f-4610-8d0c-43e89766debf",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": -0.5,
16 | "offsetY": 0,
17 | "trimX": 3,
18 | "trimY": 4,
19 | "width": 105,
20 | "height": 40,
21 | "rawWidth": 112,
22 | "rawHeight": 48,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/fire.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/fire.png
--------------------------------------------------------------------------------
/assets/resources/paddle/fire.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "0d334025-793c-4c4b-bfc8-f495cda2d73d",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "fire": {
9 | "ver": "1.0.3",
10 | "uuid": "8d75f4ba-8c92-425c-ae3f-9d795558e960",
11 | "rawTextureUuid": "0d334025-793c-4c4b-bfc8-f495cda2d73d",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/fire_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/fire_press.png
--------------------------------------------------------------------------------
/assets/resources/paddle/fire_press.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1f5cac1b-37ac-4d2c-8062-2dee22cc98c1",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "fire_press": {
9 | "ver": "1.0.3",
10 | "uuid": "36eb94c4-e558-44d0-8ba4-5f1fce52de71",
11 | "rawTextureUuid": "1f5cac1b-37ac-4d2c-8062-2dee22cc98c1",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/left.png
--------------------------------------------------------------------------------
/assets/resources/paddle/left.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "5ea97224-f5b0-4730-b919-9308c6cba930",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "left": {
9 | "ver": "1.0.3",
10 | "uuid": "a6b5a2fb-eb8f-41ff-b390-d809f8447396",
11 | "rawTextureUuid": "5ea97224-f5b0-4730-b919-9308c6cba930",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/left_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/left_press.png
--------------------------------------------------------------------------------
/assets/resources/paddle/left_press.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "96c21fd8-4e49-4364-b548-2137f70d6ce6",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "left_press": {
9 | "ver": "1.0.3",
10 | "uuid": "97a27ac5-b1d4-4b97-a176-4ed6b867f19b",
11 | "rawTextureUuid": "96c21fd8-4e49-4364-b548-2137f70d6ce6",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/right.png
--------------------------------------------------------------------------------
/assets/resources/paddle/right.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b6908485-b508-40d9-a2b4-12fac48e5a57",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "right": {
9 | "ver": "1.0.3",
10 | "uuid": "9e4428dc-fb2b-4c7e-ba72-5b471d11eadf",
11 | "rawTextureUuid": "b6908485-b508-40d9-a2b4-12fac48e5a57",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/right_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/right_press.png
--------------------------------------------------------------------------------
/assets/resources/paddle/right_press.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "eef1e6c6-cd24-4696-b04b-faeb43676596",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "right_press": {
9 | "ver": "1.0.3",
10 | "uuid": "64465432-3fde-4f6f-9584-ddc80edc43c2",
11 | "rawTextureUuid": "eef1e6c6-cd24-4696-b04b-faeb43676596",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/top.png
--------------------------------------------------------------------------------
/assets/resources/paddle/top.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "7952fc9b-2f22-4402-9285-ab5637cf7815",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "top": {
9 | "ver": "1.0.3",
10 | "uuid": "78678b8d-3630-4369-be30-70ef12d903fe",
11 | "rawTextureUuid": "7952fc9b-2f22-4402-9285-ab5637cf7815",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/paddle/top_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/paddle/top_press.png
--------------------------------------------------------------------------------
/assets/resources/paddle/top_press.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "41a63e9b-47bc-4d95-b3b5-3f306b4ea2df",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "top_press": {
9 | "ver": "1.0.3",
10 | "uuid": "18a03931-afaa-4985-bb88-77cf467b901e",
11 | "rawTextureUuid": "41a63e9b-47bc-4d95-b3b5-3f306b4ea2df",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 92,
20 | "height": 91,
21 | "rawWidth": 92,
22 | "rawHeight": 91,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/playgameClose.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/playgameClose.png
--------------------------------------------------------------------------------
/assets/resources/playgameClose.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c1a0d8bc-97a6-4a21-8bb5-58db5bea6fae",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "playgameClose": {
9 | "ver": "1.0.3",
10 | "uuid": "ed50e1a0-abd3-445c-ac1b-232a1acd882f",
11 | "rawTextureUuid": "c1a0d8bc-97a6-4a21-8bb5-58db5bea6fae",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 167,
20 | "height": 38,
21 | "rawWidth": 167,
22 | "rawHeight": 38,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/playgameNormal.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/playgameNormal.png
--------------------------------------------------------------------------------
/assets/resources/playgameNormal.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "3d3a48b8-475e-4067-956d-c9dc3bec615d",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "playgameNormal": {
9 | "ver": "1.0.3",
10 | "uuid": "2744d12a-ca68-4f97-9d94-0833f7e848e7",
11 | "rawTextureUuid": "3d3a48b8-475e-4067-956d-c9dc3bec615d",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": 0,
16 | "offsetY": 0,
17 | "trimX": 0,
18 | "trimY": 0,
19 | "width": 167,
20 | "height": 38,
21 | "rawWidth": 167,
22 | "rawHeight": 38,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/resources/prefabs.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "42fb6bf4-4447-4d22-93d1-8fc8280f0d2f",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/prefabs/Blast.prefab:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.Prefab",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "data": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Node",
13 | "_name": "Blast",
14 | "_objFlags": 0,
15 | "_opacity": 255,
16 | "_color": {
17 | "__type__": "cc.Color",
18 | "r": 255,
19 | "g": 255,
20 | "b": 255,
21 | "a": 255
22 | },
23 | "_cascadeOpacityEnabled": true,
24 | "_parent": null,
25 | "_anchorPoint": {
26 | "__type__": "cc.Vec2",
27 | "x": 0.5,
28 | "y": 0.5
29 | },
30 | "_contentSize": {
31 | "__type__": "cc.Size",
32 | "width": 16,
33 | "height": 13
34 | },
35 | "_children": [],
36 | "_rotationX": 0,
37 | "_rotationY": 0,
38 | "_scaleX": 0.5,
39 | "_scaleY": 0.5,
40 | "_position": {
41 | "__type__": "cc.Vec2",
42 | "x": 0,
43 | "y": 0
44 | },
45 | "_skewX": 0,
46 | "_skewY": 0,
47 | "_localZOrder": 0,
48 | "_globalZOrder": 0,
49 | "_tag": -1,
50 | "_opacityModifyRGB": false,
51 | "_id": "",
52 | "_active": true,
53 | "_components": [
54 | {
55 | "__id__": 2
56 | },
57 | {
58 | "__id__": 3
59 | },
60 | {
61 | "__id__": 4
62 | }
63 | ],
64 | "_prefab": {
65 | "__id__": 5
66 | },
67 | "groupIndex": 0
68 | },
69 | {
70 | "__type__": "cc.Sprite",
71 | "_name": "",
72 | "_objFlags": 0,
73 | "node": {
74 | "__id__": 1
75 | },
76 | "_enabled": true,
77 | "_spriteFrame": {
78 | "__uuid__": "34ac45b3-f620-4ab7-bf10-6d1c87658fda"
79 | },
80 | "_type": 0,
81 | "_sizeMode": 1,
82 | "_fillType": 0,
83 | "_fillCenter": {
84 | "__type__": "cc.Vec2",
85 | "x": 0,
86 | "y": 0
87 | },
88 | "_fillStart": 0,
89 | "_fillRange": 0,
90 | "_isTrimmedMode": true,
91 | "_srcBlendFactor": 770,
92 | "_dstBlendFactor": 771,
93 | "_atlas": {
94 | "__uuid__": "fe5a10eb-398e-4f8b-9c3f-1f574a9b9f90"
95 | }
96 | },
97 | {
98 | "__type__": "cc.Animation",
99 | "_name": "",
100 | "_objFlags": 0,
101 | "node": {
102 | "__id__": 1
103 | },
104 | "_enabled": true,
105 | "_defaultClip": {
106 | "__uuid__": "1a6306e3-1b18-4e50-95c3-0bf589ef33c8"
107 | },
108 | "_clips": [
109 | {
110 | "__uuid__": "1a6306e3-1b18-4e50-95c3-0bf589ef33c8"
111 | }
112 | ],
113 | "playOnLoad": false
114 | },
115 | {
116 | "__type__": "5b5e1COo/dBsbkA/Ng9jaEv",
117 | "_name": "",
118 | "_objFlags": 0,
119 | "node": {
120 | "__id__": 1
121 | },
122 | "_enabled": true
123 | },
124 | {
125 | "__type__": "cc.PrefabInfo",
126 | "root": {
127 | "__id__": 1
128 | },
129 | "asset": {
130 | "__uuid__": "492289c5-cca9-4138-94b0-ec9e0c483a97"
131 | },
132 | "fileId": "8fd10t4KWFIlrM9aDTUdHCy",
133 | "sync": false
134 | }
135 | ]
--------------------------------------------------------------------------------
/assets/resources/prefabs/Blast.prefab.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "492289c5-cca9-4138-94b0-ec9e0c483a97",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/prefabs/TankPref.prefab:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.Prefab",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "data": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Node",
13 | "_name": "TankPref",
14 | "_objFlags": 0,
15 | "_opacity": 255,
16 | "_color": {
17 | "__type__": "cc.Color",
18 | "r": 255,
19 | "g": 255,
20 | "b": 255,
21 | "a": 255
22 | },
23 | "_cascadeOpacityEnabled": true,
24 | "_parent": null,
25 | "_anchorPoint": {
26 | "__type__": "cc.Vec2",
27 | "x": 0.5,
28 | "y": 0.5
29 | },
30 | "_contentSize": {
31 | "__type__": "cc.Size",
32 | "width": 60,
33 | "height": 60
34 | },
35 | "_children": [],
36 | "_rotationX": 0,
37 | "_rotationY": 0,
38 | "_scaleX": 0.4,
39 | "_scaleY": 0.4,
40 | "_position": {
41 | "__type__": "cc.Vec2",
42 | "x": 0,
43 | "y": 0
44 | },
45 | "_skewX": 0,
46 | "_skewY": 0,
47 | "_localZOrder": 0,
48 | "_globalZOrder": 0,
49 | "_tag": -1,
50 | "_opacityModifyRGB": false,
51 | "_id": "",
52 | "_active": true,
53 | "_components": [
54 | {
55 | "__id__": 2
56 | },
57 | {
58 | "__id__": 3
59 | }
60 | ],
61 | "_prefab": {
62 | "__id__": 4
63 | },
64 | "groupIndex": 0
65 | },
66 | {
67 | "__type__": "cc.Sprite",
68 | "_name": "",
69 | "_objFlags": 0,
70 | "node": {
71 | "__id__": 1
72 | },
73 | "_enabled": true,
74 | "_spriteFrame": {
75 | "__uuid__": "97bed126-44a4-4272-a4b2-69f0b37f3344"
76 | },
77 | "_type": 0,
78 | "_sizeMode": 1,
79 | "_fillType": 0,
80 | "_fillCenter": {
81 | "__type__": "cc.Vec2",
82 | "x": 0,
83 | "y": 0
84 | },
85 | "_fillStart": 0,
86 | "_fillRange": 0,
87 | "_isTrimmedMode": true,
88 | "_srcBlendFactor": 770,
89 | "_dstBlendFactor": 771,
90 | "_atlas": {
91 | "__uuid__": "270d785f-0d61-4771-ae37-4260afa7737f"
92 | }
93 | },
94 | {
95 | "__type__": "6ce61tIUVFH+4QczJMrP1cD",
96 | "_name": "",
97 | "_objFlags": 0,
98 | "node": {
99 | "__id__": 1
100 | },
101 | "_enabled": true,
102 | "tankType": 0,
103 | "speed": 20,
104 | "bullet": {
105 | "__uuid__": "8902e068-37dc-431d-a758-62ec85da295d"
106 | },
107 | "fireTime": 0.5,
108 | "blood": 1,
109 | "team": 0,
110 | "blast": {
111 | "__uuid__": "492289c5-cca9-4138-94b0-ec9e0c483a97"
112 | },
113 | "shootAudio": {
114 | "__uuid__": "7f7ae03c-3e02-4e0b-910a-91bb34280887"
115 | },
116 | "die": false
117 | },
118 | {
119 | "__type__": "cc.PrefabInfo",
120 | "root": {
121 | "__id__": 1
122 | },
123 | "asset": {
124 | "__uuid__": "e14e3534-aa94-462d-9f40-58b2fda3c4b5"
125 | },
126 | "fileId": "e2aeaIiytZGwoDYb+ngkMsv",
127 | "sync": false
128 | }
129 | ]
--------------------------------------------------------------------------------
/assets/resources/prefabs/TankPref.prefab.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e14e3534-aa94-462d-9f40-58b2fda3c4b5",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/prefabs/bullet.prefab:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.Prefab",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "data": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Node",
13 | "_name": "bullet",
14 | "_objFlags": 0,
15 | "_opacity": 255,
16 | "_color": {
17 | "__type__": "cc.Color",
18 | "r": 255,
19 | "g": 255,
20 | "b": 255,
21 | "a": 255
22 | },
23 | "_cascadeOpacityEnabled": true,
24 | "_parent": null,
25 | "_anchorPoint": {
26 | "__type__": "cc.Vec2",
27 | "x": 0.5,
28 | "y": 0.5
29 | },
30 | "_contentSize": {
31 | "__type__": "cc.Size",
32 | "width": 15,
33 | "height": 15
34 | },
35 | "_children": [],
36 | "_rotationX": 0,
37 | "_rotationY": 0,
38 | "_scaleX": 0.5,
39 | "_scaleY": 0.5,
40 | "_position": {
41 | "__type__": "cc.Vec2",
42 | "x": 0,
43 | "y": 0
44 | },
45 | "_skewX": 0,
46 | "_skewY": 0,
47 | "_localZOrder": 0,
48 | "_globalZOrder": 0,
49 | "_tag": -1,
50 | "_opacityModifyRGB": false,
51 | "_id": "",
52 | "_active": true,
53 | "_components": [
54 | {
55 | "__id__": 2
56 | },
57 | {
58 | "__id__": 3
59 | }
60 | ],
61 | "_prefab": {
62 | "__id__": 4
63 | },
64 | "groupIndex": 0
65 | },
66 | {
67 | "__type__": "cc.Sprite",
68 | "_name": "",
69 | "_objFlags": 0,
70 | "node": {
71 | "__id__": 1
72 | },
73 | "_enabled": true,
74 | "_spriteFrame": {
75 | "__uuid__": "2f9b1dd9-dde1-4cc2-8fd6-ef48b3c3e3aa"
76 | },
77 | "_type": 0,
78 | "_sizeMode": 1,
79 | "_fillType": 0,
80 | "_fillCenter": {
81 | "__type__": "cc.Vec2",
82 | "x": 0,
83 | "y": 0
84 | },
85 | "_fillStart": 0,
86 | "_fillRange": 0,
87 | "_isTrimmedMode": true,
88 | "_srcBlendFactor": 770,
89 | "_dstBlendFactor": 771,
90 | "_atlas": {
91 | "__uuid__": "270d785f-0d61-4771-ae37-4260afa7737f"
92 | }
93 | },
94 | {
95 | "__type__": "f2438tTsclDlKMotV5yR31a",
96 | "_name": "",
97 | "_objFlags": 0,
98 | "node": {
99 | "__id__": 1
100 | },
101 | "_enabled": true,
102 | "speed": 150
103 | },
104 | {
105 | "__type__": "cc.PrefabInfo",
106 | "root": {
107 | "__id__": 1
108 | },
109 | "asset": {
110 | "__uuid__": "8902e068-37dc-431d-a758-62ec85da295d"
111 | },
112 | "fileId": "6dc9bSu3Y1MULVsI70mm/Gs",
113 | "sync": false
114 | }
115 | ]
--------------------------------------------------------------------------------
/assets/resources/prefabs/bullet.prefab.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "8902e068-37dc-431d-a758-62ec85da295d",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "6aacb368-6ac7-4640-9528-418d5af43560",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/bonus.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/bonus.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/bonus.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "d73fd609-b641-4522-9460-1b12fa13fa31",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/brickhit.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/brickhit.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/brickhit.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a0abb07f-89d6-4c16-9b25-49f90b32614c",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/eexplosion.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/eexplosion.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/eexplosion.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "96ce70de-fe25-4d26-9e29-a724e58887cc",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/fexplosion.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/fexplosion.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/fexplosion.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "a068893d-30d5-4d8e-9eb2-b2d7bfb4ce56",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/gameover.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/gameover.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/gameover.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "26cfd21f-8bf4-42fc-ad05-f2a67d517763",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/ice.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/ice.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/ice.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "8a68fc09-1768-490a-96ce-719c8e6c65d8",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/levelstarting.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/levelstarting.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/levelstarting.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "b94a1c32-9fba-4c88-ae1a-6097d5769208",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/life.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/life.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/life.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "6f6becab-c693-45ee-92de-8e8511ee3cfc",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/moving.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/moving.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/moving.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1e09038a-f59d-48f0-910b-b9901519c392",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/nmoving.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/nmoving.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/nmoving.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "42bf55a1-ca7c-4660-8a47-3f4552696e11",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/pause.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/pause.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/pause.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "fdd68650-497b-4235-acc9-772ac51e31e8",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/shieldhit.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/shieldhit.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/shieldhit.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "87592f08-b6a6-4351-a1b4-9cc100331936",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/shoot.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/shoot.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/shoot.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "7f7ae03c-3e02-4e0b-910a-91bb34280887",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/steelhit.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/steelhit.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/steelhit.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "c69d5119-f9ee-4c88-a021-cbbeefb3908f",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/sounds/tbonushit.wav:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/sounds/tbonushit.wav
--------------------------------------------------------------------------------
/assets/resources/sounds/tbonushit.wav.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "e2125422-4428-4160-837f-7402b05f1820",
4 | "subMetas": {}
5 | }
--------------------------------------------------------------------------------
/assets/resources/tank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/m249212419/tankwarNet/482aa020346a881e63018c0bb672fabe6538e565/assets/resources/tank.png
--------------------------------------------------------------------------------
/assets/resources/tank.png.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "85fb9ab8-b07b-4491-a03d-a12f192dc2a8",
4 | "type": "sprite",
5 | "wrapMode": "clamp",
6 | "filterMode": "bilinear",
7 | "subMetas": {
8 | "tank": {
9 | "ver": "1.0.3",
10 | "uuid": "1069193f-9fca-4727-8d2d-9571f6171871",
11 | "rawTextureUuid": "85fb9ab8-b07b-4491-a03d-a12f192dc2a8",
12 | "trimType": "auto",
13 | "trimThreshold": 1,
14 | "rotated": false,
15 | "offsetX": -7,
16 | "offsetY": 7,
17 | "trimX": 2,
18 | "trimY": 2,
19 | "width": 494,
20 | "height": 494,
21 | "rawWidth": 512,
22 | "rawHeight": 512,
23 | "borderTop": 0,
24 | "borderBottom": 0,
25 | "borderLeft": 0,
26 | "borderRight": 0,
27 | "subMetas": {}
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/assets/scenes.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "b8870d56-5547-494e-9ac7-ffcf2246e370",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/scenes/ChoiceScene.fire:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.SceneAsset",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "scene": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Scene",
13 | "_objFlags": 0,
14 | "_opacity": 255,
15 | "_color": {
16 | "__type__": "cc.Color",
17 | "r": 255,
18 | "g": 255,
19 | "b": 255,
20 | "a": 255
21 | },
22 | "_cascadeOpacityEnabled": true,
23 | "_parent": null,
24 | "_anchorPoint": {
25 | "__type__": "cc.Vec2",
26 | "x": 0,
27 | "y": 0
28 | },
29 | "_contentSize": {
30 | "__type__": "cc.Size",
31 | "width": 0,
32 | "height": 0
33 | },
34 | "_children": [
35 | {
36 | "__id__": 2
37 | },
38 | {
39 | "__id__": 11
40 | }
41 | ],
42 | "_localZOrder": 0,
43 | "_globalZOrder": 0,
44 | "_tag": -1,
45 | "_opacityModifyRGB": false,
46 | "_id": "cdb752f3-0c4b-4d3b-aad0-62c8f391a2c3",
47 | "autoReleaseAssets": true
48 | },
49 | {
50 | "__type__": "cc.Node",
51 | "_name": "Canvas",
52 | "_objFlags": 0,
53 | "_opacity": 255,
54 | "_color": {
55 | "__type__": "cc.Color",
56 | "r": 255,
57 | "g": 255,
58 | "b": 255,
59 | "a": 255
60 | },
61 | "_cascadeOpacityEnabled": true,
62 | "_parent": {
63 | "__id__": 1
64 | },
65 | "_anchorPoint": {
66 | "__type__": "cc.Vec2",
67 | "x": 0.5,
68 | "y": 0.5
69 | },
70 | "_contentSize": {
71 | "__type__": "cc.Size",
72 | "width": 600,
73 | "height": 416
74 | },
75 | "_children": [
76 | {
77 | "__id__": 3
78 | },
79 | {
80 | "__id__": 5
81 | },
82 | {
83 | "__id__": 7
84 | },
85 | {
86 | "__id__": 13
87 | },
88 | {
89 | "__id__": 17
90 | }
91 | ],
92 | "_rotationX": 0,
93 | "_rotationY": 0,
94 | "_scaleX": 1,
95 | "_scaleY": 1,
96 | "_position": {
97 | "__type__": "cc.Vec2",
98 | "x": 300,
99 | "y": 208
100 | },
101 | "_skewX": 0,
102 | "_skewY": 0,
103 | "_localZOrder": 0,
104 | "_globalZOrder": 0,
105 | "_tag": -1,
106 | "_opacityModifyRGB": false,
107 | "_id": "91f967SPsBLE7EFDB4USPdE",
108 | "_active": true,
109 | "_components": [
110 | {
111 | "__id__": 21
112 | }
113 | ],
114 | "_prefab": null,
115 | "groupIndex": 0
116 | },
117 | {
118 | "__type__": "cc.Node",
119 | "_name": "Background",
120 | "_objFlags": 0,
121 | "_opacity": 255,
122 | "_color": {
123 | "__type__": "cc.Color",
124 | "r": 255,
125 | "g": 255,
126 | "b": 255,
127 | "a": 255
128 | },
129 | "_cascadeOpacityEnabled": true,
130 | "_parent": {
131 | "__id__": 2
132 | },
133 | "_anchorPoint": {
134 | "__type__": "cc.Vec2",
135 | "x": 0.5,
136 | "y": 0.5
137 | },
138 | "_contentSize": {
139 | "__type__": "cc.Size",
140 | "width": 800,
141 | "height": 416
142 | },
143 | "_children": [],
144 | "_rotationX": 0,
145 | "_rotationY": 0,
146 | "_scaleX": 1,
147 | "_scaleY": 1,
148 | "_position": {
149 | "__type__": "cc.Vec2",
150 | "x": 0,
151 | "y": 0
152 | },
153 | "_skewX": 0,
154 | "_skewY": 0,
155 | "_localZOrder": 0,
156 | "_globalZOrder": 0,
157 | "_tag": -1,
158 | "_opacityModifyRGB": false,
159 | "_id": "52a640bPTBCdr6SFltSZ26p",
160 | "_active": true,
161 | "_components": [
162 | {
163 | "__id__": 4
164 | }
165 | ],
166 | "_prefab": null,
167 | "groupIndex": 0
168 | },
169 | {
170 | "__type__": "cc.Sprite",
171 | "_name": "",
172 | "_objFlags": 0,
173 | "node": {
174 | "__id__": 3
175 | },
176 | "_enabled": true,
177 | "_spriteFrame": {
178 | "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
179 | },
180 | "_type": 0,
181 | "_sizeMode": 0,
182 | "_fillType": 0,
183 | "_fillCenter": {
184 | "__type__": "cc.Vec2",
185 | "x": 0,
186 | "y": 0
187 | },
188 | "_fillStart": 0,
189 | "_fillRange": 0,
190 | "_isTrimmedMode": true,
191 | "_srcBlendFactor": 770,
192 | "_dstBlendFactor": 771,
193 | "_atlas": null
194 | },
195 | {
196 | "__type__": "cc.Node",
197 | "_name": "CurTankLabel",
198 | "_objFlags": 0,
199 | "_opacity": 255,
200 | "_color": {
201 | "__type__": "cc.Color",
202 | "r": 0,
203 | "g": 0,
204 | "b": 0,
205 | "a": 255
206 | },
207 | "_cascadeOpacityEnabled": true,
208 | "_parent": {
209 | "__id__": 2
210 | },
211 | "_anchorPoint": {
212 | "__type__": "cc.Vec2",
213 | "x": 0.5,
214 | "y": 0.5
215 | },
216 | "_contentSize": {
217 | "__type__": "cc.Size",
218 | "width": 97.87,
219 | "height": 40
220 | },
221 | "_children": [],
222 | "_rotationX": 0,
223 | "_rotationY": 0,
224 | "_scaleX": 1,
225 | "_scaleY": 1,
226 | "_position": {
227 | "__type__": "cc.Vec2",
228 | "x": 0,
229 | "y": 48.7
230 | },
231 | "_skewX": 0,
232 | "_skewY": 0,
233 | "_localZOrder": 0,
234 | "_globalZOrder": 0,
235 | "_tag": -1,
236 | "_opacityModifyRGB": false,
237 | "_id": "f3d13wc1UlA97ZPoJgp6ORH",
238 | "_active": true,
239 | "_components": [
240 | {
241 | "__id__": 6
242 | }
243 | ],
244 | "_prefab": null,
245 | "groupIndex": 0
246 | },
247 | {
248 | "__type__": "cc.Label",
249 | "_name": "",
250 | "_objFlags": 0,
251 | "node": {
252 | "__id__": 5
253 | },
254 | "_enabled": true,
255 | "_useOriginalSize": false,
256 | "_actualFontSize": 40,
257 | "_fontSize": 40,
258 | "_lineHeight": 40,
259 | "_enableWrapText": true,
260 | "_N$file": null,
261 | "_isSystemFontUsed": true,
262 | "_N$string": "Label",
263 | "_N$horizontalAlign": 1,
264 | "_N$verticalAlign": 1,
265 | "_N$overflow": 0
266 | },
267 | {
268 | "__type__": "cc.Node",
269 | "_name": "PLayButton",
270 | "_objFlags": 0,
271 | "_opacity": 255,
272 | "_color": {
273 | "__type__": "cc.Color",
274 | "r": 255,
275 | "g": 255,
276 | "b": 255,
277 | "a": 255
278 | },
279 | "_cascadeOpacityEnabled": true,
280 | "_parent": {
281 | "__id__": 2
282 | },
283 | "_anchorPoint": {
284 | "__type__": "cc.Vec2",
285 | "x": 0.5,
286 | "y": 0.5
287 | },
288 | "_contentSize": {
289 | "__type__": "cc.Size",
290 | "width": 237,
291 | "height": 214
292 | },
293 | "_children": [],
294 | "_rotationX": 0,
295 | "_rotationY": 0,
296 | "_scaleX": 0.3,
297 | "_scaleY": 0.3,
298 | "_position": {
299 | "__type__": "cc.Vec2",
300 | "x": 0,
301 | "y": -49.7
302 | },
303 | "_skewX": 0,
304 | "_skewY": 0,
305 | "_localZOrder": 0,
306 | "_globalZOrder": 0,
307 | "_tag": -1,
308 | "_opacityModifyRGB": false,
309 | "_id": "29827lqhI1OdI4oA51oGffs",
310 | "_active": true,
311 | "_components": [
312 | {
313 | "__id__": 8
314 | },
315 | {
316 | "__id__": 9
317 | }
318 | ],
319 | "_prefab": null,
320 | "groupIndex": 0
321 | },
322 | {
323 | "__type__": "cc.Sprite",
324 | "_name": "",
325 | "_objFlags": 0,
326 | "node": {
327 | "__id__": 7
328 | },
329 | "_enabled": true,
330 | "_spriteFrame": {
331 | "__uuid__": "ec638271-99eb-4a35-9eb8-f71535a99187"
332 | },
333 | "_type": 0,
334 | "_sizeMode": 0,
335 | "_fillType": 0,
336 | "_fillCenter": {
337 | "__type__": "cc.Vec2",
338 | "x": 0,
339 | "y": 0
340 | },
341 | "_fillStart": 0,
342 | "_fillRange": 0,
343 | "_isTrimmedMode": true,
344 | "_srcBlendFactor": 770,
345 | "_dstBlendFactor": 771,
346 | "_atlas": null
347 | },
348 | {
349 | "__type__": "cc.Button",
350 | "_name": "",
351 | "_objFlags": 0,
352 | "node": {
353 | "__id__": 7
354 | },
355 | "_enabled": true,
356 | "transition": 2,
357 | "pressedColor": {
358 | "__type__": "cc.Color",
359 | "r": 255,
360 | "g": 255,
361 | "b": 255,
362 | "a": 255
363 | },
364 | "hoverColor": {
365 | "__type__": "cc.Color",
366 | "r": 255,
367 | "g": 255,
368 | "b": 255,
369 | "a": 255
370 | },
371 | "duration": 0.1,
372 | "zoomScale": 1.2,
373 | "pressedSprite": {
374 | "__uuid__": "ec638271-99eb-4a35-9eb8-f71535a99187"
375 | },
376 | "hoverSprite": {
377 | "__uuid__": "ec638271-99eb-4a35-9eb8-f71535a99187"
378 | },
379 | "clickEvents": [
380 | {
381 | "__id__": 10
382 | }
383 | ],
384 | "_N$interactable": true,
385 | "_N$enableAutoGrayEffect": false,
386 | "_N$normalColor": {
387 | "__type__": "cc.Color",
388 | "r": 255,
389 | "g": 255,
390 | "b": 255,
391 | "a": 255
392 | },
393 | "_N$disabledColor": {
394 | "__type__": "cc.Color",
395 | "r": 255,
396 | "g": 255,
397 | "b": 255,
398 | "a": 255
399 | },
400 | "_N$normalSprite": {
401 | "__uuid__": "ec638271-99eb-4a35-9eb8-f71535a99187"
402 | },
403 | "_N$disabledSprite": {
404 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
405 | },
406 | "_N$target": {
407 | "__id__": 7
408 | }
409 | },
410 | {
411 | "__type__": "cc.ClickEvent",
412 | "target": {
413 | "__id__": 11
414 | },
415 | "component": "ChoiceScript",
416 | "handler": "onPlay",
417 | "customEventData": ""
418 | },
419 | {
420 | "__type__": "cc.Node",
421 | "_name": "ChoiceScript",
422 | "_objFlags": 0,
423 | "_opacity": 255,
424 | "_color": {
425 | "__type__": "cc.Color",
426 | "r": 255,
427 | "g": 255,
428 | "b": 255,
429 | "a": 255
430 | },
431 | "_cascadeOpacityEnabled": true,
432 | "_parent": {
433 | "__id__": 1
434 | },
435 | "_anchorPoint": {
436 | "__type__": "cc.Vec2",
437 | "x": 0.5,
438 | "y": 0.5
439 | },
440 | "_contentSize": {
441 | "__type__": "cc.Size",
442 | "width": 0,
443 | "height": 0
444 | },
445 | "_children": [],
446 | "_rotationX": 0,
447 | "_rotationY": 0,
448 | "_scaleX": 1,
449 | "_scaleY": 1,
450 | "_position": {
451 | "__type__": "cc.Vec2",
452 | "x": 0,
453 | "y": 0
454 | },
455 | "_skewX": 0,
456 | "_skewY": 0,
457 | "_localZOrder": 0,
458 | "_globalZOrder": 0,
459 | "_tag": -1,
460 | "_opacityModifyRGB": false,
461 | "_id": "ece46EIEExBBpFZmuD5LWuc",
462 | "_active": true,
463 | "_components": [
464 | {
465 | "__id__": 12
466 | }
467 | ],
468 | "_prefab": null,
469 | "groupIndex": 0
470 | },
471 | {
472 | "__type__": "e3410Xfj7dGI7X2/mwrPXFs",
473 | "_name": "",
474 | "_objFlags": 0,
475 | "node": {
476 | "__id__": 11
477 | },
478 | "_enabled": true,
479 | "curTankLabel": {
480 | "__id__": 6
481 | }
482 | },
483 | {
484 | "__type__": "cc.Node",
485 | "_name": "UpButton",
486 | "_objFlags": 0,
487 | "_opacity": 255,
488 | "_color": {
489 | "__type__": "cc.Color",
490 | "r": 255,
491 | "g": 255,
492 | "b": 255,
493 | "a": 255
494 | },
495 | "_cascadeOpacityEnabled": true,
496 | "_parent": {
497 | "__id__": 2
498 | },
499 | "_anchorPoint": {
500 | "__type__": "cc.Vec2",
501 | "x": 0.5,
502 | "y": 0.5
503 | },
504 | "_contentSize": {
505 | "__type__": "cc.Size",
506 | "width": 237,
507 | "height": 214
508 | },
509 | "_children": [],
510 | "_rotationX": 0,
511 | "_rotationY": 0,
512 | "_scaleX": 0.3,
513 | "_scaleY": 0.3,
514 | "_position": {
515 | "__type__": "cc.Vec2",
516 | "x": -102.4,
517 | "y": -49.7
518 | },
519 | "_skewX": 0,
520 | "_skewY": 0,
521 | "_localZOrder": 0,
522 | "_globalZOrder": 0,
523 | "_tag": -1,
524 | "_opacityModifyRGB": false,
525 | "_id": "3708b8hFa9AX6takWDIxRwi",
526 | "_active": true,
527 | "_components": [
528 | {
529 | "__id__": 14
530 | },
531 | {
532 | "__id__": 15
533 | }
534 | ],
535 | "_prefab": null,
536 | "groupIndex": 0
537 | },
538 | {
539 | "__type__": "cc.Sprite",
540 | "_name": "",
541 | "_objFlags": 0,
542 | "node": {
543 | "__id__": 13
544 | },
545 | "_enabled": true,
546 | "_spriteFrame": {
547 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
548 | },
549 | "_type": 0,
550 | "_sizeMode": 0,
551 | "_fillType": 0,
552 | "_fillCenter": {
553 | "__type__": "cc.Vec2",
554 | "x": 0,
555 | "y": 0
556 | },
557 | "_fillStart": 0,
558 | "_fillRange": 0,
559 | "_isTrimmedMode": true,
560 | "_srcBlendFactor": 770,
561 | "_dstBlendFactor": 771,
562 | "_atlas": null
563 | },
564 | {
565 | "__type__": "cc.Button",
566 | "_name": "",
567 | "_objFlags": 0,
568 | "node": {
569 | "__id__": 13
570 | },
571 | "_enabled": true,
572 | "transition": 2,
573 | "pressedColor": {
574 | "__type__": "cc.Color",
575 | "r": 255,
576 | "g": 255,
577 | "b": 255,
578 | "a": 255
579 | },
580 | "hoverColor": {
581 | "__type__": "cc.Color",
582 | "r": 255,
583 | "g": 255,
584 | "b": 255,
585 | "a": 255
586 | },
587 | "duration": 0.1,
588 | "zoomScale": 1.2,
589 | "pressedSprite": {
590 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
591 | },
592 | "hoverSprite": {
593 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
594 | },
595 | "clickEvents": [
596 | {
597 | "__id__": 16
598 | }
599 | ],
600 | "_N$interactable": true,
601 | "_N$enableAutoGrayEffect": false,
602 | "_N$normalColor": {
603 | "__type__": "cc.Color",
604 | "r": 255,
605 | "g": 255,
606 | "b": 255,
607 | "a": 255
608 | },
609 | "_N$disabledColor": {
610 | "__type__": "cc.Color",
611 | "r": 255,
612 | "g": 255,
613 | "b": 255,
614 | "a": 255
615 | },
616 | "_N$normalSprite": {
617 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
618 | },
619 | "_N$disabledSprite": {
620 | "__uuid__": "49aed644-1a20-4492-992a-6e7696a57fd5"
621 | },
622 | "_N$target": {
623 | "__id__": 13
624 | }
625 | },
626 | {
627 | "__type__": "cc.ClickEvent",
628 | "target": {
629 | "__id__": 11
630 | },
631 | "component": "ChoiceScript",
632 | "handler": "onUp",
633 | "customEventData": ""
634 | },
635 | {
636 | "__type__": "cc.Node",
637 | "_name": "NextButton",
638 | "_objFlags": 0,
639 | "_opacity": 255,
640 | "_color": {
641 | "__type__": "cc.Color",
642 | "r": 255,
643 | "g": 255,
644 | "b": 255,
645 | "a": 255
646 | },
647 | "_cascadeOpacityEnabled": true,
648 | "_parent": {
649 | "__id__": 2
650 | },
651 | "_anchorPoint": {
652 | "__type__": "cc.Vec2",
653 | "x": 0.5,
654 | "y": 0.5
655 | },
656 | "_contentSize": {
657 | "__type__": "cc.Size",
658 | "width": 237,
659 | "height": 214
660 | },
661 | "_children": [],
662 | "_rotationX": 0,
663 | "_rotationY": 0,
664 | "_scaleX": 0.3,
665 | "_scaleY": 0.3,
666 | "_position": {
667 | "__type__": "cc.Vec2",
668 | "x": 100.4,
669 | "y": -49.7
670 | },
671 | "_skewX": 0,
672 | "_skewY": 0,
673 | "_localZOrder": 0,
674 | "_globalZOrder": 0,
675 | "_tag": -1,
676 | "_opacityModifyRGB": false,
677 | "_id": "d2ccbaoJWFH3aXon3f5Fv7L",
678 | "_active": true,
679 | "_components": [
680 | {
681 | "__id__": 18
682 | },
683 | {
684 | "__id__": 19
685 | }
686 | ],
687 | "_prefab": null,
688 | "groupIndex": 0
689 | },
690 | {
691 | "__type__": "cc.Sprite",
692 | "_name": "",
693 | "_objFlags": 0,
694 | "node": {
695 | "__id__": 17
696 | },
697 | "_enabled": true,
698 | "_spriteFrame": {
699 | "__uuid__": "a261b39d-6d65-4934-a05e-2beda8a52b84"
700 | },
701 | "_type": 0,
702 | "_sizeMode": 0,
703 | "_fillType": 0,
704 | "_fillCenter": {
705 | "__type__": "cc.Vec2",
706 | "x": 0,
707 | "y": 0
708 | },
709 | "_fillStart": 0,
710 | "_fillRange": 0,
711 | "_isTrimmedMode": true,
712 | "_srcBlendFactor": 770,
713 | "_dstBlendFactor": 771,
714 | "_atlas": null
715 | },
716 | {
717 | "__type__": "cc.Button",
718 | "_name": "",
719 | "_objFlags": 0,
720 | "node": {
721 | "__id__": 17
722 | },
723 | "_enabled": true,
724 | "transition": 2,
725 | "pressedColor": {
726 | "__type__": "cc.Color",
727 | "r": 255,
728 | "g": 255,
729 | "b": 255,
730 | "a": 255
731 | },
732 | "hoverColor": {
733 | "__type__": "cc.Color",
734 | "r": 255,
735 | "g": 255,
736 | "b": 255,
737 | "a": 255
738 | },
739 | "duration": 0.1,
740 | "zoomScale": 1.2,
741 | "pressedSprite": {
742 | "__uuid__": "a261b39d-6d65-4934-a05e-2beda8a52b84"
743 | },
744 | "hoverSprite": {
745 | "__uuid__": "a261b39d-6d65-4934-a05e-2beda8a52b84"
746 | },
747 | "clickEvents": [
748 | {
749 | "__id__": 20
750 | }
751 | ],
752 | "_N$interactable": true,
753 | "_N$enableAutoGrayEffect": false,
754 | "_N$normalColor": {
755 | "__type__": "cc.Color",
756 | "r": 255,
757 | "g": 255,
758 | "b": 255,
759 | "a": 255
760 | },
761 | "_N$disabledColor": {
762 | "__type__": "cc.Color",
763 | "r": 255,
764 | "g": 255,
765 | "b": 255,
766 | "a": 255
767 | },
768 | "_N$normalSprite": {
769 | "__uuid__": "a261b39d-6d65-4934-a05e-2beda8a52b84"
770 | },
771 | "_N$disabledSprite": {
772 | "__uuid__": "a261b39d-6d65-4934-a05e-2beda8a52b84"
773 | },
774 | "_N$target": {
775 | "__id__": 17
776 | }
777 | },
778 | {
779 | "__type__": "cc.ClickEvent",
780 | "target": {
781 | "__id__": 11
782 | },
783 | "component": "ChoiceScript",
784 | "handler": "onNext",
785 | "customEventData": ""
786 | },
787 | {
788 | "__type__": "cc.Canvas",
789 | "_name": "",
790 | "_objFlags": 0,
791 | "node": {
792 | "__id__": 2
793 | },
794 | "_enabled": true,
795 | "_designResolution": {
796 | "__type__": "cc.Size",
797 | "width": 600,
798 | "height": 416
799 | },
800 | "_fitWidth": false,
801 | "_fitHeight": true
802 | }
803 | ]
--------------------------------------------------------------------------------
/assets/scenes/ChoiceScene.fire.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "cdb752f3-0c4b-4d3b-aad0-62c8f391a2c3",
4 | "asyncLoadAssets": false,
5 | "autoReleaseAssets": true,
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/scenes/CityScene.fire.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "50e60d4e-c343-4060-a4d8-8cd47d302c5c",
4 | "asyncLoadAssets": false,
5 | "autoReleaseAssets": true,
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/scenes/StartScene.fire:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "__type__": "cc.SceneAsset",
4 | "_name": "",
5 | "_objFlags": 0,
6 | "_rawFiles": null,
7 | "scene": {
8 | "__id__": 1
9 | }
10 | },
11 | {
12 | "__type__": "cc.Scene",
13 | "_objFlags": 0,
14 | "_opacity": 255,
15 | "_color": {
16 | "__type__": "cc.Color",
17 | "r": 255,
18 | "g": 255,
19 | "b": 255,
20 | "a": 255
21 | },
22 | "_cascadeOpacityEnabled": true,
23 | "_parent": null,
24 | "_anchorPoint": {
25 | "__type__": "cc.Vec2",
26 | "x": 0,
27 | "y": 0
28 | },
29 | "_contentSize": {
30 | "__type__": "cc.Size",
31 | "width": 0,
32 | "height": 0
33 | },
34 | "_children": [
35 | {
36 | "__id__": 2
37 | },
38 | {
39 | "__id__": 9
40 | }
41 | ],
42 | "_localZOrder": 0,
43 | "_globalZOrder": 0,
44 | "_tag": -1,
45 | "_opacityModifyRGB": false,
46 | "_id": "1a638409-0db1-4127-bac7-947b76afed54",
47 | "autoReleaseAssets": true
48 | },
49 | {
50 | "__type__": "cc.Node",
51 | "_name": "Canvas",
52 | "_objFlags": 0,
53 | "_opacity": 255,
54 | "_color": {
55 | "__type__": "cc.Color",
56 | "r": 255,
57 | "g": 255,
58 | "b": 255,
59 | "a": 255
60 | },
61 | "_cascadeOpacityEnabled": true,
62 | "_parent": {
63 | "__id__": 1
64 | },
65 | "_anchorPoint": {
66 | "__type__": "cc.Vec2",
67 | "x": 0.5,
68 | "y": 0.5
69 | },
70 | "_contentSize": {
71 | "__type__": "cc.Size",
72 | "width": 600,
73 | "height": 416
74 | },
75 | "_children": [
76 | {
77 | "__id__": 3
78 | },
79 | {
80 | "__id__": 5
81 | }
82 | ],
83 | "_rotationX": 0,
84 | "_rotationY": 0,
85 | "_scaleX": 1,
86 | "_scaleY": 1,
87 | "_position": {
88 | "__type__": "cc.Vec2",
89 | "x": 300,
90 | "y": 208
91 | },
92 | "_skewX": 0,
93 | "_skewY": 0,
94 | "_localZOrder": 0,
95 | "_globalZOrder": 0,
96 | "_tag": -1,
97 | "_opacityModifyRGB": false,
98 | "_id": "6b4cdPSZWZO95SdGhBkhpwt",
99 | "_active": true,
100 | "_components": [
101 | {
102 | "__id__": 11
103 | }
104 | ],
105 | "_prefab": null,
106 | "groupIndex": 0
107 | },
108 | {
109 | "__type__": "cc.Node",
110 | "_name": "ScenceStart",
111 | "_objFlags": 0,
112 | "_opacity": 255,
113 | "_color": {
114 | "__type__": "cc.Color",
115 | "r": 255,
116 | "g": 255,
117 | "b": 255,
118 | "a": 255
119 | },
120 | "_cascadeOpacityEnabled": true,
121 | "_parent": {
122 | "__id__": 2
123 | },
124 | "_anchorPoint": {
125 | "__type__": "cc.Vec2",
126 | "x": 0.5,
127 | "y": 0.5
128 | },
129 | "_contentSize": {
130 | "__type__": "cc.Size",
131 | "width": 600,
132 | "height": 416
133 | },
134 | "_children": [],
135 | "_rotationX": 0,
136 | "_rotationY": 0,
137 | "_scaleX": 1,
138 | "_scaleY": 1,
139 | "_position": {
140 | "__type__": "cc.Vec2",
141 | "x": 0,
142 | "y": 0
143 | },
144 | "_skewX": 0,
145 | "_skewY": 0,
146 | "_localZOrder": 0,
147 | "_globalZOrder": 0,
148 | "_tag": -1,
149 | "_opacityModifyRGB": false,
150 | "_id": "6a98b3rSzFA0bpDF/7QuQO8",
151 | "_active": true,
152 | "_components": [
153 | {
154 | "__id__": 4
155 | }
156 | ],
157 | "_prefab": null,
158 | "groupIndex": 0
159 | },
160 | {
161 | "__type__": "cc.Sprite",
162 | "_name": "",
163 | "_objFlags": 0,
164 | "node": {
165 | "__id__": 3
166 | },
167 | "_enabled": true,
168 | "_spriteFrame": {
169 | "__uuid__": "e1c94d17-aa29-4a72-b933-6d884ad1f7cb"
170 | },
171 | "_type": 0,
172 | "_sizeMode": 0,
173 | "_fillType": 0,
174 | "_fillCenter": {
175 | "__type__": "cc.Vec2",
176 | "x": 0,
177 | "y": 0
178 | },
179 | "_fillStart": 0,
180 | "_fillRange": 0,
181 | "_isTrimmedMode": true,
182 | "_srcBlendFactor": 770,
183 | "_dstBlendFactor": 771,
184 | "_atlas": null
185 | },
186 | {
187 | "__type__": "cc.Node",
188 | "_name": "StartButton",
189 | "_objFlags": 0,
190 | "_opacity": 255,
191 | "_color": {
192 | "__type__": "cc.Color",
193 | "r": 255,
194 | "g": 255,
195 | "b": 255,
196 | "a": 255
197 | },
198 | "_cascadeOpacityEnabled": true,
199 | "_parent": {
200 | "__id__": 2
201 | },
202 | "_anchorPoint": {
203 | "__type__": "cc.Vec2",
204 | "x": 0.5,
205 | "y": 0.5
206 | },
207 | "_contentSize": {
208 | "__type__": "cc.Size",
209 | "width": 100,
210 | "height": 40
211 | },
212 | "_children": [],
213 | "_rotationX": 0,
214 | "_rotationY": 0,
215 | "_scaleX": 1,
216 | "_scaleY": 1,
217 | "_position": {
218 | "__type__": "cc.Vec2",
219 | "x": 0,
220 | "y": -100
221 | },
222 | "_skewX": 0,
223 | "_skewY": 0,
224 | "_localZOrder": 0,
225 | "_globalZOrder": 0,
226 | "_tag": -1,
227 | "_opacityModifyRGB": false,
228 | "_id": "713734EJPRM/6vAw2NPJo/P",
229 | "_active": true,
230 | "_components": [
231 | {
232 | "__id__": 6
233 | },
234 | {
235 | "__id__": 7
236 | }
237 | ],
238 | "_prefab": null,
239 | "groupIndex": 0
240 | },
241 | {
242 | "__type__": "cc.Sprite",
243 | "_name": "",
244 | "_objFlags": 0,
245 | "node": {
246 | "__id__": 5
247 | },
248 | "_enabled": true,
249 | "_spriteFrame": {
250 | "__uuid__": "2744d12a-ca68-4f97-9d94-0833f7e848e7"
251 | },
252 | "_type": 1,
253 | "_sizeMode": 0,
254 | "_fillType": 0,
255 | "_fillCenter": {
256 | "__type__": "cc.Vec2",
257 | "x": 0,
258 | "y": 0
259 | },
260 | "_fillStart": 0,
261 | "_fillRange": 0,
262 | "_isTrimmedMode": true,
263 | "_srcBlendFactor": 770,
264 | "_dstBlendFactor": 771,
265 | "_atlas": null
266 | },
267 | {
268 | "__type__": "cc.Button",
269 | "_name": "",
270 | "_objFlags": 0,
271 | "node": {
272 | "__id__": 5
273 | },
274 | "_enabled": true,
275 | "transition": 2,
276 | "pressedColor": {
277 | "__type__": "cc.Color",
278 | "r": 255,
279 | "g": 255,
280 | "b": 255,
281 | "a": 255
282 | },
283 | "hoverColor": {
284 | "__type__": "cc.Color",
285 | "r": 255,
286 | "g": 255,
287 | "b": 255,
288 | "a": 255
289 | },
290 | "duration": 0.1,
291 | "zoomScale": 1.2,
292 | "pressedSprite": {
293 | "__uuid__": "ed50e1a0-abd3-445c-ac1b-232a1acd882f"
294 | },
295 | "hoverSprite": {
296 | "__uuid__": "ed50e1a0-abd3-445c-ac1b-232a1acd882f"
297 | },
298 | "clickEvents": [
299 | {
300 | "__id__": 8
301 | }
302 | ],
303 | "_N$interactable": true,
304 | "_N$enableAutoGrayEffect": false,
305 | "_N$normalColor": {
306 | "__type__": "cc.Color",
307 | "r": 255,
308 | "g": 255,
309 | "b": 255,
310 | "a": 255
311 | },
312 | "_N$disabledColor": {
313 | "__type__": "cc.Color",
314 | "r": 255,
315 | "g": 255,
316 | "b": 255,
317 | "a": 255
318 | },
319 | "_N$normalSprite": {
320 | "__uuid__": "2744d12a-ca68-4f97-9d94-0833f7e848e7"
321 | },
322 | "_N$disabledSprite": {
323 | "__uuid__": "2744d12a-ca68-4f97-9d94-0833f7e848e7"
324 | },
325 | "_N$target": {
326 | "__id__": 5
327 | }
328 | },
329 | {
330 | "__type__": "cc.ClickEvent",
331 | "target": {
332 | "__id__": 9
333 | },
334 | "component": "StartScript",
335 | "handler": "loadChoiceScene",
336 | "customEventData": ""
337 | },
338 | {
339 | "__type__": "cc.Node",
340 | "_name": "StartScript",
341 | "_objFlags": 0,
342 | "_opacity": 255,
343 | "_color": {
344 | "__type__": "cc.Color",
345 | "r": 255,
346 | "g": 255,
347 | "b": 255,
348 | "a": 255
349 | },
350 | "_cascadeOpacityEnabled": true,
351 | "_parent": {
352 | "__id__": 1
353 | },
354 | "_anchorPoint": {
355 | "__type__": "cc.Vec2",
356 | "x": 0.5,
357 | "y": 0.5
358 | },
359 | "_contentSize": {
360 | "__type__": "cc.Size",
361 | "width": 0,
362 | "height": 0
363 | },
364 | "_children": [],
365 | "_rotationX": 0,
366 | "_rotationY": 0,
367 | "_scaleX": 1,
368 | "_scaleY": 1,
369 | "_position": {
370 | "__type__": "cc.Vec2",
371 | "x": 0,
372 | "y": 0
373 | },
374 | "_skewX": 0,
375 | "_skewY": 0,
376 | "_localZOrder": 0,
377 | "_globalZOrder": 0,
378 | "_tag": -1,
379 | "_opacityModifyRGB": false,
380 | "_id": "363f0Fj2mxHQJeixnVdXwPp",
381 | "_active": true,
382 | "_components": [
383 | {
384 | "__id__": 10
385 | }
386 | ],
387 | "_prefab": null,
388 | "groupIndex": 0
389 | },
390 | {
391 | "__type__": "f8dfbi1cPZJIqQT0xgFEygS",
392 | "_name": "",
393 | "_objFlags": 0,
394 | "node": {
395 | "__id__": 9
396 | },
397 | "_enabled": true
398 | },
399 | {
400 | "__type__": "cc.Canvas",
401 | "_name": "",
402 | "_objFlags": 0,
403 | "node": {
404 | "__id__": 2
405 | },
406 | "_enabled": true,
407 | "_designResolution": {
408 | "__type__": "cc.Size",
409 | "width": 600,
410 | "height": 416
411 | },
412 | "_fitWidth": true,
413 | "_fitHeight": false
414 | }
415 | ]
--------------------------------------------------------------------------------
/assets/scenes/StartScene.fire.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.0",
3 | "uuid": "1a638409-0db1-4127-bac7-947b76afed54",
4 | "asyncLoadAssets": false,
5 | "autoReleaseAssets": true,
6 | "subMetas": {}
7 | }
--------------------------------------------------------------------------------
/assets/scripts.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "190d9473-9616-4136-8e12-b16d39f60146",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/scripts/AssetsLoadScript.js:
--------------------------------------------------------------------------------
1 | cc.Class({
2 | extends: cc.Component,
3 |
4 | properties: {
5 | // foo: {
6 | // default: null, // The default value will be used only when the component attaching
7 | // to a node for the first time
8 | // url: cc.Texture2D, // optional, default is typeof default
9 | // serializable: true, // optional, default is true
10 | // visible: true, // optional, default is true
11 | // displayName: 'Foo', // optional
12 | // readonly: false, // optional, default is false
13 | // },
14 | // ...
15 | numLabel: cc.Label,
16 |
17 | },
18 |
19 | // use this for initialization
20 | onLoad: function () {
21 |
22 | var self = this;
23 |
24 | var urls = [
25 | {
26 | id: "tank",
27 | url: cc.url.raw("resources/tank.plist")
28 | }
29 | ];
30 |
31 | cc.LoadingItems.create(cc.loader, urls, function (completedCount, totalCount, item) {
32 | var progress = (100 * completedCount / totalCount).toFixed(2);
33 | cc.log(progress + '%');
34 | self.numLabel.string = Math.abs(progress) + '%';
35 | console.log("=========="+item.url);
36 |
37 | }, function (errors, items) {
38 | if (errors) {
39 | for (var i = 0; i < errors.length; ++i) {
40 | cc.log('Error url: ' + errors[i] + ', error: ' + items.getError(errors[i]));
41 | }
42 | }
43 | else {
44 | console.log(items.totalCount);
45 |
46 | }
47 | })
48 |
49 |
50 | },
51 |
52 | // called every frame, uncomment this function to activate update callback
53 | // update: function (dt) {
54 |
55 | // },
56 | });
57 |
--------------------------------------------------------------------------------
/assets/scripts/AssetsLoadScript.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "dbc428b4-c655-4a9d-aa7f-2db6fe3cf1f3",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/BlastScript.js:
--------------------------------------------------------------------------------
1 | cc.Class({
2 | extends: cc.Component,
3 |
4 | properties: {
5 | // foo: {
6 | // default: null, // The default value will be used only when the component attaching
7 | // to a node for the first time
8 | // url: cc.Texture2D, // optional, default is typeof default
9 | // serializable: true, // optional, default is true
10 | // visible: true, // optional, default is true
11 | // displayName: 'Foo', // optional
12 | // readonly: false, // optional, default is false
13 | // },
14 | // ...
15 | },
16 |
17 | // use this for initialization
18 | onLoad: function () {
19 |
20 | },
21 |
22 | playFinish: function () {
23 | this.node.parent = null;
24 | },
25 |
26 | // called every frame, uncomment this function to activate update callback
27 | // update: function (dt) {
28 |
29 | // },
30 | });
31 |
--------------------------------------------------------------------------------
/assets/scripts/BlastScript.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "5b5e108e-a3f7-41b1-b900-fcd83d8da12f",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/BulletScript.js:
--------------------------------------------------------------------------------
1 | var TankType = require("TankData").tankType;
2 |
3 | cc.Class({
4 | extends: cc.Component,
5 |
6 | properties: {
7 | // foo: {
8 | // default: null, // The default value will be used only when the component attaching
9 | // to a node for the first time
10 | // url: cc.Texture2D, // optional, default is typeof default
11 | // serializable: true, // optional, default is true
12 | // visible: true, // optional, default is true
13 | // displayName: 'Foo', // optional
14 | // readonly: false, // optional, default is false
15 | // },
16 | // ...
17 | speed: 20,
18 | playerID: {
19 | default: -1,
20 | visible: false
21 | }
22 |
23 | },
24 |
25 | // use this for initialization
26 | onLoad: function () {
27 | this._cityCtrl = cc.find("/CityScript").getComponent("CityScript");
28 | },
29 |
30 | //对象池get获取对象是会调用此方法
31 | reuse: function (bulletPool) {
32 | this.bulletPool = bulletPool; // get 中传入的子弹对象池
33 | },
34 |
35 | //子弹移动
36 | bulletMove: function () {
37 | //偏移
38 | var angle = 90 - this.node.rotation;
39 | if(angle==0 || angle==180 || angle==90){
40 | this.offset = cc.v2(Math.floor(Math.cos(Math.PI/180*angle)),
41 | Math.floor(Math.sin(Math.PI/180*angle)));
42 | }else if(angle==270){
43 | this.offset = cc.v2(Math.ceil(Math.cos(Math.PI/180*angle)),
44 | Math.floor(Math.sin(Math.PI/180*angle)));
45 | }else {
46 | this.offset = cc.v2(Math.cos(Math.PI/180*angle),
47 | Math.sin(Math.PI/180*angle));
48 | }
49 | },
50 |
51 | //子弹爆炸
52 | bulletBoom: function () {
53 | this.node.parent = null;
54 | this.bulletPool.put(this.node);
55 | },
56 |
57 | // called every frame, uncomment this function to activate update callback
58 | update: function (dt) {
59 | //移动
60 | this.node.x += this.offset.x*this.speed*dt;
61 | this.node.y += this.offset.y*this.speed*dt;
62 |
63 | //检测碰撞
64 | var rect = this.node.getBoundingBox();
65 | if(this._cityCtrl.collisionTest(rect, true)
66 | || this.collisionTank(rect)){
67 | //子弹爆炸
68 | this.bulletBoom();
69 | }
70 |
71 | },
72 |
73 | //判断与坦克碰撞
74 | collisionTank: function(rect) {
75 | for(var i=0; i 3){
49 | return;
50 | }
51 | cc.gameData.curTank += 1;
52 | this.updateCurTank(cc.gameData.curTank);
53 | },
54 |
55 | updateCurTank: function (tankIndex) {
56 | this.curTankLabel.string = "Tank "+ tankIndex;
57 | },
58 |
59 | onDestroy:function(){
60 | this.socket.removeAllListeners('joinHouse');
61 | },
62 |
63 |
64 | // called every frame, uncomment this function to activate update callback
65 | // update: function (dt) {
66 |
67 | // },
68 | });
69 |
--------------------------------------------------------------------------------
/assets/scripts/ChoiceScript.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "e34105df-8fb7-4623-b5f6-fe6c2b3d716c",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/CityScript.js:
--------------------------------------------------------------------------------
1 | var TankData = require("TankData");
2 |
3 | var TankType = TankData.tankType;
4 | var PlayerType = TankData.playerType;
5 |
6 | cc.Class({
7 | extends: cc.Component,
8 |
9 | properties: {
10 |
11 | //地图
12 | curMap: cc.TiledMap,
13 | //摇杆
14 | yaogan: cc.Node,
15 |
16 | //子弹预制体
17 | bullet: cc.Prefab,
18 | //坦克预制体
19 | tank: {
20 | default: null,
21 | type: cc.Prefab,
22 | },
23 | //最大数量
24 | maxCount: 5,
25 | //出生地
26 | bornPoses: {
27 | default: [],
28 | type: cc.Vec2,
29 | },
30 | //坦克皮肤
31 | spriteFrames: {
32 | default: [],
33 | type: cc.SpriteFrame,
34 | },
35 | //坦克移动速度
36 | tankSpeeds: {
37 | default: [],
38 | type: cc.Float,
39 | },
40 | //坦克子弹发射间隔时间
41 | tankFireTimes: {
42 | default: [],
43 | type: cc.Float,
44 | },
45 |
46 | //坦克血量
47 | tankBloods: {
48 | default: [],
49 | type: cc.Integer,
50 | },
51 |
52 |
53 | },
54 |
55 | // use this for initialization
56 | onLoad: function () {
57 | //获取摇杆控制组件
58 | this._joystickCtrl = this.yaogan.getComponent("JoystickCtrl");
59 | //获取地图 TiledMap 组件
60 | this._tiledMap = this.curMap.getComponent('cc.TiledMap');
61 | },
62 |
63 | start: function(err){
64 | if(err){
65 | return;
66 | }
67 |
68 | //默认角度
69 | this.curAngle = null;
70 |
71 | var self = this;
72 | //注册监听事件
73 | this.registerInputEvent();
74 | //引入地图数据
75 | this._tiledMapData = require("TiledMapData");
76 |
77 | //获取地图尺寸
78 | this._curMapTileSize = this._tiledMap.getTileSize();
79 | this._curMapSize = cc.v2(this._tiledMap.node.width,this._tiledMap.node.height);
80 |
81 | //地图墙层
82 | this.mapLayer0 = this._tiledMap.getLayer("layer_0");
83 |
84 | //初始化对象池(参数必须为对应脚本的文件名)
85 | this.bulletPool = new cc.NodePool("BulletScript");
86 | var initBulletCount = 20;
87 | for(var i=0; i= this._curMapSize.x/2 ||
239 | rect.yMin <= -this._curMapSize.y/2 || rect.yMax >= this._curMapSize.y/2){
240 |
241 | return true;
242 | }
243 | //判断是否撞墙
244 | //将坐标转换为地图坐标系
245 | var MinY = this._curMapSize.y/2 - rect.yMin;
246 | var MaxY = this._curMapSize.y/2 - rect.yMax;
247 | var MinX = this._curMapSize.x/2 + rect.xMin;
248 | var MaxX = this._curMapSize.x/2 + rect.xMax;
249 |
250 | //获取四个角的顶点
251 | var LeftDown = cc.v2(MinX, MinY);
252 | var RightDown = cc.v2(MaxX, MinY);
253 | var LeftUp = cc.v2(MinX, MaxY);
254 | var RightUp = cc.v2(MaxX, MaxY);
255 |
256 | //获取四条边的中心点
257 | var MidDown = cc.v2(MinX+(MaxX-MinX)/2, MinY);
258 | var MidUp = cc.v2(MinX+(MaxX-MinX)/2, MaxY);
259 | var MidLeft = cc.v2(MinX, MinY+(MaxY-MinY)/2);
260 | var MidRight= cc.v2(MaxX, MinY+(MaxY-MinY)/2);
261 |
262 | //检测碰撞
263 | return this._collisionTest([LeftDown,RightDown,LeftUp,RightUp,
264 | MidDown,MidUp,MidLeft,MidRight],
265 | bullet);
266 | },
267 |
268 | //内部碰撞检测方法
269 | _collisionTest: function(points, bullet){
270 | var point = points.shift()
271 | var gid = this.mapLayer0.getTileGIDAt(cc.v2(parseInt(point.x / this._curMapTileSize.width),parseInt(point.y / this._curMapTileSize.height)));
272 | if (this._tiledMapData.gidToTileType[gid] != this._tiledMapData.tileType.tileNone &&
273 | this._tiledMapData.gidToTileType[gid] != this._tiledMapData.tileType.tileGrass){
274 | if(bullet && this._tiledMapData.gidToTileType[gid] == this._tiledMapData.tileType.tileWall){
275 | this.mapLayer0.removeTileAt(cc.v2(parseInt(point.x / this._curMapTileSize.width),parseInt(point.y / this._curMapTileSize.height)));
276 | }
277 | return true;
278 | }
279 | if(points.length>0){
280 | return this._collisionTest(points, bullet);
281 | }else{
282 | return false;
283 | }
284 | },
285 |
286 | //加入玩家坦克
287 | addPlayerTank: function(player) {
288 |
289 | if(this.tankPool.size()>0){
290 | var tank = this.tankPool.get();
291 | switch(player.tankType){
292 | case TankType.normal:
293 | tank.getComponent(cc.Sprite).spriteFrame = this.spriteFrames[0];
294 | break;
295 |
296 | case TankType.speed:
297 | tank.getComponent(cc.Sprite).spriteFrame = this.spriteFrames[1];
298 | break;
299 |
300 | case TankType.big:
301 | tank.getComponent(cc.Sprite).spriteFrame = this.spriteFrames[2];
302 | break;
303 |
304 | }
305 |
306 | if(player.playerType == PlayerType.self
307 | || player.playerType == PlayerType.friend){
308 | tank.position = cc.v2(player.pos.x, player.pos.y);
309 | }else if(player.playerType == PlayerType.enemy){
310 | tank.position = cc.v2(-player.pos.x, -player.pos.y);
311 | tank.rotation = 180;
312 | }
313 | //获取坦克控制组件
314 | var tankCtrl = tank.getComponent("TankScript");
315 | tankCtrl.tankType = player.tankType;
316 | //设置坦克属性
317 | tankCtrl.speed = this.tankSpeeds[this.tankSpeeds.length-1];
318 | tankCtrl.fireTime = this.tankFireTimes[this.tankFireTimes.length-1];
319 | tankCtrl.blood = this.tankBloods[this.tankBloods.length-1];
320 | tankCtrl.die = false;
321 | tankCtrl.team = player.team;
322 | tankCtrl.playerID = player.playerID;
323 |
324 | if(player.playerType == PlayerType.self){
325 | this.playerTank = tank;
326 | this._playerTankCtrl = tankCtrl;
327 |
328 | cc.gameData.player.tankType = player.tankType;
329 | cc.gameData.player.team = player.team;
330 |
331 | }
332 |
333 | tank.parent = this.tankNode;
334 | //加到列表
335 | cc.gameData.tankList.push(tank);
336 | return tank;
337 | }
338 | return null;
339 | },
340 |
341 | tankBoom: function(data) {
342 |
343 | data = cc.globalObj.parseStringToJson(data);
344 | var tank = cc.gameData.playerNodes[data.enemyID];
345 | var tankCtrl = tank.getComponent("TankScript");
346 | tankCtrl.boom();
347 | tankCtrl.die = true;
348 | tank.parent = null;
349 |
350 |
351 | for(var i=0; i0){
138 | bullet = bulletPool.get(bulletPool);
139 | }else {
140 | bullet = cc.instantiate(this.bullet);
141 | }
142 | //设置子弹位置,角度
143 | bullet.rotation = this.node.rotation;
144 | var pos = this.node.position;
145 |
146 | var angle = 90 - this.node.rotation;
147 | var offset = cc.v2(0, 0);
148 | if(angle==0 || angle==180 || angle==90){
149 | offset = cc.v2(Math.floor(Math.cos(Math.PI/180*angle)),
150 | Math.floor(Math.sin(Math.PI/180*angle)));
151 | }else if(angle==270){
152 | offset = cc.v2(Math.ceil(Math.cos(Math.PI/180*angle)),
153 | Math.floor(Math.sin(Math.PI/180*angle)));
154 | }else {
155 | offset = cc.v2(Math.cos(Math.PI/180*angle),
156 | Math.sin(Math.PI/180*angle));
157 | }
158 | bullet.position = cc.pAdd(pos,cc.v2(10*offset.x, 10*offset.y));
159 |
160 | var bulletCtrl = bullet.getComponent("BulletScript");
161 |
162 | bulletCtrl.bulletMove();
163 | bulletCtrl.playerID = this.playerID;
164 |
165 | bullet.parent = this.bulletNode;
166 | //子弹标记
167 | bullet.tag = this.team;
168 |
169 | //加到列表
170 | cc.gameData.bulletList.push(bullet);
171 |
172 | return true;
173 | },
174 |
175 | //爆炸
176 | boom: function(){
177 | var blast = cc.instantiate(this.blast);
178 | blast.parent = this.node.parent;
179 | blast.position = this.node.position;
180 | var anim = blast.getComponent(cc.Animation);
181 | anim.play();
182 | },
183 |
184 | });
185 |
--------------------------------------------------------------------------------
/assets/scripts/TankScript.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "6ce61b48-5151-47fb-841c-cc932b3f5703",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/TiledMapData.js:
--------------------------------------------------------------------------------
1 |
2 | var _tileType = cc.Enum({
3 | tileNone: 0,
4 | tileGrass: 1,
5 | tileSteel: 2,
6 | tileWall: 3,
7 | tileRiver: 4,
8 | tileKing: 5
9 | });
10 | //gid从1开始
11 | var _gidToTileType = [
12 | _tileType.tileNone,
13 |
14 | _tileType.tileNone, _tileType.tileNone, _tileType.tileGrass, _tileType.tileGrass, _tileType.tileSteel, _tileType.tileSteel,
15 | _tileType.tileNone, _tileType.tileNone, _tileType.tileGrass, _tileType.tileGrass, _tileType.tileSteel, _tileType.tileSteel,
16 |
17 | _tileType.tileWall, _tileType.tileWall, _tileType.tileRiver, _tileType.tileRiver, _tileType.tileKing, _tileType.tileKing,
18 | _tileType.tileWall, _tileType.tileWall, _tileType.tileRiver, _tileType.tileRiver, _tileType.tileKing, _tileType.tileKing,
19 |
20 | _tileType.tileKing, _tileType.tileKing, _tileType.tileNone, _tileType.tileNone, _tileType.tileNone, _tileType.tileNone,
21 | _tileType.tileKing, _tileType.tileKing, _tileType.tileNone, _tileType.tileNone, _tileType.tileNone, _tileType.tileNone
22 | ];
23 |
24 | module.exports = {
25 | tileType: _tileType,
26 | gidToTileType: _gidToTileType
27 | };
28 |
--------------------------------------------------------------------------------
/assets/scripts/TiledMapData.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "e0850747-7f75-4cb3-a0da-15b80db8fd24",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/utils.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.1",
3 | "uuid": "b8337075-6bda-4a8a-ad03-3c8bbfb9a714",
4 | "isGroup": false,
5 | "subMetas": {}
6 | }
--------------------------------------------------------------------------------
/assets/scripts/utils/GlobalUtil.js:
--------------------------------------------------------------------------------
1 |
2 | var _parseStringToJson = function(data){
3 | if (CC_JSB) {
4 | console.log(data);
5 | return eval('('+data+')');
6 | }else{
7 | return data;
8 | }
9 |
10 |
11 | };
12 |
13 | cc.globalObj = {}
14 | cc.globalObj.parseStringToJson = _parseStringToJson;
15 |
16 | // module.exports = {
17 | // parseStringToJson: _parseStringToJson
18 | // }
--------------------------------------------------------------------------------
/assets/scripts/utils/GlobalUtil.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "75cb0a15-028d-44d1-ac36-4dde1fddf2fd",
4 | "isPlugin": false,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/assets/scripts/utils/socket-io.js.meta:
--------------------------------------------------------------------------------
1 | {
2 | "ver": "1.0.2",
3 | "uuid": "f374f081-973b-4d0e-8c19-156490e01fdc",
4 | "isPlugin": true,
5 | "loadPluginInWeb": true,
6 | "loadPluginInNative": true,
7 | "subMetas": {}
8 | }
--------------------------------------------------------------------------------
/jsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es6",
4 | "module": "commonjs"
5 | },
6 | "exclude": [
7 | "node_modules",
8 | "library",
9 | "local",
10 | "settings",
11 | "temp"
12 | ]
13 | }
--------------------------------------------------------------------------------
/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "engine": "cocos-creator-js",
3 | "packages": "packages"
4 | }
--------------------------------------------------------------------------------
/settings/builder.json:
--------------------------------------------------------------------------------
1 | {
2 | "excludeScenes": [],
3 | "includeAnySDK": false,
4 | "includeSdk": [
5 | "anysdk"
6 | ],
7 | "orientation": {
8 | "landscapeLeft": true,
9 | "landscapeRight": true,
10 | "portrait": false,
11 | "upsideDown": false
12 | },
13 | "packageName": "org.cocos2d.TankWar",
14 | "startScene": "1a638409-0db1-4127-bac7-947b76afed54",
15 | "title": "TankWar",
16 | "webOrientation": "auto"
17 | }
--------------------------------------------------------------------------------
/settings/project.json:
--------------------------------------------------------------------------------
1 | {
2 | "start-scene": "current",
3 | "group-list": [
4 | "default"
5 | ],
6 | "collision-matrix": [
7 | [
8 | true
9 | ]
10 | ],
11 | "excluded-modules": []
12 | }
--------------------------------------------------------------------------------