完善 demo

This commit is contained in:
SmallMain 2022-06-21 18:18:34 +08:00
parent 3c3245f0a9
commit 6e7dbcb41a
158 changed files with 34534 additions and 43694 deletions

View File

@ -84,10 +84,36 @@
"cc.SpriteFrame", "cc.SpriteFrame",
1 1
], ],
"a97PGbCjtNjr/hYUBJUJ3p": [
"images/1655799093442",
"cc.Texture2D"
],
"34Wm35ZlJBApgKytyVFWhX": [
"images/1655799093442",
"cc.SpriteFrame",
1
],
"2cDGL4OAVN0ZbEl3w2urT8": [ "2cDGL4OAVN0ZbEl3w2urT8": [
"materials/custom-2d-sprite", "materials/custom-2d-sprite",
"cc.Material" "cc.Material"
], ],
"69Fj/0+E5NeI6nlG9iAH/N": [
"spines/huatuo",
"cc.Asset"
],
"93dM6KrkZCf5dgNpQwf7T6": [
"spines/huatuo",
"sp.SkeletonData"
],
"80ThG1v09KeKxKhEPnFmvh": [
"spines/huatuo",
"cc.Texture2D"
],
"b5ObM0rx1GDKGN3k5VlH0s": [
"spines/huatuo",
"cc.SpriteFrame",
1
],
"bc2ZOJo5NCbrI0FXxitEvE": [ "bc2ZOJo5NCbrI0FXxitEvE": [
"spines/spineboy", "spines/spineboy",
"sp.SkeletonData" "sp.SkeletonData"
@ -126,7 +152,13 @@
"d0Bu8c2MBCKJc+mKBWzjsJ", "d0Bu8c2MBCKJc+mKBWzjsJ",
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
"8029xEf4FHy49dWo6NK8c7", "8029xEf4FHy49dWo6NK8c7",
"a97PGbCjtNjr/hYUBJUJ3p",
"34Wm35ZlJBApgKytyVFWhX",
"2cDGL4OAVN0ZbEl3w2urT8", "2cDGL4OAVN0ZbEl3w2urT8",
"69Fj/0+E5NeI6nlG9iAH/N",
"93dM6KrkZCf5dgNpQwf7T6",
"80ThG1v09KeKxKhEPnFmvh",
"b5ObM0rx1GDKGN3k5VlH0s",
"bc2ZOJo5NCbrI0FXxitEvE", "bc2ZOJo5NCbrI0FXxitEvE",
"d9xFMK7wVFwbAS60aG9McP", "d9xFMK7wVFwbAS60aG9McP",
"f2P0YcCjtHDqebnuMp4CMZ", "f2P0YcCjtHDqebnuMp4CMZ",
@ -134,10 +166,21 @@
"6eBWFz0oVHPLIGQKf/9Thu" "6eBWFz0oVHPLIGQKf/9Thu"
], ],
"scenes": {}, "scenes": {},
"redirect": [], "redirect": [
"deps": [], "a97PGbCjtNjr/hYUBJUJ3p",
0,
"34Wm35ZlJBApgKytyVFWhX",
0,
"93dM6KrkZCf5dgNpQwf7T6",
0,
"80ThG1v09KeKxKhEPnFmvh",
0
],
"deps": [
"main"
],
"packs": { "packs": {
"0b9ccc5db": [ "0f247028f": [
"09o3P/9gBP/Yc7AnxUBZ+Q", "09o3P/9gBP/Yc7AnxUBZ+Q",
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
"2cDGL4OAVN0ZbEl3w2urT8", "2cDGL4OAVN0ZbEl3w2urT8",
@ -146,6 +189,7 @@
"45vlnzVlVDaZ6fRVyB0t3Z", "45vlnzVlVDaZ6fRVyB0t3Z",
"62MQQadaVK8qQN8n6UmJAa", "62MQQadaVK8qQN8n6UmJAa",
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"69Fj/0+E5NeI6nlG9iAH/N",
"6eBWFz0oVHPLIGQKf/9Thu", "6eBWFz0oVHPLIGQKf/9Thu",
"70JFWsm5JN17FDywI0Lb5I", "70JFWsm5JN17FDywI0Lb5I",
"70VXjGE0JMUqGli0jmCmTF", "70VXjGE0JMUqGli0jmCmTF",
@ -155,6 +199,7 @@
"87/8ZHBEVIkKeNxmalrn9r", "87/8ZHBEVIkKeNxmalrn9r",
"92aqwImq1Ik7GrBSFnKTF2", "92aqwImq1Ik7GrBSFnKTF2",
"a7ZscqX+JCIZRS157bMyhq", "a7ZscqX+JCIZRS157bMyhq",
"b5ObM0rx1GDKGN3k5VlH0s",
"b6OkwTsm1LK5cvRTwFehiy", "b6OkwTsm1LK5cvRTwFehiy",
"bc2ZOJo5NCbrI0FXxitEvE", "bc2ZOJo5NCbrI0FXxitEvE",
"c1Hf3Sl8ZAnJwP/fpoHxap", "c1Hf3Sl8ZAnJwP/fpoHxap",
@ -173,8 +218,8 @@
"encrypted": false, "encrypted": false,
"versions": { "versions": {
"import": [ "import": [
"0b9ccc5db", "0f247028f",
"16f5e" "a9e3f"
], ],
"native": [ "native": [
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
@ -187,6 +232,8 @@
"40d17", "40d17",
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"9a531", "9a531",
"69Fj/0+E5NeI6nlG9iAH/N",
"b8970",
"6eBWFz0oVHPLIGQKf/9Thu", "6eBWFz0oVHPLIGQKf/9Thu",
"6d3cf", "6d3cf",
"70JFWsm5JN17FDywI0Lb5I", "70JFWsm5JN17FDywI0Lb5I",

View File

@ -12,6 +12,7 @@
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"45vlnzVlVDaZ6fRVyB0t3Z", "45vlnzVlVDaZ6fRVyB0t3Z",
"c1Hf3Sl8ZAnJwP/fpoHxap", "c1Hf3Sl8ZAnJwP/fpoHxap",
"80ThG1v09KeKxKhEPnFmvh",
"70JFWsm5JN17FDywI0Lb5I" "70JFWsm5JN17FDywI0Lb5I"
], ],
[ [
@ -22,8 +23,8 @@
"spriteFrame" "spriteFrame"
], ],
[ [
"cc.Texture2D",
"cc.SpriteFrame", "cc.SpriteFrame",
"cc.Texture2D",
[ [
"cc.Material", "cc.Material",
[ [
@ -42,6 +43,14 @@
], ],
0 0
], ],
[
"cc.Asset",
[
"_name",
"_native"
],
1
],
[ [
"cc.BitmapFont", "cc.BitmapFont",
[ [
@ -98,26 +107,32 @@
4, 4,
0, 0,
1, 1,
2, 3
4
], ],
[ [
5, 5,
0, 0,
1, 1,
3 2,
4
], ],
[ [
6, 6,
0, 0,
1, 1,
3
],
[
7,
0,
1,
2, 2,
3, 3,
4, 4,
5 5
], ],
[ [
7, 8,
0, 0,
1, 1,
3 3
@ -151,7 +166,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -170,7 +185,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -236,7 +251,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -611,7 +626,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -624,7 +639,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -637,7 +652,35 @@
-1 -1
], ],
[ [
0 1
],
0,
[],
[],
[]
],
[
[
[
2,
"huatuo",
".atlas"
],
-1
],
0,
0,
[],
[],
[]
],
[
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
1
], ],
0, 0,
[], [],
@ -650,20 +693,7 @@
-1 -1
], ],
[ [
0 1
],
0,
[],
[],
[]
],
[
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
], ],
0, 0,
[], [],
@ -697,7 +727,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -713,7 +743,7 @@
[ [
[ [
[ [
2, 3,
"normalFont", "normalFont",
64, 64,
{ {
@ -3017,7 +3047,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3057,7 +3087,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3097,7 +3127,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3137,7 +3167,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3177,7 +3207,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3190,10 +3220,50 @@
10 10
] ]
], ],
[
[
{
"name": "huatuo",
"rect": [
5,
0,
696,
208
],
"offset": [
2.5,
0
],
"originalSize": [
701,
208
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
11
]
],
[ [
[ [
[ [
3, 4,
"spineboy", "spineboy",
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n" "\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n"
] ]
@ -3207,7 +3277,7 @@
[ [
[ [
[ [
4, 5,
"spineboy", "spineboy",
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n", "\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n",
[ [
@ -9608,7 +9678,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9642,7 +9712,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -9652,7 +9722,7 @@
0 0
], ],
[ [
11 12
] ]
], ],
[ [
@ -9661,7 +9731,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9674,7 +9744,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9684,7 +9754,7 @@
[ [
[ [
[ [
5, 6,
"SFNSMonoItalic", "SFNSMonoItalic",
"SFNSMonoItalic.ttf" "SFNSMonoItalic.ttf"
], ],
@ -9723,7 +9793,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,132 @@
window.__require = function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
}({
home: [ function(require, module, exports) {
"use strict";
cc._RF.push(module, "fae4avBZoFIhLI0tl2YbZCe", "home");
"use strict";
var __extends = this && this.__extends || function() {
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(d, b) {
d.__proto__ = b;
} || function(d, b) {
for (var p in b) Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
};
return extendStatics(d, b);
};
return function(d, b) {
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
};
}();
var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if ("object" === typeof Reflect && "function" === typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", {
value: true
});
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var Home = function(_super) {
__extends(Home, _super);
function Home() {
var _this = null !== _super && _super.apply(this, arguments) || this;
_this.objectNumLabel = null;
_this.objectNumSlider = null;
_this.enbaleMultiNode = null;
_this.objects = null;
_this.nums = [ 10, 1e4 ];
_this.num = _this.nums[0];
_this.enableMultiRender = true;
_this.prefabs = [];
return _this;
}
Home.prototype.onLoad = function() {
var _this = this;
this.prefabs = this.objects.children.concat();
this.objects.removeAllChildren(false);
this.objectNumSlider.node.on("slide", function(slider) {
var offset = (_this.nums[1] - _this.nums[0]) * slider.progress;
_this.num = _this.nums[0] + Math.ceil(offset);
_this.numUpdate();
});
this.enbaleMultiNode.on("toggle", function(toggle) {
_this.enableMultiRender = toggle.isChecked;
_this.multiRenderUpdate();
});
this.numUpdate();
this.multiRenderUpdate();
};
Home.prototype.numUpdate = function() {
this.objectNumLabel.string = "\u5bf9\u8c61\u6570\u91cf\uff1a" + this.num;
var offset = this.num - this.objects.children.length;
if (offset > 0) for (var i = 0; i < offset; i++) this.createObject(); else {
offset = -offset;
for (var i = 0; i < offset; i++) this.objects.children[i].destroy();
}
};
Home.prototype.multiRenderUpdate = function() {
this.reCreateObjects();
};
Home.prototype.reCreateObjects = function() {
this.objects.destroyAllChildren();
for (var i = 0; i < this.num; i++) this.createObject();
};
Home.prototype.createObject = function() {
var _a, _b, _c;
var random = Math.floor(Math.random() * this.prefabs.length);
var node = cc.instantiate(this.prefabs[random]);
if (this.enableMultiRender) {
var comp = null !== (_c = null !== (_b = null !== (_a = node.getComponent(cc.Label)) && void 0 !== _a ? _a : node.getComponent(cc.Sprite)) && void 0 !== _b ? _b : node.getComponent(cc.RichText)) && void 0 !== _c ? _c : node.getComponent(sp.Skeleton);
comp.autoSwitchMaterial = cc.RenderComponent.EnableType.ENABLE;
comp.allowDynamicAtlas = cc.RenderComponent.EnableType.ENABLE;
}
this.objects.addChild(node);
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
cc.tween(node).by(1, {
angle: 360
}).repeatForever().start();
};
__decorate([ property(cc.Label) ], Home.prototype, "objectNumLabel", void 0);
__decorate([ property(cc.Slider) ], Home.prototype, "objectNumSlider", void 0);
__decorate([ property(cc.Node) ], Home.prototype, "enbaleMultiNode", void 0);
__decorate([ property(cc.Node) ], Home.prototype, "objects", void 0);
Home = __decorate([ ccclass ], Home);
return Home;
}(cc.Component);
exports.default = Home;
cc._RF.pop();
}, {} ]
}, {}, [ "home" ]);
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 82 B

View File

@ -0,0 +1,100 @@
{
"paths": {},
"uuids": [
"catK9m3HRBtYgmebOjC6ma",
"ecpdLyjvZBwrvm+cedCcQy",
"a2MjXRFdtLlYQ5ouAFv/+R",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"e3EaADwKFP+ZmDIVTeFF63",
"02delMVqdBD70a/HSD99FK",
"312JYturtOx74Zjp9UpOqZ",
"e7q6FL+VZEgLJUjVeDLic/",
"29FYIk+N1GYaeWH/q1NxQO",
"68J8oyAQdFUrqy37MXmbtE",
"90AErWL21A4ZPvtxQ3XG8G",
"34Wm35ZlJBApgKytyVFWhX",
"7a/QZLET9IDreTiBfRn2PD",
"93dM6KrkZCf5dgNpQwf7T6",
"d608qFRoFHwbXd0Dap056i",
"61cyPdEfRN047sDK9rO0W5",
"56fc2Ai/RFNYpaMT8crweK",
"71VhFCTINJM6/Ky3oX9nBT",
"02kcE0s9pAmLe145ftvpR/",
"d2kHe6FidKcpV5e1aiNTQM",
"73oJA92A5OPKpn+ZlUPAj1",
"a97PGbCjtNjr/hYUBJUJ3p",
"80ThG1v09KeKxKhEPnFmvh"
],
"scenes": {
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"02delMVqdBD70a/HSD99FK",
0,
"7a/QZLET9IDreTiBfRn2PD",
0
],
"deps": [
"internal"
],
"packs": {
"0689a141d": [
"02kcE0s9pAmLe145ftvpR/",
"29FYIk+N1GYaeWH/q1NxQO",
"312JYturtOx74Zjp9UpOqZ",
"34Wm35ZlJBApgKytyVFWhX",
"56fc2Ai/RFNYpaMT8crweK",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"61cyPdEfRN047sDK9rO0W5",
"68J8oyAQdFUrqy37MXmbtE",
"71VhFCTINJM6/Ky3oX9nBT",
"73oJA92A5OPKpn+ZlUPAj1",
"80ThG1v09KeKxKhEPnFmvh",
"90AErWL21A4ZPvtxQ3XG8G",
"93dM6KrkZCf5dgNpQwf7T6",
"a2MjXRFdtLlYQ5ouAFv/+R",
"a97PGbCjtNjr/hYUBJUJ3p",
"catK9m3HRBtYgmebOjC6ma",
"d2kHe6FidKcpV5e1aiNTQM",
"d608qFRoFHwbXd0Dap056i",
"e3EaADwKFP+ZmDIVTeFF63",
"e7q6FL+VZEgLJUjVeDLic/"
]
},
"name": "main",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"0689a141d",
"2ef19"
],
"native": [
"02kcE0s9pAmLe145ftvpR/",
"b7a3e",
"56fc2Ai/RFNYpaMT8crweK",
"5f1d9",
"61cyPdEfRN047sDK9rO0W5",
"6d707",
"71VhFCTINJM6/Ky3oX9nBT",
"c06a9",
"73oJA92A5OPKpn+ZlUPAj1",
"7661e",
"80ThG1v09KeKxKhEPnFmvh",
"fd38c",
"a97PGbCjtNjr/hYUBJUJ3p",
"0f278",
"d2kHe6FidKcpV5e1aiNTQM",
"65417",
"d608qFRoFHwbXd0Dap056i",
"d55c2"
]
}
}

View File

@ -1,55 +0,0 @@
{
"paths": {},
"uuids": [
"catK9m3HRBtYgmebOjC6ma",
"ecpdLyjvZBwrvm+cedCcQy",
"a2MjXRFdtLlYQ5ouAFv/+R",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"e3EaADwKFP+ZmDIVTeFF63",
"02delMVqdBD70a/HSD99FK",
"61cyPdEfRN047sDK9rO0W5",
"d608qFRoFHwbXd0Dap056i"
],
"scenes": {
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"02delMVqdBD70a/HSD99FK",
0
],
"deps": [
"internal"
],
"packs": {
"0d90adf1f": [
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"61cyPdEfRN047sDK9rO0W5",
"a2MjXRFdtLlYQ5ouAFv/+R",
"catK9m3HRBtYgmebOjC6ma",
"d608qFRoFHwbXd0Dap056i",
"e3EaADwKFP+ZmDIVTeFF63"
]
},
"name": "main",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"0d90adf1f",
"bd1b5"
],
"native": [
"61cyPdEfRN047sDK9rO0W5",
"6d707",
"d608qFRoFHwbXd0Dap056i",
"d55c2"
]
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 163 B

View File

@ -125,64 +125,68 @@
"45vlnzVlVDaZ6fRVyB0t3Z", "45vlnzVlVDaZ6fRVyB0t3Z",
"d9xFMK7wVFwbAS60aG9McP", "d9xFMK7wVFwbAS60aG9McP",
"e8Ueib+qJEhL6mXAHdnwbi", "e8Ueib+qJEhL6mXAHdnwbi",
"b4P/PCArtIdIH38t6mlw8Y", "b4P/PCArtIdIH38t6mlw8Y"
"71VhFCTINJM6/Ky3oX9nBT",
"92aqwImq1Ik7GrBSFnKTF2",
"3e30KyALhNkZttyuW0A6EU",
"62MQQadaVK8qQN8n6UmJAa"
], ],
"scenes": {}, "scenes": {},
"redirect": [ "redirect": [
"ecpdLyjvZBwrvm+cedCcQy", "ecpdLyjvZBwrvm+cedCcQy",
0, 0,
"29FYIk+N1GYaeWH/q1NxQO",
1,
"5cO7kybDxGj4ipyMYdRYZB", "5cO7kybDxGj4ipyMYdRYZB",
1, 1,
"5f5dyqtRNNxaFmVzYns6FZ", "5f5dyqtRNNxaFmVzYns6FZ",
1, 1,
"a2MjXRFdtLlYQ5ouAFv/+R", "a2MjXRFdtLlYQ5ouAFv/+R",
1 1,
"8029xEf4FHy49dWo6NK8c7",
2,
"a7ZscqX+JCIZRS157bMyhq",
2,
"80AR/OlBFOoajT99htLYeJ",
2,
"6eBWFz0oVHPLIGQKf/9Thu",
2,
"bc2ZOJo5NCbrI0FXxitEvE",
2,
"2cDGL4OAVN0ZbEl3w2urT8",
2,
"c1Hf3Sl8ZAnJwP/fpoHxap",
2,
"1cijzBpFJCdoSNK98w5oUq",
2,
"45vlnzVlVDaZ6fRVyB0t3Z",
2,
"d9xFMK7wVFwbAS60aG9McP",
2
], ],
"deps": [ "deps": [
"internal", "internal",
"main" "main",
"common"
], ],
"packs": { "packs": {
"0e0c9da58": [ "0f3f96b00": [
"0a5R1NT2lDxqcI2pwtgfb1", "0a5R1NT2lDxqcI2pwtgfb1",
"0eAM9yHrBFe4PSAXHMHNl+", "0eAM9yHrBFe4PSAXHMHNl+",
"10Drosz6JPsKWsqV+bRh/A", "10Drosz6JPsKWsqV+bRh/A",
"14W7pBGWJJ7q7JCPsVTovy", "14W7pBGWJJ7q7JCPsVTovy",
"1cijzBpFJCdoSNK98w5oUq",
"22JHeF7zBLZqnS68r2p/bo", "22JHeF7zBLZqnS68r2p/bo",
"29FYIk+N1GYaeWH/q1NxQO",
"2cDGL4OAVN0ZbEl3w2urT8",
"2dPOEW20pCTLs79c0WyZVp", "2dPOEW20pCTLs79c0WyZVp",
"3e30KyALhNkZttyuW0A6EU",
"41Zz922rlJZZmZnFZqPxVK", "41Zz922rlJZZmZnFZqPxVK",
"43jA/TdMpFA7K8IIjNbb9M", "43jA/TdMpFA7K8IIjNbb9M",
"44mZ0YUdFAF56mmNytjs31", "44mZ0YUdFAF56mmNytjs31",
"45vlnzVlVDaZ6fRVyB0t3Z",
"55URLSNf5K3IyZBezfiMKa", "55URLSNf5K3IyZBezfiMKa",
"5dz/wYuRNGDqDZXXT0zaEr", "5dz/wYuRNGDqDZXXT0zaEr",
"62MQQadaVK8qQN8n6UmJAa",
"6eBWFz0oVHPLIGQKf/9Thu",
"71VhFCTINJM6/Ky3oX9nBT",
"77hE9EwNpMlKl/+sGrhEVR", "77hE9EwNpMlKl/+sGrhEVR",
"7aeIQwZiFL1YbOCVeiFt1p", "7aeIQwZiFL1YbOCVeiFt1p",
"80AR/OlBFOoajT99htLYeJ",
"8029xEf4FHy49dWo6NK8c7",
"8c20Sso/ZEn7NUfNSM+EBh", "8c20Sso/ZEn7NUfNSM+EBh",
"8fHzmU6I5EBqjpHEb0Xl3i", "8fHzmU6I5EBqjpHEb0Xl3i",
"92aqwImq1Ik7GrBSFnKTF2",
"a7ZscqX+JCIZRS157bMyhq",
"b4P/PCArtIdIH38t6mlw8Y", "b4P/PCArtIdIH38t6mlw8Y",
"b48cuQCqRMLaIzf9I1fTbW", "b48cuQCqRMLaIzf9I1fTbW",
"b6FhIxTWVHXKa7qBmehR6I", "b6FhIxTWVHXKa7qBmehR6I",
"bc2ZOJo5NCbrI0FXxitEvE",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"c4+eoUuahAOa4lmC/4Hkdi", "c4+eoUuahAOa4lmC/4Hkdi",
"c58wUeG09DhJOcuDi8uPW/", "c58wUeG09DhJOcuDi8uPW/",
"d9xFMK7wVFwbAS60aG9McP",
"e8Ueib+qJEhL6mXAHdnwbi", "e8Ueib+qJEhL6mXAHdnwbi",
"e97GVMl6JHh5Ml5qEDdSGa", "e97GVMl6JHh5Ml5qEDdSGa",
"eahTDGUrZBV4Y+i+JslTuW", "eahTDGUrZBV4Y+i+JslTuW",
@ -198,28 +202,18 @@
"encrypted": false, "encrypted": false,
"versions": { "versions": {
"import": [ "import": [
"0e0c9da58", "0f3f96b00",
"5c474" "77865"
], ],
"native": [ "native": [
"10Drosz6JPsKWsqV+bRh/A", "10Drosz6JPsKWsqV+bRh/A",
"eae97", "eae97",
"1cijzBpFJCdoSNK98w5oUq",
"91637",
"22JHeF7zBLZqnS68r2p/bo", "22JHeF7zBLZqnS68r2p/bo",
"2ecc6", "2ecc6",
"43jA/TdMpFA7K8IIjNbb9M", "43jA/TdMpFA7K8IIjNbb9M",
"28847", "28847",
"44mZ0YUdFAF56mmNytjs31", "44mZ0YUdFAF56mmNytjs31",
"99af5", "99af5",
"45vlnzVlVDaZ6fRVyB0t3Z",
"ca872",
"62MQQadaVK8qQN8n6UmJAa",
"40d17",
"6eBWFz0oVHPLIGQKf/9Thu",
"6d3cf",
"71VhFCTINJM6/Ky3oX9nBT",
"c06a9",
"77hE9EwNpMlKl/+sGrhEVR", "77hE9EwNpMlKl/+sGrhEVR",
"92cfc", "92cfc",
"7aeIQwZiFL1YbOCVeiFt1p", "7aeIQwZiFL1YbOCVeiFt1p",
@ -228,10 +222,6 @@
"83fcc", "83fcc",
"b6FhIxTWVHXKa7qBmehR6I", "b6FhIxTWVHXKa7qBmehR6I",
"6159f", "6159f",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"d86d7",
"d9xFMK7wVFwbAS60aG9McP",
"abf6b",
"e8Ueib+qJEhL6mXAHdnwbi", "e8Ueib+qJEhL6mXAHdnwbi",
"90cf4", "90cf4",
"ebcqWiiDdPRaJKJIbu9ft4", "ebcqWiiDdPRaJKJIbu9ft4",

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

View File

@ -0,0 +1,95 @@
{
"paths": {
"76ZjeTsCNJMYn7/rwRXCpD": [
"batch/spine-batch",
"cc.Prefab"
],
"03EprhmOVCZKUbb5XyPXQq": [
"skin/spine-skin",
"cc.Prefab"
]
},
"uuids": [
"76ZjeTsCNJMYn7/rwRXCpD",
"03EprhmOVCZKUbb5XyPXQq",
"ecpdLyjvZBwrvm+cedCcQy",
"a7ZscqX+JCIZRS157bMyhq",
"7a/QZLET9IDreTiBfRn2PD",
"93dM6KrkZCf5dgNpQwf7T6",
"85yTK+9shIo7RQfQ1TDEUi",
"09o3P/9gBP/Yc7AnxUBZ+Q",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"a2MjXRFdtLlYQ5ouAFv/+R",
"f0BIwQ8D5Ml7nTNQbh1YlS",
"e97GVMl6JHh5Ml5qEDdSGa",
"29FYIk+N1GYaeWH/q1NxQO",
"70VXjGE0JMUqGli0jmCmTF",
"87/8ZHBEVIkKeNxmalrn9r",
"d0Bu8c2MBCKJc+mKBWzjsJ",
"e8Ueib+qJEhL6mXAHdnwbi",
"b4P/PCArtIdIH38t6mlw8Y"
],
"scenes": {},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"a7ZscqX+JCIZRS157bMyhq",
1,
"7a/QZLET9IDreTiBfRn2PD",
0,
"93dM6KrkZCf5dgNpQwf7T6",
2,
"85yTK+9shIo7RQfQ1TDEUi",
1,
"09o3P/9gBP/Yc7AnxUBZ+Q",
1,
"5cO7kybDxGj4ipyMYdRYZB",
2,
"5f5dyqtRNNxaFmVzYns6FZ",
2,
"a2MjXRFdtLlYQ5ouAFv/+R",
2,
"29FYIk+N1GYaeWH/q1NxQO",
2,
"70VXjGE0JMUqGli0jmCmTF",
1,
"87/8ZHBEVIkKeNxmalrn9r",
1,
"d0Bu8c2MBCKJc+mKBWzjsJ",
1
],
"deps": [
"internal",
"common",
"main"
],
"packs": {
"060a34fe6": [
"03EprhmOVCZKUbb5XyPXQq",
"76ZjeTsCNJMYn7/rwRXCpD",
"b4P/PCArtIdIH38t6mlw8Y",
"e8Ueib+qJEhL6mXAHdnwbi",
"e97GVMl6JHh5Ml5qEDdSGa",
"f0BIwQ8D5Ml7nTNQbh1YlS"
]
},
"name": "spine",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"060a34fe6",
"ca473"
],
"native": [
"b4P/PCArtIdIH38t6mlw8Y",
"83fcc",
"e8Ueib+qJEhL6mXAHdnwbi",
"90cf4"
]
}
}

View File

@ -1,141 +0,0 @@
{
"paths": {
"76ZjeTsCNJMYn7/rwRXCpD": [
"batch/spine-batch",
"cc.Prefab"
],
"03EprhmOVCZKUbb5XyPXQq": [
"skin/spine-skin",
"cc.Prefab"
],
"69Fj/0+E5NeI6nlG9iAH/N": [
"spines/huatuo",
"cc.Asset"
],
"93dM6KrkZCf5dgNpQwf7T6": [
"spines/huatuo",
"sp.SkeletonData"
],
"80ThG1v09KeKxKhEPnFmvh": [
"spines/huatuo",
"cc.Texture2D"
],
"b5ObM0rx1GDKGN3k5VlH0s": [
"spines/huatuo",
"cc.SpriteFrame",
1
]
},
"uuids": [
"76ZjeTsCNJMYn7/rwRXCpD",
"03EprhmOVCZKUbb5XyPXQq",
"69Fj/0+E5NeI6nlG9iAH/N",
"93dM6KrkZCf5dgNpQwf7T6",
"80ThG1v09KeKxKhEPnFmvh",
"b5ObM0rx1GDKGN3k5VlH0s",
"ecpdLyjvZBwrvm+cedCcQy",
"a7ZscqX+JCIZRS157bMyhq",
"7a/QZLET9IDreTiBfRn2PD",
"85yTK+9shIo7RQfQ1TDEUi",
"09o3P/9gBP/Yc7AnxUBZ+Q",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"a2MjXRFdtLlYQ5ouAFv/+R",
"f0BIwQ8D5Ml7nTNQbh1YlS",
"e97GVMl6JHh5Ml5qEDdSGa",
"29FYIk+N1GYaeWH/q1NxQO",
"70VXjGE0JMUqGli0jmCmTF",
"87/8ZHBEVIkKeNxmalrn9r",
"d0Bu8c2MBCKJc+mKBWzjsJ",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"62MQQadaVK8qQN8n6UmJAa",
"39jYWzSTREwI2OOBK5nwFe",
"e8Ueib+qJEhL6mXAHdnwbi",
"b4P/PCArtIdIH38t6mlw8Y",
"71VhFCTINJM6/Ky3oX9nBT",
"d0bST/wYpJQIL5T+PCq46W",
"68Q/ALDvRLfKrAQu5CY15V",
"70JFWsm5JN17FDywI0Lb5I"
],
"scenes": {},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"7a/QZLET9IDreTiBfRn2PD",
0,
"5cO7kybDxGj4ipyMYdRYZB",
1,
"5f5dyqtRNNxaFmVzYns6FZ",
1,
"a2MjXRFdtLlYQ5ouAFv/+R",
1
],
"deps": [
"internal",
"main"
],
"packs": {
"063dea748": [
"03EprhmOVCZKUbb5XyPXQq",
"09o3P/9gBP/Yc7AnxUBZ+Q",
"29FYIk+N1GYaeWH/q1NxQO",
"39jYWzSTREwI2OOBK5nwFe",
"62MQQadaVK8qQN8n6UmJAa",
"68Q/ALDvRLfKrAQu5CY15V",
"69Fj/0+E5NeI6nlG9iAH/N",
"70JFWsm5JN17FDywI0Lb5I",
"70VXjGE0JMUqGli0jmCmTF",
"71VhFCTINJM6/Ky3oX9nBT",
"76ZjeTsCNJMYn7/rwRXCpD",
"80ThG1v09KeKxKhEPnFmvh",
"85yTK+9shIo7RQfQ1TDEUi",
"87/8ZHBEVIkKeNxmalrn9r",
"93dM6KrkZCf5dgNpQwf7T6",
"a7ZscqX+JCIZRS157bMyhq",
"b4P/PCArtIdIH38t6mlw8Y",
"b5ObM0rx1GDKGN3k5VlH0s",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"d0Bu8c2MBCKJc+mKBWzjsJ",
"d0bST/wYpJQIL5T+PCq46W",
"e8Ueib+qJEhL6mXAHdnwbi",
"e97GVMl6JHh5Ml5qEDdSGa",
"f0BIwQ8D5Ml7nTNQbh1YlS"
]
},
"name": "spine",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"063dea748",
"d4c56"
],
"native": [
"39jYWzSTREwI2OOBK5nwFe",
"2eb47",
"62MQQadaVK8qQN8n6UmJAa",
"40d17",
"68Q/ALDvRLfKrAQu5CY15V",
"9a531",
"69Fj/0+E5NeI6nlG9iAH/N",
"b8970",
"70JFWsm5JN17FDywI0Lb5I",
"7b3fa",
"71VhFCTINJM6/Ky3oX9nBT",
"c06a9",
"80ThG1v09KeKxKhEPnFmvh",
"fd38c",
"b4P/PCArtIdIH38t6mlw8Y",
"83fcc",
"c1Hf3Sl8ZAnJwP/fpoHxap",
"d86d7",
"d0bST/wYpJQIL5T+PCq46W",
"9c555",
"e8Ueib+qJEhL6mXAHdnwbi",
"90cf4"
]
}
}

View File

@ -80,8 +80,8 @@ window.__require = function e(t, n, r) {
this.addBoyBtn.on("click", function() { this.addBoyBtn.on("click", function() {
var newBoy = cc.instantiate(_this.boy); var newBoy = cc.instantiate(_this.boy);
var newBoySpine = newBoy.getComponentInChildren(sp.Skeleton); var newBoySpine = newBoy.getComponentInChildren(sp.Skeleton);
boySpine.skeletonData = newBoySpine.skeletonData.clone(); newBoySpine.skeletonData = boySpine.skeletonData.clone();
boySpine.animation = "attack"; newBoySpine.animation = "attack";
_this.boy.parent.addChild(newBoy); _this.boy.parent.addChild(newBoy);
newBoy.setPosition(_this.boys[_this.boys.length - 1].position); newBoy.setPosition(_this.boys[_this.boys.length - 1].position);
newBoy.x += 100; newBoy.x += 100;

View File

@ -1 +1 @@
{"version":3,"sources":["assets/spine/skin/spine-skin.ts"],"names":["_a","cc","_decorator","ccclass","property","SpineSkin","_super","__extends","_this","apply","this","arguments","addBoyBtn","removeBoyBtn","randomChangeBtn","boy","heads","boys","prototype","start","boySpine","getComponentInChildren","sp","Skeleton","newSkeletonData","skeletonData","clone","animation","push","on","newBoy","instantiate","newBoySpine","parent","addChild","setPosition","length","position","x","setAnimationCacheMode","AnimationCacheMode","PRIVATE_CACHE","Label","string","destroy","setRegion","SkeletonData","createRegion","Math","floor","random","__decorate","Node","SpriteFrame","Component","exports","default"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAM,IAAAA,KAAAC,GAAAC,YAAAC,UAAAH,GAAAG,SAAAC,WAAAJ,GAAAI;IAGN,IAAAC,YAAA,SAAAC;MAAuCC,UAAAF,WAAAC;MAAvC,SAAAD;QAAA,IAAAG,QAAA,SAAAF,UAAAA,OAAAG,MAAAC,MAAAC,cAAAD;QAGIF,MAAAI,YAAA;QAGAJ,MAAAK,eAAA;QAGAL,MAAAM,kBAAA;QAGAN,MAAAO,MAAA;QAGAP,MAAAQ,QAAA;QAEAR,MAAAS,OAAA;;;MAEUZ,UAAAa,UAAAC,QAAA;QAAV,IAAAX,QAAAE;QACI,IAAAU,WAAAV,KAAAK,IAAAM,uBAAAC,GAAAC;QACA,IAAAC,kBAAAJ,SAAAK,aAAAC;QACAN,SAAAK,eAAAD;QACAJ,SAAAO,YAAA;QAEAjB,KAAAO,KAAAW,KAAAlB,KAAAK;QAEAL,KAAAE,UAAAiB,GAAA,SAAA;UACI,IAAAC,SAAA7B,GAAA8B,YAAAvB,MAAAO;UACA,IAAAiB,cAAAF,OAAAT,uBAAAC,GAAAC;UACAH,SAAAK,eAAAO,YAAAP,aAAAC;UACAN,SAAAO,YAAA;UAEAnB,MAAAO,IAAAkB,OAAAC,SAAAJ;UACAA,OAAAK,YAAA3B,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAC;UACAP,OAAAQ,KAAA;UACA,IAAA9B,MAAAS,KAAAmB,SAAA,MAAA,GAAA;YACIN,OAAAT,uBAAAC,GAAAC,UAAAgB,sBAAAjB,GAAAC,SAAAiB,mBAAAC;YACAX,OAAAT,uBAAApB,GAAAyC,OAAAC,SAAA;;UAEJnC,MAAAS,KAAAW,KAAAE;;QAGJpB,KAAAG,aAAAgB,GAAA,SAAA;UACI,IAAArB,MAAAS,KAAAmB,SAAA,GAAA;YACI5B,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAQ;YACApC,MAAAS,KAAAmB,UAAA;;;QAIR1B,KAAAI,gBAAAe,GAAA,SAAA;UACI,IAAAd,MAAAP,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAf,uBAAAC,GAAAC;UACAR,IAAA8B,UAAA,QAAA,QAAAvB,GAAAwB,aAAAC,aAAAvC,MAAAQ,MAAAgC,KAAAC,MAAAD,KAAAE,WAAA1C,MAAAQ,MAAA;;;MAjDRmC,WAAA,EADC/C,SAAAH,GAAAmD,SACyB/C,UAAAa,WAAA,kBAAA;MAG1BiC,WAAA,EADC/C,SAAAH,GAAAmD,SAC4B/C,UAAAa,WAAA,qBAAA;MAG7BiC,WAAA,EADC/C,SAAAH,GAAAmD,SAC+B/C,UAAAa,WAAA,wBAAA;MAGhCiC,WAAA,EADC/C,SAAAH,GAAAmD,SACmB/C,UAAAa,WAAA,YAAA;MAGpBiC,WAAA,EADC/C,SAAA,EAAAH,GAAAoD,kBAC4BhD,UAAAa,WAAA,cAAA;MAfZb,YAAA8C,WAAA,EADpBhD,WACoBE;MAwDrB,OAAAA;KAxDA,CAAAJ,GAAAqD;IAAqBC,QAAAC,UAAAnD","sourcesContent":["const { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class SpineSkin extends cc.Component {\n\n @property(cc.Node)\n addBoyBtn: cc.Node = null;\n\n @property(cc.Node)\n removeBoyBtn: cc.Node = null;\n\n @property(cc.Node)\n randomChangeBtn: cc.Node = null;\n\n @property(cc.Node)\n boy: cc.Node = null;\n\n @property([cc.SpriteFrame])\n heads: cc.SpriteFrame[] = [];\n\n boys: cc.Node[] = [];\n\n protected start(): void {\n const boySpine = this.boy.getComponentInChildren(sp.Skeleton);\n const newSkeletonData = boySpine.skeletonData.clone();\n boySpine.skeletonData = newSkeletonData;\n boySpine.animation = 'attack';\n\n this.boys.push(this.boy);\n\n this.addBoyBtn.on('click', () => {\n const newBoy = cc.instantiate(this.boy);\n const newBoySpine = newBoy.getComponentInChildren(sp.Skeleton);\n boySpine.skeletonData = newBoySpine.skeletonData.clone();\n boySpine.animation = 'attack';\n\n this.boy.parent.addChild(newBoy);\n newBoy.setPosition(this.boys[this.boys.length - 1].position);\n newBoy.x += 100;\n if (this.boys.length % 2 === 1) {\n newBoy.getComponentInChildren(sp.Skeleton).setAnimationCacheMode(sp.Skeleton.AnimationCacheMode.PRIVATE_CACHE);\n newBoy.getComponentInChildren(cc.Label).string = `Spine - Cache`;\n }\n this.boys.push(newBoy);\n });\n\n this.removeBoyBtn.on('click', () => {\n if (this.boys.length > 1) {\n this.boys[this.boys.length - 1].destroy();\n this.boys.length -= 1;\n }\n });\n\n this.randomChangeBtn.on('click', () => {\n const boy = this.boys[this.boys.length - 1].getComponentInChildren(sp.Skeleton);\n boy.setRegion('Head', 'Head', sp.SkeletonData.createRegion(this.heads[Math.floor(Math.random() * (this.heads.length))]));\n });\n }\n\n}\n"],"file":"index.js"} {"version":3,"sources":["assets/spine/skin/spine-skin.ts"],"names":["_a","cc","_decorator","ccclass","property","SpineSkin","_super","__extends","_this","apply","this","arguments","addBoyBtn","removeBoyBtn","randomChangeBtn","boy","heads","boys","prototype","start","boySpine","getComponentInChildren","sp","Skeleton","newSkeletonData","skeletonData","clone","animation","push","on","newBoy","instantiate","newBoySpine","parent","addChild","setPosition","length","position","x","setAnimationCacheMode","AnimationCacheMode","PRIVATE_CACHE","Label","string","destroy","setRegion","SkeletonData","createRegion","Math","floor","random","__decorate","Node","SpriteFrame","Component","exports","default"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAM,IAAAA,KAAAC,GAAAC,YAAAC,UAAAH,GAAAG,SAAAC,WAAAJ,GAAAI;IAGN,IAAAC,YAAA,SAAAC;MAAuCC,UAAAF,WAAAC;MAAvC,SAAAD;QAAA,IAAAG,QAAA,SAAAF,UAAAA,OAAAG,MAAAC,MAAAC,cAAAD;QAGIF,MAAAI,YAAA;QAGAJ,MAAAK,eAAA;QAGAL,MAAAM,kBAAA;QAGAN,MAAAO,MAAA;QAGAP,MAAAQ,QAAA;QAEAR,MAAAS,OAAA;;;MAEUZ,UAAAa,UAAAC,QAAA;QAAV,IAAAX,QAAAE;QACI,IAAAU,WAAAV,KAAAK,IAAAM,uBAAAC,GAAAC;QACA,IAAAC,kBAAAJ,SAAAK,aAAAC;QACAN,SAAAK,eAAAD;QACAJ,SAAAO,YAAA;QAEAjB,KAAAO,KAAAW,KAAAlB,KAAAK;QAEAL,KAAAE,UAAAiB,GAAA,SAAA;UACI,IAAAC,SAAA7B,GAAA8B,YAAAvB,MAAAO;UACA,IAAAiB,cAAAF,OAAAT,uBAAAC,GAAAC;UACAS,YAAAP,eAAAL,SAAAK,aAAAC;UACAM,YAAAL,YAAA;UAEAnB,MAAAO,IAAAkB,OAAAC,SAAAJ;UACAA,OAAAK,YAAA3B,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAC;UACAP,OAAAQ,KAAA;UACA,IAAA9B,MAAAS,KAAAmB,SAAA,MAAA,GAAA;YACIN,OAAAT,uBAAAC,GAAAC,UAAAgB,sBAAAjB,GAAAC,SAAAiB,mBAAAC;YACAX,OAAAT,uBAAApB,GAAAyC,OAAAC,SAAA;;UAEJnC,MAAAS,KAAAW,KAAAE;;QAGJpB,KAAAG,aAAAgB,GAAA,SAAA;UACI,IAAArB,MAAAS,KAAAmB,SAAA,GAAA;YACI5B,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAQ;YACApC,MAAAS,KAAAmB,UAAA;;;QAIR1B,KAAAI,gBAAAe,GAAA,SAAA;UACI,IAAAd,MAAAP,MAAAS,KAAAT,MAAAS,KAAAmB,SAAA,GAAAf,uBAAAC,GAAAC;UACAR,IAAA8B,UAAA,QAAA,QAAAvB,GAAAwB,aAAAC,aAAAvC,MAAAQ,MAAAgC,KAAAC,MAAAD,KAAAE,WAAA1C,MAAAQ,MAAA;;;MAjDRmC,WAAA,EADC/C,SAAAH,GAAAmD,SACyB/C,UAAAa,WAAA,kBAAA;MAG1BiC,WAAA,EADC/C,SAAAH,GAAAmD,SAC4B/C,UAAAa,WAAA,qBAAA;MAG7BiC,WAAA,EADC/C,SAAAH,GAAAmD,SAC+B/C,UAAAa,WAAA,wBAAA;MAGhCiC,WAAA,EADC/C,SAAAH,GAAAmD,SACmB/C,UAAAa,WAAA,YAAA;MAGpBiC,WAAA,EADC/C,SAAA,EAAAH,GAAAoD,kBAC4BhD,UAAAa,WAAA,cAAA;MAfZb,YAAA8C,WAAA,EADpBhD,WACoBE;MAwDrB,OAAAA;KAxDA,CAAAJ,GAAAqD;IAAqBC,QAAAC,UAAAnD","sourcesContent":["const { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class SpineSkin extends cc.Component {\n\n @property(cc.Node)\n addBoyBtn: cc.Node = null;\n\n @property(cc.Node)\n removeBoyBtn: cc.Node = null;\n\n @property(cc.Node)\n randomChangeBtn: cc.Node = null;\n\n @property(cc.Node)\n boy: cc.Node = null;\n\n @property([cc.SpriteFrame])\n heads: cc.SpriteFrame[] = [];\n\n boys: cc.Node[] = [];\n\n protected start(): void {\n const boySpine = this.boy.getComponentInChildren(sp.Skeleton);\n const newSkeletonData = boySpine.skeletonData.clone();\n boySpine.skeletonData = newSkeletonData;\n boySpine.animation = 'attack';\n\n this.boys.push(this.boy);\n\n this.addBoyBtn.on('click', () => {\n const newBoy = cc.instantiate(this.boy);\n const newBoySpine = newBoy.getComponentInChildren(sp.Skeleton);\n newBoySpine.skeletonData = boySpine.skeletonData.clone();\n newBoySpine.animation = 'attack';\n\n this.boy.parent.addChild(newBoy);\n newBoy.setPosition(this.boys[this.boys.length - 1].position);\n newBoy.x += 100;\n if (this.boys.length % 2 === 1) {\n newBoy.getComponentInChildren(sp.Skeleton).setAnimationCacheMode(sp.Skeleton.AnimationCacheMode.PRIVATE_CACHE);\n newBoy.getComponentInChildren(cc.Label).string = `Spine - Cache`;\n }\n this.boys.push(newBoy);\n });\n\n this.removeBoyBtn.on('click', () => {\n if (this.boys.length > 1) {\n this.boys[this.boys.length - 1].destroy();\n this.boys.length -= 1;\n }\n });\n\n this.randomChangeBtn.on('click', () => {\n const boy = this.boys[this.boys.length - 1].getComponentInChildren(sp.Skeleton);\n boy.setRegion('Head', 'Head', sp.SkeletonData.createRegion(this.heads[Math.floor(Math.random() * (this.heads.length))]));\n });\n }\n\n}\n"],"file":"index.js"}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 185 B

View File

@ -47,7 +47,7 @@
"versions": { "versions": {
"import": [ "import": [
"0dccb646b", "0dccb646b",
"af549" "61654"
], ],
"native": [] "native": []
} }

View File

@ -13,9 +13,11 @@
"data", "data",
"_parent", "_parent",
"_scrollView", "_scrollView",
"charFont4",
"charFont3", "charFont3",
"charFont2", "charFont2",
"charFont1", "charFont1",
"bitmapFont4",
"bitmapFont3", "bitmapFont3",
"bitmapFont2", "bitmapFont2",
"bitmapFont1" "bitmapFont1"
@ -222,9 +224,11 @@
"bitmapFont1", "bitmapFont1",
"bitmapFont2", "bitmapFont2",
"bitmapFont3", "bitmapFont3",
"bitmapFont4",
"charFont1", "charFont1",
"charFont2", "charFont2",
"charFont3" "charFont3",
"charFont4"
], ],
3, 3,
1, 1,
@ -233,6 +237,8 @@
1, 1,
1, 1,
1, 1,
1,
1,
1 1
] ]
], ],
@ -243,6 +249,16 @@
1, 1,
2 2
], ],
[
6,
0,
1,
2,
3,
4,
6,
2
],
[ [
0, 0,
0, 0,
@ -253,24 +269,6 @@
5, 5,
2 2
], ],
[
6,
0,
1,
2,
3,
4,
6,
2
],
[
1,
0,
2,
3,
7,
4
],
[ [
4, 4,
0, 0,
@ -295,6 +293,14 @@
9, 9,
7 7
], ],
[
1,
0,
2,
3,
7,
4
],
[ [
1, 1,
0, 0,
@ -542,6 +548,8 @@
4, 4,
5, 5,
6, 6,
7,
8,
1 1
] ]
], ],
@ -662,7 +670,7 @@
[ [
-9, -9,
[ [
3, 5,
45, 45,
240, 240,
250, 250,
@ -796,7 +804,7 @@
], ],
[ [
[ [
3, 5,
45, 45,
240, 240,
250, 250,
@ -815,7 +823,7 @@
] ]
], ],
[ [
1, 2,
"tips", "tips",
2, 2,
[ [
@ -863,7 +871,7 @@
] ]
], ],
[ [
1, 2,
"no", "no",
4, 4,
[ [
@ -906,12 +914,12 @@
] ]
], ],
[ [
1, 2,
"yes", "yes",
4, 4,
[ [
[ [
5, 4,
"字", "字",
23, 23,
26, 26,
@ -948,7 +956,7 @@
] ]
], ],
[ [
1, 2,
"no", "no",
4, 4,
[ [
@ -991,7 +999,7 @@
] ]
], ],
[ [
1, 2,
"no", "no",
4, 4,
[ [
@ -1229,7 +1237,7 @@
8, 8,
"char-mode", "char-mode",
[ [
-10 -12
], ],
[ [
[ [
@ -1239,6 +1247,8 @@
], ],
[ [
31, 31,
-11,
-10,
-9, -9,
-8, -8,
-7, -7,
@ -1274,32 +1284,34 @@
9, 9,
"content", "content",
[ [
-14,
-15,
-16, -16,
-17, -17,
-18, -18,
-19, -19,
-20, -20,
-21 -21,
-22,
-23,
-24,
-25
], ],
[ [
[ [
18, 18,
-11 -13
], ],
[ [
19, 19,
1, 1,
2, 2,
1, 1,
30, 50,
20, 13,
-12, -14,
[ [
5, 5,
785.815, 785.815,
503.4 548.04
] ]
], ],
[ [
@ -1308,7 +1320,7 @@
87.09249999999997, 87.09249999999997,
87.09249999999997, 87.09249999999997,
220, 220,
-13 -15
] ]
], ],
[ [
@ -1319,7 +1331,7 @@
[ [
5, 5,
785.815, 785.815,
503.4 548.04
], ],
[ [
0, 0,
@ -1344,28 +1356,28 @@
"sv", "sv",
1, 1,
[ [
-25, -29,
-26 -30
], ],
[ [
[ [
-22, -26,
[ [
3, 5,
45, 45,
240, 240,
250, 250,
-23 -27
], ],
[ [
20, 20,
0, 0,
false, false,
-24, -28,
[ [
6 7
], ],
7 8
] ]
], ],
1, 1,
@ -1392,28 +1404,28 @@
"scrollBar", "scrollBar",
3, 3,
[ [
-30 -34
], ],
[ [
[ [
-27, -31,
[ [
16, 16,
0, 0,
37, 37,
350.07654921020657, 350.07654921020657,
237, 237,
-28 -32
], ],
[ [
21, 21,
1, 1,
0, 0,
-29, -33,
[ [
4 5
], ],
5 6
] ]
], ],
1, 1,
@ -1457,11 +1469,11 @@
], ],
[ [
[ [
3, 5,
45, 45,
240, 240,
250, 250,
-31 -35
] ]
], ],
[ [
@ -1476,12 +1488,12 @@
] ]
], ],
[ [
1, 2,
"tips", "tips",
2, 2,
[ [
[ [
4, 3,
"使用 Bitmap 缓存模式不断显示随机的 3000 个常用字\n动态图集会回收废弃空间Draw Call 依旧不变", "使用 Bitmap 缓存模式不断显示随机的 3000 个常用字\n动态图集会回收废弃空间Draw Call 依旧不变",
16, 16,
20, 20,
@ -1491,14 +1503,14 @@
[ [
null null
], ],
-32 -36
], ],
[ [
6, 6,
17, 17,
95.11500000000001, 95.11500000000001,
30, 50,
-33 -37
] ]
], ],
[ [
@ -1513,7 +1525,7 @@
], ],
[ [
0, 0,
-50, -70,
0, 0,
0, 0,
0, 0,
@ -1525,7 +1537,7 @@
] ]
], ],
[ [
1, 2,
"tips", "tips",
2, 2,
[ [
@ -1541,14 +1553,14 @@
[ [
null null
], ],
-34 -38
], ],
[ [
6, 6,
17, 17,
95.11500000000001, 95.11500000000001,
263.40000000000003, 286.03999999999996,
-35 -39
] ]
], ],
[ [
@ -1563,7 +1575,7 @@
], ],
[ [
0, 0,
-308.40000000000003, -331.03999999999996,
0, 0,
0, 0,
0, 0,
@ -1575,11 +1587,11 @@
] ]
], ],
[ [
2, 1,
"label1", "label1",
2, 2,
[ [
-36 -40
], ],
[ [
0, 0,
@ -1589,11 +1601,11 @@
[ [
5, 5,
58.725, 58.725,
37.8 32.76
], ],
[ [
0, 0,
-108.9, -119.38,
0, 0,
0, 0,
0, 0,
@ -1605,10 +1617,10 @@
] ]
], ],
[ [
5, 4,
"Label", "Label",
24, 24,
30, 26,
1, 1,
1, 1,
1, 1,
@ -1618,11 +1630,11 @@
] ]
], ],
[ [
2, 1,
"label2", "label2",
2, 2,
[ [
-37 -41
], ],
[ [
0, 0,
@ -1632,11 +1644,11 @@
[ [
5, 5,
58.725, 58.725,
37.8 32.76
], ],
[ [
0, 0,
-166.70000000000002, -165.14,
0, 0,
0, 0,
0, 0,
@ -1648,10 +1660,10 @@
] ]
], ],
[ [
5, 4,
"Label", "Label",
24, 24,
30, 26,
1, 1,
1, 1,
1, 1,
@ -1661,11 +1673,11 @@
] ]
], ],
[ [
2, 1,
"label3", "label3",
2, 2,
[ [
-38 -42
], ],
[ [
0, 0,
@ -1675,11 +1687,11 @@
[ [
5, 5,
58.725, 58.725,
37.8 32.76
], ],
[ [
0, 0,
-224.50000000000003, -210.89999999999998,
0, 0,
0, 0,
0, 0,
@ -1691,10 +1703,10 @@
] ]
], ],
[ [
5, 4,
"Label", "Label",
24, 24,
30, 26,
1, 1,
1, 1,
1, 1,
@ -1704,11 +1716,54 @@
] ]
], ],
[ [
1,
"label4",
2, 2,
[
-43
],
[
0,
"a0j7wReqhLWIiL84nlII3F",
1
],
[
5,
58.725,
32.76
],
[
0,
-256.65999999999997,
0,
0,
0,
0,
1,
1,
1,
1
]
],
[
4,
"Label",
24,
26,
1,
1,
1,
14,
[
3
]
],
[
1,
"label1", "label1",
2, 2,
[ [
-39 -44
], ],
[ [
0, 0,
@ -1722,7 +1777,7 @@
], ],
[ [
0, 0,
-388.40000000000003, -404.03999999999996,
0, 0,
0, 0,
0, 0,
@ -1734,7 +1789,7 @@
] ]
], ],
[ [
4, 3,
"Label", "Label",
24, 24,
30, 30,
@ -1744,14 +1799,14 @@
[ [
null null
], ],
14 16
], ],
[ [
2, 1,
"label2", "label2",
2, 2,
[ [
-40 -45
], ],
[ [
0, 0,
@ -1765,7 +1820,7 @@
], ],
[ [
0, 0,
-438.40000000000003, -447.03999999999996,
0, 0,
0, 0,
0, 0,
@ -1777,7 +1832,7 @@
] ]
], ],
[ [
4, 3,
"Label", "Label",
24, 24,
30, 30,
@ -1787,14 +1842,14 @@
[ [
null null
], ],
16 18
], ],
[ [
2, 1,
"label3", "label3",
2, 2,
[ [
-41 -46
], ],
[ [
0, 0,
@ -1808,7 +1863,7 @@
], ],
[ [
0, 0,
-488.40000000000003, -490.03999999999996,
0, 0,
0, 0,
0, 0,
@ -1820,7 +1875,7 @@
] ]
], ],
[ [
4, 3,
"Label", "Label",
24, 24,
30, 30,
@ -1830,14 +1885,57 @@
[ [
null null
], ],
18 20
],
[
1,
"label4",
2,
[
-47
],
[
0,
"06LxFIAa9PdaJ2pzqvz75W",
1
],
[
5,
58.73,
30
],
[
0,
-533.04,
0,
0,
0,
0,
1,
1,
1,
1
]
],
[
3,
"Label",
24,
30,
1,
1,
2,
[
null
],
22
], ],
[ [
13, 13,
"bar", "bar",
4, 4,
[ [
-42 -48
], ],
[ [
0, 0,
@ -1859,9 +1957,9 @@
22, 22,
1, 1,
0, 0,
20, 24,
[ [
3 4
] ]
], ],
[ [
@ -1869,7 +1967,7 @@
false, false,
1, 1,
4, 4,
21 25
], ],
[ [
24, 24,
@ -1879,7 +1977,7 @@
null, null,
3, 3,
2, 2,
22 26
] ]
], ],
0, 0,
@ -1892,21 +1990,27 @@
1, 1,
0, 0,
6, 6,
19, 23,
0, 0,
7, 7,
17, 21,
0, 0,
8, 8,
15, 19,
0, 0,
9, 9,
13, 17,
0, 0,
10, 10,
11, 15,
0, 0,
11, 11,
13,
0,
12,
11,
0,
13,
9, 9,
0, 0,
0, 0,
@ -1937,10 +2041,10 @@
12, 12,
0, 0,
-5, -5,
7, 14,
0, 0,
-6, -6,
14, 7,
0, 0,
-7, -7,
16, 16,
@ -1948,8 +2052,14 @@
-8, -8,
18, 18,
0, 0,
-9,
20,
0,
-10,
22,
0,
-1, -1,
23, 27,
0, 0,
0, 0,
3, 3,
@ -1964,7 +2074,7 @@
4, 4,
0, 0,
-1, -1,
22, 26,
0, 0,
0, 0,
4, 4,
@ -1973,7 +2083,7 @@
4, 4,
0, 0,
-1, -1,
20, 24,
0, 0,
0, 0,
5, 5,
@ -2011,15 +2121,21 @@
-1, -1,
21, 21,
0, 0,
-1,
23,
0,
-1,
25,
0,
3, 3,
1, 1,
2, 2,
4, 4,
5, 5,
22, 26,
5, 5,
23, 27,
42 48
], ],
[ [
0, 0,
@ -2030,7 +2146,8 @@
0, 0,
0, 0,
0, 0,
21 0,
25
], ],
[ [
-1, -1,
@ -2038,6 +2155,7 @@
-1, -1,
-1, -1,
-1, -1,
-1,
1, 1,
-1, -1,
1, 1,
@ -2049,6 +2167,7 @@
0, 0,
0, 0,
0, 0,
0,
1, 1,
0, 0,
2, 2,

View File

@ -66,9 +66,12 @@ window.__require = function e(t, n, r) {
_this.bitmapFont1 = null; _this.bitmapFont1 = null;
_this.bitmapFont2 = null; _this.bitmapFont2 = null;
_this.bitmapFont3 = null; _this.bitmapFont3 = null;
_this.bitmapFont4 = null;
_this.charFont1 = null; _this.charFont1 = null;
_this.charFont2 = null; _this.charFont2 = null;
_this.charFont3 = null; _this.charFont3 = null;
_this.charFont4 = null;
_this.enChars = "abcdefghijklmnopqrstuvwxyz.,/ 1234567890!@#$%^&*()-=_+`~,./;'<>?;[]{}|";
return _this; return _this;
} }
CharMode.prototype.onLoad = function() { CharMode.prototype.onLoad = function() {
@ -76,16 +79,20 @@ window.__require = function e(t, n, r) {
this.bitmapFont1.string = this.getRandomText(15); this.bitmapFont1.string = this.getRandomText(15);
this.bitmapFont2.string = this.getRandomText(15); this.bitmapFont2.string = this.getRandomText(15);
this.bitmapFont3.string = this.getRandomText(15); this.bitmapFont3.string = this.getRandomText(15);
this.bitmapFont4.string = this.getRandomTextEnglish(30);
this.charFont1.string = this.getRandomText(15); this.charFont1.string = this.getRandomText(15);
this.charFont2.string = this.getRandomText(15); this.charFont2.string = this.getRandomText(15);
this.charFont3.string = this.getRandomText(15); this.charFont3.string = this.getRandomText(15);
this.charFont4.string = this.getRandomTextEnglish(30);
this.schedule(function() { this.schedule(function() {
_this.bitmapFont1.string = _this.getRandomText(15); _this.bitmapFont1.string = _this.getRandomText(15);
_this.bitmapFont2.string = _this.getRandomText(15); _this.bitmapFont2.string = _this.getRandomText(15);
_this.bitmapFont3.string = _this.getRandomText(15); _this.bitmapFont3.string = _this.getRandomText(15);
_this.bitmapFont4.string = _this.getRandomTextEnglish(30);
_this.charFont1.string = _this.getRandomText(15); _this.charFont1.string = _this.getRandomText(15);
_this.charFont2.string = _this.getRandomText(15); _this.charFont2.string = _this.getRandomText(15);
_this.charFont3.string = _this.getRandomText(15); _this.charFont3.string = _this.getRandomText(15);
_this.charFont4.string = _this.getRandomTextEnglish(30);
}, .1); }, .1);
}; };
CharMode.prototype.getRandomText = function(length) { CharMode.prototype.getRandomText = function(length) {
@ -93,12 +100,19 @@ window.__require = function e(t, n, r) {
while (str.length < length) str += chars_1.chars[Math.floor(Math.random() * chars_1.chars.length)]; while (str.length < length) str += chars_1.chars[Math.floor(Math.random() * chars_1.chars.length)];
return str; return str;
}; };
CharMode.prototype.getRandomTextEnglish = function(length) {
var str = "";
while (str.length < length) str += this.enChars[Math.floor(Math.random() * this.enChars.length)];
return str;
};
__decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont1", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont1", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont2", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont2", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont3", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont3", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "bitmapFont4", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "charFont1", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "charFont1", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "charFont2", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "charFont2", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "charFont3", void 0); __decorate([ property(cc.Label) ], CharMode.prototype, "charFont3", void 0);
__decorate([ property(cc.Label) ], CharMode.prototype, "charFont4", void 0);
CharMode = __decorate([ ccclass ], CharMode); CharMode = __decorate([ ccclass ], CharMode);
return CharMode; return CharMode;
}(cc.Component); }(cc.Component);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -33,8 +33,8 @@
<p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="Cocos Creator">Cocos Creator</a></p> <p class="footer">Made with <a href="https://www.cocos.com/products#CocosCreator" title="Cocos Creator">Cocos Creator</a></p>
<script src="src/settings.c4e48.js" charset="utf-8"></script> <script src="src/settings.1e91a.js" charset="utf-8"></script>
<script src="main.12dba.js" charset="utf-8"></script> <script src="main.e5dd8.js" charset="utf-8"></script>
<script type="text/javascript"> <script type="text/javascript">
(function () { (function () {
@ -60,7 +60,7 @@
document.body.appendChild(domScript); document.body.appendChild(domScript);
} }
loadScript(debug ? 'cocos2d-js.931db.js' : 'cocos2d-js-min.js', function () { loadScript(debug ? 'cocos2d-js.be49f.js' : 'cocos2d-js-min.js', function () {
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot); loadScript(debug ? 'physics.js' : 'physics-min.js', window.boot);
} }

View File

@ -123,7 +123,7 @@ window.boot = function () {
if (window.jsb) { if (window.jsb) {
var isRuntime = (typeof loadRuntime === 'function'); var isRuntime = (typeof loadRuntime === 'function');
if (isRuntime) { if (isRuntime) {
require('src/settings.c4e48.js'); require('src/settings.1e91a.js');
require('src/cocos2d-runtime.js'); require('src/cocos2d-runtime.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.js'); require('src/physics.js');
@ -131,7 +131,7 @@ if (window.jsb) {
require('jsb-adapter/engine/index.js'); require('jsb-adapter/engine/index.js');
} }
else { else {
require('src/settings.c4e48.js'); require('src/settings.1e91a.js');
require('src/cocos2d-jsb.js'); require('src/cocos2d-jsb.js');
if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) { if (CC_PHYSICS_BUILTIN || CC_PHYSICS_CANNON) {
require('src/physics.js'); require('src/physics.js');

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@ -19,11 +19,11 @@ window._CCSettings = {
bundleVers: { bundleVers: {
sp: "de22b", sp: "de22b",
internal: "8360b", internal: "8360b",
common: "40d4c", common: "0362f",
home: "9b664", home: "b7f41",
"multi-render": "f7eed", "multi-render": "5bb28",
spine: "251d3", spine: "039fb",
"text-render": "697bc", "text-render": "2db47",
main: "65db7" main: "1c467"
} }
}; };

View File

@ -84,10 +84,36 @@
"cc.SpriteFrame", "cc.SpriteFrame",
1 1
], ],
"a97PGbCjtNjr/hYUBJUJ3p": [
"images/1655799093442",
"cc.Texture2D"
],
"34Wm35ZlJBApgKytyVFWhX": [
"images/1655799093442",
"cc.SpriteFrame",
1
],
"2cDGL4OAVN0ZbEl3w2urT8": [ "2cDGL4OAVN0ZbEl3w2urT8": [
"materials/custom-2d-sprite", "materials/custom-2d-sprite",
"cc.Material" "cc.Material"
], ],
"69Fj/0+E5NeI6nlG9iAH/N": [
"spines/huatuo",
"cc.Asset"
],
"93dM6KrkZCf5dgNpQwf7T6": [
"spines/huatuo",
"sp.SkeletonData"
],
"80ThG1v09KeKxKhEPnFmvh": [
"spines/huatuo",
"cc.Texture2D"
],
"b5ObM0rx1GDKGN3k5VlH0s": [
"spines/huatuo",
"cc.SpriteFrame",
1
],
"bc2ZOJo5NCbrI0FXxitEvE": [ "bc2ZOJo5NCbrI0FXxitEvE": [
"spines/spineboy", "spines/spineboy",
"sp.SkeletonData" "sp.SkeletonData"
@ -126,7 +152,13 @@
"d0Bu8c2MBCKJc+mKBWzjsJ", "d0Bu8c2MBCKJc+mKBWzjsJ",
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
"8029xEf4FHy49dWo6NK8c7", "8029xEf4FHy49dWo6NK8c7",
"a97PGbCjtNjr/hYUBJUJ3p",
"34Wm35ZlJBApgKytyVFWhX",
"2cDGL4OAVN0ZbEl3w2urT8", "2cDGL4OAVN0ZbEl3w2urT8",
"69Fj/0+E5NeI6nlG9iAH/N",
"93dM6KrkZCf5dgNpQwf7T6",
"80ThG1v09KeKxKhEPnFmvh",
"b5ObM0rx1GDKGN3k5VlH0s",
"bc2ZOJo5NCbrI0FXxitEvE", "bc2ZOJo5NCbrI0FXxitEvE",
"d9xFMK7wVFwbAS60aG9McP", "d9xFMK7wVFwbAS60aG9McP",
"f2P0YcCjtHDqebnuMp4CMZ", "f2P0YcCjtHDqebnuMp4CMZ",
@ -134,10 +166,21 @@
"6eBWFz0oVHPLIGQKf/9Thu" "6eBWFz0oVHPLIGQKf/9Thu"
], ],
"scenes": {}, "scenes": {},
"redirect": [], "redirect": [
"deps": [], "a97PGbCjtNjr/hYUBJUJ3p",
0,
"34Wm35ZlJBApgKytyVFWhX",
0,
"93dM6KrkZCf5dgNpQwf7T6",
0,
"80ThG1v09KeKxKhEPnFmvh",
0
],
"deps": [
"main"
],
"packs": { "packs": {
"0b9ccc5db": [ "0f247028f": [
"09o3P/9gBP/Yc7AnxUBZ+Q", "09o3P/9gBP/Yc7AnxUBZ+Q",
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
"2cDGL4OAVN0ZbEl3w2urT8", "2cDGL4OAVN0ZbEl3w2urT8",
@ -146,6 +189,7 @@
"45vlnzVlVDaZ6fRVyB0t3Z", "45vlnzVlVDaZ6fRVyB0t3Z",
"62MQQadaVK8qQN8n6UmJAa", "62MQQadaVK8qQN8n6UmJAa",
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"69Fj/0+E5NeI6nlG9iAH/N",
"6eBWFz0oVHPLIGQKf/9Thu", "6eBWFz0oVHPLIGQKf/9Thu",
"70JFWsm5JN17FDywI0Lb5I", "70JFWsm5JN17FDywI0Lb5I",
"70VXjGE0JMUqGli0jmCmTF", "70VXjGE0JMUqGli0jmCmTF",
@ -155,6 +199,7 @@
"87/8ZHBEVIkKeNxmalrn9r", "87/8ZHBEVIkKeNxmalrn9r",
"92aqwImq1Ik7GrBSFnKTF2", "92aqwImq1Ik7GrBSFnKTF2",
"a7ZscqX+JCIZRS157bMyhq", "a7ZscqX+JCIZRS157bMyhq",
"b5ObM0rx1GDKGN3k5VlH0s",
"b6OkwTsm1LK5cvRTwFehiy", "b6OkwTsm1LK5cvRTwFehiy",
"bc2ZOJo5NCbrI0FXxitEvE", "bc2ZOJo5NCbrI0FXxitEvE",
"c1Hf3Sl8ZAnJwP/fpoHxap", "c1Hf3Sl8ZAnJwP/fpoHxap",
@ -173,8 +218,8 @@
"encrypted": false, "encrypted": false,
"versions": { "versions": {
"import": [ "import": [
"0b9ccc5db", "0f247028f",
"16f5e" "a9e3f"
], ],
"native": [ "native": [
"1cijzBpFJCdoSNK98w5oUq", "1cijzBpFJCdoSNK98w5oUq",
@ -187,6 +232,8 @@
"40d17", "40d17",
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"9a531", "9a531",
"69Fj/0+E5NeI6nlG9iAH/N",
"b8970",
"6eBWFz0oVHPLIGQKf/9Thu", "6eBWFz0oVHPLIGQKf/9Thu",
"6d3cf", "6d3cf",
"70JFWsm5JN17FDywI0Lb5I", "70JFWsm5JN17FDywI0Lb5I",

View File

@ -12,6 +12,7 @@
"68Q/ALDvRLfKrAQu5CY15V", "68Q/ALDvRLfKrAQu5CY15V",
"45vlnzVlVDaZ6fRVyB0t3Z", "45vlnzVlVDaZ6fRVyB0t3Z",
"c1Hf3Sl8ZAnJwP/fpoHxap", "c1Hf3Sl8ZAnJwP/fpoHxap",
"80ThG1v09KeKxKhEPnFmvh",
"70JFWsm5JN17FDywI0Lb5I" "70JFWsm5JN17FDywI0Lb5I"
], ],
[ [
@ -22,8 +23,8 @@
"spriteFrame" "spriteFrame"
], ],
[ [
"cc.Texture2D",
"cc.SpriteFrame", "cc.SpriteFrame",
"cc.Texture2D",
[ [
"cc.Material", "cc.Material",
[ [
@ -42,6 +43,14 @@
], ],
0 0
], ],
[
"cc.Asset",
[
"_name",
"_native"
],
1
],
[ [
"cc.BitmapFont", "cc.BitmapFont",
[ [
@ -98,26 +107,32 @@
4, 4,
0, 0,
1, 1,
2, 3
4
], ],
[ [
5, 5,
0, 0,
1, 1,
3 2,
4
], ],
[ [
6, 6,
0, 0,
1, 1,
3
],
[
7,
0,
1,
2, 2,
3, 3,
4, 4,
5 5
], ],
[ [
7, 8,
0, 0,
1, 1,
3 3
@ -151,7 +166,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -170,7 +185,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -236,7 +251,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -611,7 +626,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -624,7 +639,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -637,7 +652,35 @@
-1 -1
], ],
[ [
0 1
],
0,
[],
[],
[]
],
[
[
[
2,
"huatuo",
".atlas"
],
-1
],
0,
0,
[],
[],
[]
],
[
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
1
], ],
0, 0,
[], [],
@ -650,20 +693,7 @@
-1 -1
], ],
[ [
0 1
],
0,
[],
[],
[]
],
[
[
"0,9729,9729,33071,33071,0,0,1",
-1
],
[
0
], ],
0, 0,
[], [],
@ -697,7 +727,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -713,7 +743,7 @@
[ [
[ [
[ [
2, 3,
"normalFont", "normalFont",
64, 64,
{ {
@ -3017,7 +3047,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3057,7 +3087,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3097,7 +3127,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3137,7 +3167,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3177,7 +3207,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -3190,10 +3220,50 @@
10 10
] ]
], ],
[
[
{
"name": "huatuo",
"rect": [
5,
0,
696,
208
],
"offset": [
2.5,
0
],
"originalSize": [
701,
208
],
"capInsets": [
0,
0,
0,
0
]
}
],
[
0
],
0,
[
0
],
[
0
],
[
11
]
],
[ [
[ [
[ [
3, 4,
"spineboy", "spineboy",
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n" "\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n"
] ]
@ -3207,7 +3277,7 @@
[ [
[ [
[ [
4, 5,
"spineboy", "spineboy",
"\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n", "\nspineboy.png\nsize:1024,256\nformat: RGBA8888\nfilter: Linear,Linear\nrepeat: none\neye_indifferent\n rotate: true\n xy: 389, 5\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\neye_surprised\n rotate: false\n xy: 580, 34\n size: 56, 53\n orig: 56, 53\n offset: 0, 0\n index: -1\nfront_bracer\n rotate: false\n xy: 732, 85\n size: 35, 48\n orig: 35, 48\n offset: 0, 0\n index: -1\nfront_fist_closed\n rotate: false\n xy: 556, 91\n size: 45, 49\n orig: 45, 49\n offset: 0, 0\n index: -1\nfront_fist_open\n rotate: false\n xy: 668, 32\n size: 52, 52\n orig: 52, 52\n offset: 0, 0\n index: -1\nfront_foot\n rotate: false\n xy: 924, 201\n size: 76, 41\n orig: 76, 41\n offset: 0, 0\n index: -1\nfront_foot_bend1\n rotate: false\n xy: 845, 200\n size: 77, 42\n orig: 77, 42\n offset: 0, 0\n index: -1\nfront_foot_bend2\n rotate: false\n xy: 778, 186\n size: 65, 56\n orig: 65, 56\n offset: 0, 0\n index: -1\nfront_shin\n rotate: true\n xy: 444, 91\n size: 49, 110\n orig: 49, 110\n offset: 0, 0\n index: -1\nfront_thigh\n rotate: true\n xy: 603, 89\n size: 29, 67\n orig: 29, 67\n offset: 0, 0\n index: -1\nfront_upper_arm\n rotate: true\n xy: 672, 86\n size: 32, 58\n orig: 32, 58\n offset: 0, 0\n index: -1\ngoggles\n rotate: false\n xy: 444, 142\n size: 157, 100\n orig: 157, 100\n offset: 0, 0\n index: -1\ngun\n rotate: false\n xy: 603, 120\n size: 126, 122\n orig: 126, 122\n offset: 0, 0\n index: -1\nhead\n rotate: false\n xy: 279, 63\n size: 163, 179\n orig: 163, 179\n offset: 0, 0\n index: -1\nmouth_grind\n rotate: false\n xy: 845, 163\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_oooo\n rotate: false\n xy: 842, 126\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmouth_smile\n rotate: false\n xy: 769, 97\n size: 56, 35\n orig: 56, 35\n offset: 0, 0\n index: -1\nmuzzle\n rotate: false\n xy: 2, 2\n size: 275, 240\n orig: 277, 240\n offset: 0, 0\n index: -1\nneck\n rotate: false\n xy: 903, 173\n size: 22, 25\n orig: 22, 25\n offset: 0, 0\n index: -1\nrear_bracer\n rotate: false\n xy: 722, 40\n size: 34, 43\n orig: 34, 43\n offset: 0, 0\n index: -1\nrear_foot\n rotate: false\n xy: 444, 11\n size: 68, 36\n orig: 68, 36\n offset: 0, 0\n index: -1\nrear_foot_bend1\n rotate: false\n xy: 444, 49\n size: 70, 40\n orig: 70, 40\n offset: 0, 0\n index: -1\nrear_foot_bend2\n rotate: false\n xy: 778, 134\n size: 62, 50\n orig: 62, 50\n offset: 0, 0\n index: -1\nrear_shin\n rotate: false\n xy: 731, 135\n size: 45, 107\n orig: 45, 107\n offset: 0, 0\n index: -1\nrear_thigh\n rotate: true\n xy: 516, 50\n size: 39, 62\n orig: 39, 62\n offset: 0, 0\n index: -1\nrear_upper_arm\n rotate: false\n xy: 638, 35\n size: 28, 52\n orig: 28, 52\n offset: 0, 0\n index: -1\ntorso\n rotate: true\n xy: 279, 2\n size: 59, 108\n orig: 59, 108\n offset: 0, 0\n index: -1\n",
[ [
@ -9608,7 +9678,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9642,7 +9712,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [
@ -9652,7 +9722,7 @@
0 0
], ],
[ [
11 12
] ]
], ],
[ [
@ -9661,7 +9731,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9674,7 +9744,7 @@
-1 -1
], ],
[ [
0 1
], ],
0, 0,
[], [],
@ -9684,7 +9754,7 @@
[ [
[ [
[ [
5, 6,
"SFNSMonoItalic", "SFNSMonoItalic",
"SFNSMonoItalic.ttf" "SFNSMonoItalic.ttf"
], ],
@ -9723,7 +9793,7 @@
} }
], ],
[ [
1 0
], ],
0, 0,
[ [

View File

@ -1,29 +0,0 @@
(function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
})({}, {}, []);
//# sourceMappingURL=index.js.map

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 KiB

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -1,29 +0,0 @@
(function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
})({}, {}, []);
//# sourceMappingURL=index.js.map

View File

@ -0,0 +1,132 @@
window.__require = function e(t, n, r) {
function s(o, u) {
if (!n[o]) {
if (!t[o]) {
var b = o.split("/");
b = b[b.length - 1];
if (!t[b]) {
var a = "function" == typeof __require && __require;
if (!u && a) return a(b, !0);
if (i) return i(b, !0);
throw new Error("Cannot find module '" + o + "'");
}
o = b;
}
var f = n[o] = {
exports: {}
};
t[o][0].call(f.exports, function(e) {
var n = t[o][1][e];
return s(n || e);
}, f, f.exports, e, t, n, r);
}
return n[o].exports;
}
var i = "function" == typeof __require && __require;
for (var o = 0; o < r.length; o++) s(r[o]);
return s;
}({
home: [ function(require, module, exports) {
"use strict";
cc._RF.push(module, "fae4avBZoFIhLI0tl2YbZCe", "home");
"use strict";
var __extends = this && this.__extends || function() {
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf || {
__proto__: []
} instanceof Array && function(d, b) {
d.__proto__ = b;
} || function(d, b) {
for (var p in b) Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
};
return extendStatics(d, b);
};
return function(d, b) {
extendStatics(d, b);
function __() {
this.constructor = d;
}
d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
};
}();
var __decorate = this && this.__decorate || function(decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if ("object" === typeof Reflect && "function" === typeof Reflect.decorate) r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) (d = decorators[i]) && (r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r);
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", {
value: true
});
var _a = cc._decorator, ccclass = _a.ccclass, property = _a.property;
var Home = function(_super) {
__extends(Home, _super);
function Home() {
var _this = null !== _super && _super.apply(this, arguments) || this;
_this.objectNumLabel = null;
_this.objectNumSlider = null;
_this.enbaleMultiNode = null;
_this.objects = null;
_this.nums = [ 10, 1e4 ];
_this.num = _this.nums[0];
_this.enableMultiRender = true;
_this.prefabs = [];
return _this;
}
Home.prototype.onLoad = function() {
var _this = this;
this.prefabs = this.objects.children.concat();
this.objects.removeAllChildren(false);
this.objectNumSlider.node.on("slide", function(slider) {
var offset = (_this.nums[1] - _this.nums[0]) * slider.progress;
_this.num = _this.nums[0] + Math.ceil(offset);
_this.numUpdate();
});
this.enbaleMultiNode.on("toggle", function(toggle) {
_this.enableMultiRender = toggle.isChecked;
_this.multiRenderUpdate();
});
this.numUpdate();
this.multiRenderUpdate();
};
Home.prototype.numUpdate = function() {
this.objectNumLabel.string = "\u5bf9\u8c61\u6570\u91cf\uff1a" + this.num;
var offset = this.num - this.objects.children.length;
if (offset > 0) for (var i = 0; i < offset; i++) this.createObject(); else {
offset = -offset;
for (var i = 0; i < offset; i++) this.objects.children[i].destroy();
}
};
Home.prototype.multiRenderUpdate = function() {
this.reCreateObjects();
};
Home.prototype.reCreateObjects = function() {
this.objects.destroyAllChildren();
for (var i = 0; i < this.num; i++) this.createObject();
};
Home.prototype.createObject = function() {
var _a, _b, _c;
var random = Math.floor(Math.random() * this.prefabs.length);
var node = cc.instantiate(this.prefabs[random]);
if (this.enableMultiRender) {
var comp = null !== (_c = null !== (_b = null !== (_a = node.getComponent(cc.Label)) && void 0 !== _a ? _a : node.getComponent(cc.Sprite)) && void 0 !== _b ? _b : node.getComponent(cc.RichText)) && void 0 !== _c ? _c : node.getComponent(sp.Skeleton);
comp.autoSwitchMaterial = cc.RenderComponent.EnableType.ENABLE;
comp.allowDynamicAtlas = cc.RenderComponent.EnableType.ENABLE;
}
this.objects.addChild(node);
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
cc.tween(node).by(1, {
angle: 360
}).repeatForever().start();
};
__decorate([ property(cc.Label) ], Home.prototype, "objectNumLabel", void 0);
__decorate([ property(cc.Slider) ], Home.prototype, "objectNumSlider", void 0);
__decorate([ property(cc.Node) ], Home.prototype, "enbaleMultiNode", void 0);
__decorate([ property(cc.Node) ], Home.prototype, "objects", void 0);
Home = __decorate([ ccclass ], Home);
return Home;
}(cc.Component);
exports.default = Home;
cc._RF.pop();
}, {} ]
}, {}, [ "home" ]);
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 82 B

View File

@ -0,0 +1,100 @@
{
"paths": {},
"uuids": [
"catK9m3HRBtYgmebOjC6ma",
"ecpdLyjvZBwrvm+cedCcQy",
"a2MjXRFdtLlYQ5ouAFv/+R",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"e3EaADwKFP+ZmDIVTeFF63",
"02delMVqdBD70a/HSD99FK",
"d608qFRoFHwbXd0Dap056i",
"312JYturtOx74Zjp9UpOqZ",
"e7q6FL+VZEgLJUjVeDLic/",
"29FYIk+N1GYaeWH/q1NxQO",
"68J8oyAQdFUrqy37MXmbtE",
"90AErWL21A4ZPvtxQ3XG8G",
"34Wm35ZlJBApgKytyVFWhX",
"7a/QZLET9IDreTiBfRn2PD",
"93dM6KrkZCf5dgNpQwf7T6",
"61cyPdEfRN047sDK9rO0W5",
"56fc2Ai/RFNYpaMT8crweK",
"02kcE0s9pAmLe145ftvpR/",
"71VhFCTINJM6/Ky3oX9nBT",
"d2kHe6FidKcpV5e1aiNTQM",
"73oJA92A5OPKpn+ZlUPAj1",
"a97PGbCjtNjr/hYUBJUJ3p",
"80ThG1v09KeKxKhEPnFmvh"
],
"scenes": {
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"02delMVqdBD70a/HSD99FK",
0,
"7a/QZLET9IDreTiBfRn2PD",
0
],
"deps": [
"internal"
],
"packs": {
"0689a141d": [
"02kcE0s9pAmLe145ftvpR/",
"29FYIk+N1GYaeWH/q1NxQO",
"312JYturtOx74Zjp9UpOqZ",
"34Wm35ZlJBApgKytyVFWhX",
"56fc2Ai/RFNYpaMT8crweK",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"61cyPdEfRN047sDK9rO0W5",
"68J8oyAQdFUrqy37MXmbtE",
"71VhFCTINJM6/Ky3oX9nBT",
"73oJA92A5OPKpn+ZlUPAj1",
"80ThG1v09KeKxKhEPnFmvh",
"90AErWL21A4ZPvtxQ3XG8G",
"93dM6KrkZCf5dgNpQwf7T6",
"a2MjXRFdtLlYQ5ouAFv/+R",
"a97PGbCjtNjr/hYUBJUJ3p",
"catK9m3HRBtYgmebOjC6ma",
"d2kHe6FidKcpV5e1aiNTQM",
"d608qFRoFHwbXd0Dap056i",
"e3EaADwKFP+ZmDIVTeFF63",
"e7q6FL+VZEgLJUjVeDLic/"
]
},
"name": "main",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"0689a141d",
"2ef19"
],
"native": [
"02kcE0s9pAmLe145ftvpR/",
"b7a3e",
"56fc2Ai/RFNYpaMT8crweK",
"5f1d9",
"61cyPdEfRN047sDK9rO0W5",
"6d707",
"71VhFCTINJM6/Ky3oX9nBT",
"c06a9",
"73oJA92A5OPKpn+ZlUPAj1",
"7661e",
"80ThG1v09KeKxKhEPnFmvh",
"fd38c",
"a97PGbCjtNjr/hYUBJUJ3p",
"0f278",
"d2kHe6FidKcpV5e1aiNTQM",
"65417",
"d608qFRoFHwbXd0Dap056i",
"d55c2"
]
}
}

View File

@ -1,55 +0,0 @@
{
"paths": {},
"uuids": [
"catK9m3HRBtYgmebOjC6ma",
"ecpdLyjvZBwrvm+cedCcQy",
"a2MjXRFdtLlYQ5ouAFv/+R",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"e3EaADwKFP+ZmDIVTeFF63",
"d608qFRoFHwbXd0Dap056i",
"61cyPdEfRN047sDK9rO0W5",
"02delMVqdBD70a/HSD99FK"
],
"scenes": {
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"02delMVqdBD70a/HSD99FK",
0
],
"deps": [
"internal"
],
"packs": {
"0d90adf1f": [
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"61cyPdEfRN047sDK9rO0W5",
"a2MjXRFdtLlYQ5ouAFv/+R",
"catK9m3HRBtYgmebOjC6ma",
"d608qFRoFHwbXd0Dap056i",
"e3EaADwKFP+ZmDIVTeFF63"
]
},
"name": "main",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"0d90adf1f",
"bd1b5"
],
"native": [
"61cyPdEfRN047sDK9rO0W5",
"6d707",
"d608qFRoFHwbXd0Dap056i",
"d55c2"
]
}
}

Some files were not shown because too many files have changed in this diff Show More