优化 Demo 与 Docs 效果
@ -269,7 +269,7 @@
|
|||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 960,
|
"width": 960,
|
||||||
"height": 500
|
"height": 460
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -774,7 +774,7 @@
|
|||||||
"__type__": "TypedArray",
|
"__type__": "TypedArray",
|
||||||
"ctor": "Float64Array",
|
"ctor": "Float64Array",
|
||||||
"array": [
|
"array": [
|
||||||
-400,
|
-320,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -941,7 +941,7 @@
|
|||||||
"_N$handle": {
|
"_N$handle": {
|
||||||
"__id__": 16
|
"__id__": 16
|
||||||
},
|
},
|
||||||
"_N$progress": 0,
|
"_N$progress": 0.1,
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -1536,8 +1536,8 @@
|
|||||||
},
|
},
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 720,
|
"width": 500,
|
||||||
"height": 350
|
"height": 280
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
@ -1548,8 +1548,8 @@
|
|||||||
"__type__": "TypedArray",
|
"__type__": "TypedArray",
|
||||||
"ctor": "Float64Array",
|
"ctor": "Float64Array",
|
||||||
"array": [
|
"array": [
|
||||||
-360,
|
-250,
|
||||||
-500,
|
-460,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -2148,7 +2148,7 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__uuid__": "e311a003-c0a1-4ff9-9983-2154de145eb7"
|
"__uuid__": "e311a003-c0a1-4ff9-9983-2154de145eb7"
|
||||||
},
|
},
|
||||||
"fileId": "ecgFkFvJlGurWWPNWVEdVg",
|
"fileId": "037Xo+hoxFbqEfMYOGMB9p",
|
||||||
"sync": false
|
"sync": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2258,7 +2258,7 @@
|
|||||||
"asset": {
|
"asset": {
|
||||||
"__uuid__": "e311a003-c0a1-4ff9-9983-2154de145eb7"
|
"__uuid__": "e311a003-c0a1-4ff9-9983-2154de145eb7"
|
||||||
},
|
},
|
||||||
"fileId": "78+ISOKDVKo6JuY9GLTAmm",
|
"fileId": "67/0VjhAhKZqCjSyssYje9",
|
||||||
"sync": false
|
"sync": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2450,7 +2450,7 @@
|
|||||||
"_layoutSize": {
|
"_layoutSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 960,
|
"width": 960,
|
||||||
"height": 500
|
"height": 460
|
||||||
},
|
},
|
||||||
"_resize": 1,
|
"_resize": 1,
|
||||||
"_N$layoutType": 2,
|
"_N$layoutType": 2,
|
||||||
@ -2465,7 +2465,7 @@
|
|||||||
"_N$paddingTop": 0,
|
"_N$paddingTop": 0,
|
||||||
"_N$paddingBottom": 0,
|
"_N$paddingBottom": 0,
|
||||||
"_N$spacingX": 0,
|
"_N$spacingX": 0,
|
||||||
"_N$spacingY": 0,
|
"_N$spacingY": 30,
|
||||||
"_N$verticalDirection": 1,
|
"_N$verticalDirection": 1,
|
||||||
"_N$horizontalDirection": 0,
|
"_N$horizontalDirection": 0,
|
||||||
"_N$affectedByScale": false,
|
"_N$affectedByScale": false,
|
||||||
|
@ -37,6 +37,9 @@ export default class Home extends cc.Component {
|
|||||||
this.multiRenderUpdate();
|
this.multiRenderUpdate();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.objectNumSlider.progress = 0.02;
|
||||||
|
const offset = (this.nums[1] - this.nums[0]) * this.objectNumSlider.progress;
|
||||||
|
this.num = this.nums[0] + Math.ceil(offset);
|
||||||
this.numUpdate();
|
this.numUpdate();
|
||||||
this.multiRenderUpdate();
|
this.multiRenderUpdate();
|
||||||
}
|
}
|
||||||
@ -86,7 +89,7 @@ export default class Home extends cc.Component {
|
|||||||
this.objects.addChild(node);
|
this.objects.addChild(node);
|
||||||
|
|
||||||
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
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();
|
cc.tween(node).by(3, { angle: 360 }).repeatForever().start();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -73,6 +73,7 @@ export default class LeftArea extends cc.Component {
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
this.initBtns();
|
this.initBtns();
|
||||||
|
this.switchPage(this.map.get(this.home));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -80,11 +81,20 @@ export default class LeftArea extends cc.Component {
|
|||||||
for (const [node, route] of this.map) {
|
for (const [node, route] of this.map) {
|
||||||
node.on('toggle', (toggle: cc.Toggle) => {
|
node.on('toggle', (toggle: cc.Toggle) => {
|
||||||
if (toggle.isChecked) {
|
if (toggle.isChecked) {
|
||||||
|
this.switchPage(route);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
switchPage(route: { bundle: string, path: string }) {
|
||||||
const cur = ++this.tick;
|
const cur = ++this.tick;
|
||||||
|
|
||||||
this.mainArea.destroyAllChildren();
|
this.mainArea.destroyAllChildren();
|
||||||
|
|
||||||
if (route) {
|
if (route) {
|
||||||
|
cc.assetManager.loadBundle('common', () => {
|
||||||
cc.assetManager.loadBundle(route.bundle, (err, bundle) => {
|
cc.assetManager.loadBundle(route.bundle, (err, bundle) => {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
bundle.load(route.path, cc.Prefab, (err, prefab: cc.Prefab) => {
|
bundle.load(route.path, cc.Prefab, (err, prefab: cc.Prefab) => {
|
||||||
@ -94,8 +104,6 @@ export default class LeftArea extends cc.Component {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
"__id__": 5
|
"__id__": 5
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 131
|
"__id__": 129
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 127
|
"__id__": 127
|
||||||
@ -83,14 +83,14 @@
|
|||||||
],
|
],
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
|
{
|
||||||
|
"__id__": 132
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__id__": 133
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"__id__": 134
|
"__id__": 134
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 135
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__id__": 136
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -5785,15 +5785,11 @@
|
|||||||
"_parent": {
|
"_parent": {
|
||||||
"__id__": 2
|
"__id__": 2
|
||||||
},
|
},
|
||||||
"_children": [
|
"_children": [],
|
||||||
{
|
|
||||||
"__id__": 128
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 130
|
"__id__": 128
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -5844,52 +5840,6 @@
|
|||||||
"groupIndex": 0,
|
"groupIndex": 0,
|
||||||
"_id": "54WBhHVtBF4JdadFee+PuD"
|
"_id": "54WBhHVtBF4JdadFee+PuD"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"__type__": "cc.Node",
|
|
||||||
"_objFlags": 0,
|
|
||||||
"_parent": {
|
|
||||||
"__id__": 127
|
|
||||||
},
|
|
||||||
"_prefab": {
|
|
||||||
"__id__": 129
|
|
||||||
},
|
|
||||||
"_name": "home",
|
|
||||||
"_active": true,
|
|
||||||
"_trs": {
|
|
||||||
"__type__": "TypedArray",
|
|
||||||
"ctor": "Float64Array",
|
|
||||||
"array": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
1,
|
|
||||||
1,
|
|
||||||
1,
|
|
||||||
1
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"_eulerAngles": {
|
|
||||||
"__type__": "cc.Vec3",
|
|
||||||
"x": 0,
|
|
||||||
"y": 0,
|
|
||||||
"z": 0
|
|
||||||
},
|
|
||||||
"_id": "9bjPL9ujxDVaL1G8cLa042"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"__type__": "cc.PrefabInfo",
|
|
||||||
"root": {
|
|
||||||
"__id__": 128
|
|
||||||
},
|
|
||||||
"asset": {
|
|
||||||
"__uuid__": "e311a003-c0a1-4ff9-9983-2154de145eb7"
|
|
||||||
},
|
|
||||||
"fileId": "",
|
|
||||||
"sync": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"__type__": "cc.Widget",
|
"__type__": "cc.Widget",
|
||||||
"_name": "",
|
"_name": "",
|
||||||
@ -5928,10 +5878,10 @@
|
|||||||
"_active": true,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 132
|
"__id__": 130
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__id__": 133
|
"__id__": 131
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"_prefab": null,
|
"_prefab": null,
|
||||||
@ -5987,7 +5937,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 131
|
"__id__": 129
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"_materials": [
|
"_materials": [
|
||||||
@ -6021,7 +5971,7 @@
|
|||||||
"_name": "",
|
"_name": "",
|
||||||
"_objFlags": 0,
|
"_objFlags": 0,
|
||||||
"node": {
|
"node": {
|
||||||
"__id__": 131
|
"__id__": 129
|
||||||
},
|
},
|
||||||
"_enabled": true,
|
"_enabled": true,
|
||||||
"alignMode": 1,
|
"alignMode": 1,
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.navbar__link {
|
.navbar__link {
|
||||||
color: var(--ifm-navbar-link-color);
|
|
||||||
font-weight: var(--ifm-font-weight-normal);
|
font-weight: var(--ifm-font-weight-normal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,24 +166,14 @@
|
|||||||
"6eBWFz0oVHPLIGQKf/9Thu"
|
"6eBWFz0oVHPLIGQKf/9Thu"
|
||||||
],
|
],
|
||||||
"scenes": {},
|
"scenes": {},
|
||||||
"redirect": [
|
"redirect": [],
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
"deps": [],
|
||||||
0,
|
|
||||||
"34Wm35ZlJBApgKytyVFWhX",
|
|
||||||
0,
|
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
|
||||||
0,
|
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"deps": [
|
|
||||||
"main"
|
|
||||||
],
|
|
||||||
"packs": {
|
"packs": {
|
||||||
"0f247028f": [
|
"0472ad032": [
|
||||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||||
"1cijzBpFJCdoSNK98w5oUq",
|
"1cijzBpFJCdoSNK98w5oUq",
|
||||||
"2cDGL4OAVN0ZbEl3w2urT8",
|
"2cDGL4OAVN0ZbEl3w2urT8",
|
||||||
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
"39jYWzSTREwI2OOBK5nwFe",
|
"39jYWzSTREwI2OOBK5nwFe",
|
||||||
"3e30KyALhNkZttyuW0A6EU",
|
"3e30KyALhNkZttyuW0A6EU",
|
||||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||||
@ -194,11 +184,14 @@
|
|||||||
"70JFWsm5JN17FDywI0Lb5I",
|
"70JFWsm5JN17FDywI0Lb5I",
|
||||||
"70VXjGE0JMUqGli0jmCmTF",
|
"70VXjGE0JMUqGli0jmCmTF",
|
||||||
"80AR/OlBFOoajT99htLYeJ",
|
"80AR/OlBFOoajT99htLYeJ",
|
||||||
|
"80ThG1v09KeKxKhEPnFmvh",
|
||||||
"8029xEf4FHy49dWo6NK8c7",
|
"8029xEf4FHy49dWo6NK8c7",
|
||||||
"85yTK+9shIo7RQfQ1TDEUi",
|
"85yTK+9shIo7RQfQ1TDEUi",
|
||||||
"87/8ZHBEVIkKeNxmalrn9r",
|
"87/8ZHBEVIkKeNxmalrn9r",
|
||||||
"92aqwImq1Ik7GrBSFnKTF2",
|
"92aqwImq1Ik7GrBSFnKTF2",
|
||||||
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
"a7ZscqX+JCIZRS157bMyhq",
|
"a7ZscqX+JCIZRS157bMyhq",
|
||||||
|
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||||
"b5ObM0rx1GDKGN3k5VlH0s",
|
"b5ObM0rx1GDKGN3k5VlH0s",
|
||||||
"b6OkwTsm1LK5cvRTwFehiy",
|
"b6OkwTsm1LK5cvRTwFehiy",
|
||||||
"bc2ZOJo5NCbrI0FXxitEvE",
|
"bc2ZOJo5NCbrI0FXxitEvE",
|
||||||
@ -218,8 +211,8 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"0f247028f",
|
"0472ad032",
|
||||||
"a9e3f"
|
"4b502"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
"1cijzBpFJCdoSNK98w5oUq",
|
"1cijzBpFJCdoSNK98w5oUq",
|
||||||
@ -238,6 +231,10 @@
|
|||||||
"6d3cf",
|
"6d3cf",
|
||||||
"70JFWsm5JN17FDywI0Lb5I",
|
"70JFWsm5JN17FDywI0Lb5I",
|
||||||
"7b3fa",
|
"7b3fa",
|
||||||
|
"80ThG1v09KeKxKhEPnFmvh",
|
||||||
|
"fd38c",
|
||||||
|
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||||
|
"0f278",
|
||||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||||
"d86d7",
|
"d86d7",
|
||||||
"d0bST/wYpJQIL5T+PCq46W",
|
"d0bST/wYpJQIL5T+PCq46W",
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 144 KiB |
BIN
docs/static/demo/web-desktop/assets/common/native/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.fd38c.png
vendored
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
docs/static/demo/web-desktop/assets/common/native/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.0f278.png
vendored
Normal file
After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 215 KiB |
@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"paths": {},
|
"paths": {
|
||||||
|
"e3EaADwKFP+ZmDIVTeFF63": [
|
||||||
|
"home",
|
||||||
|
"cc.Prefab"
|
||||||
|
]
|
||||||
|
},
|
||||||
"uuids": [
|
"uuids": [
|
||||||
"catK9m3HRBtYgmebOjC6ma",
|
|
||||||
"ecpdLyjvZBwrvm+cedCcQy",
|
|
||||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
|
||||||
"5cO7kybDxGj4ipyMYdRYZB",
|
|
||||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
"e3EaADwKFP+ZmDIVTeFF63",
|
||||||
"02delMVqdBD70a/HSD99FK",
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
"312JYturtOx74Zjp9UpOqZ",
|
"312JYturtOx74Zjp9UpOqZ",
|
||||||
"e7q6FL+VZEgLJUjVeDLic/",
|
"e7q6FL+VZEgLJUjVeDLic/",
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
@ -16,56 +16,53 @@
|
|||||||
"34Wm35ZlJBApgKytyVFWhX",
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
"7a/QZLET9IDreTiBfRn2PD",
|
"7a/QZLET9IDreTiBfRn2PD",
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1"
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"80ThG1v09KeKxKhEPnFmvh"
|
|
||||||
],
|
],
|
||||||
"scenes": {
|
"scenes": {},
|
||||||
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
|
|
||||||
},
|
|
||||||
"redirect": [
|
"redirect": [
|
||||||
"ecpdLyjvZBwrvm+cedCcQy",
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
0,
|
0,
|
||||||
"02delMVqdBD70a/HSD99FK",
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
0,
|
1,
|
||||||
"7a/QZLET9IDreTiBfRn2PD",
|
"7a/QZLET9IDreTiBfRn2PD",
|
||||||
0
|
0,
|
||||||
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
|
1,
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
2,
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
2,
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
2
|
||||||
],
|
],
|
||||||
"deps": [
|
"deps": [
|
||||||
"internal"
|
"internal",
|
||||||
|
"common",
|
||||||
|
"main"
|
||||||
],
|
],
|
||||||
"packs": {
|
"packs": {
|
||||||
"0689a141d": [
|
"025f75dc8": [
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
"312JYturtOx74Zjp9UpOqZ",
|
"312JYturtOx74Zjp9UpOqZ",
|
||||||
"34Wm35ZlJBApgKytyVFWhX",
|
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"5cO7kybDxGj4ipyMYdRYZB",
|
|
||||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
|
||||||
"68J8oyAQdFUrqy37MXmbtE",
|
"68J8oyAQdFUrqy37MXmbtE",
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1",
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
"90AErWL21A4ZPvtxQ3XG8G",
|
"90AErWL21A4ZPvtxQ3XG8G",
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
|
||||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"catK9m3HRBtYgmebOjC6ma",
|
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
"e3EaADwKFP+ZmDIVTeFF63",
|
||||||
"e7q6FL+VZEgLJUjVeDLic/"
|
"e7q6FL+VZEgLJUjVeDLic/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"name": "main",
|
"name": "home",
|
||||||
"importBase": "import",
|
"importBase": "import",
|
||||||
"nativeBase": "native",
|
"nativeBase": "native",
|
||||||
"debug": true,
|
"debug": true,
|
||||||
@ -73,28 +70,20 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"0689a141d",
|
"025f75dc8",
|
||||||
"2ef19"
|
"515a0"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
"b7a3e",
|
"b7a3e",
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"5f1d9",
|
"5f1d9",
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
|
||||||
"6d707",
|
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"c06a9",
|
"c06a9",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1",
|
||||||
"7661e",
|
"7661e",
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
"fd38c",
|
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"0f278",
|
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"65417",
|
"65417"
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
|
||||||
"d55c2"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"paths": {
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63": [
|
|
||||||
"home",
|
|
||||||
"cc.Prefab"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"uuids": [
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63"
|
|
||||||
],
|
|
||||||
"scenes": {},
|
|
||||||
"redirect": [
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"deps": [
|
|
||||||
"main"
|
|
||||||
],
|
|
||||||
"packs": {},
|
|
||||||
"name": "home",
|
|
||||||
"importBase": "import",
|
|
||||||
"nativeBase": "native",
|
|
||||||
"debug": true,
|
|
||||||
"isZip": false,
|
|
||||||
"encrypted": false,
|
|
||||||
"versions": {
|
|
||||||
"import": [],
|
|
||||||
"native": []
|
|
||||||
}
|
|
||||||
}
|
|
2534
docs/static/demo/web-desktop/assets/home/import/02/025f75dc8.515a0.json
vendored
Normal file
@ -85,6 +85,9 @@ window.__require = function e(t, n, r) {
|
|||||||
_this.enableMultiRender = toggle.isChecked;
|
_this.enableMultiRender = toggle.isChecked;
|
||||||
_this.multiRenderUpdate();
|
_this.multiRenderUpdate();
|
||||||
});
|
});
|
||||||
|
this.objectNumSlider.progress = .02;
|
||||||
|
var offset = (this.nums[1] - this.nums[0]) * this.objectNumSlider.progress;
|
||||||
|
this.num = this.nums[0] + Math.ceil(offset);
|
||||||
this.numUpdate();
|
this.numUpdate();
|
||||||
this.multiRenderUpdate();
|
this.multiRenderUpdate();
|
||||||
};
|
};
|
||||||
@ -114,7 +117,7 @@ window.__require = function e(t, n, r) {
|
|||||||
}
|
}
|
||||||
this.objects.addChild(node);
|
this.objects.addChild(node);
|
||||||
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
||||||
cc.tween(node).by(1, {
|
cc.tween(node).by(3, {
|
||||||
angle: 360
|
angle: 360
|
||||||
}).repeatForever().start();
|
}).repeatForever().start();
|
||||||
};
|
};
|
BIN
docs/static/demo/web-desktop/assets/home/native/02/0291c134-b3da-4098-b7b5-e397edbe947f.b7a3e.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
docs/static/demo/web-desktop/assets/home/native/56/567dcd80-8bf4-4535-8a5a-313f1caf078a.5f1d9.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/static/demo/web-desktop/assets/home/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
docs/static/demo/web-desktop/assets/home/native/73/73a0903d-d80e-4e3c-aa67-f999543c08f5.7661e.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/static/demo/web-desktop/assets/home/native/d2/d29077ba-1627-4a72-9579-7b56a235340c.65417.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
0
docs/static/demo/web-desktop/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
53
docs/static/demo/web-desktop/assets/main/config.f3bf0.json
vendored
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"paths": {},
|
||||||
|
"uuids": [
|
||||||
|
"catK9m3HRBtYgmebOjC6ma",
|
||||||
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"02delMVqdBD70a/HSD99FK",
|
||||||
|
"d608qFRoFHwbXd0Dap056i",
|
||||||
|
"61cyPdEfRN047sDK9rO0W5"
|
||||||
|
],
|
||||||
|
"scenes": {
|
||||||
|
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
|
||||||
|
},
|
||||||
|
"redirect": [
|
||||||
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
|
0,
|
||||||
|
"02delMVqdBD70a/HSD99FK",
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"deps": [
|
||||||
|
"internal"
|
||||||
|
],
|
||||||
|
"packs": {
|
||||||
|
"0b206e9e9": [
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"61cyPdEfRN047sDK9rO0W5",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
"catK9m3HRBtYgmebOjC6ma",
|
||||||
|
"d608qFRoFHwbXd0Dap056i"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "main",
|
||||||
|
"importBase": "import",
|
||||||
|
"nativeBase": "native",
|
||||||
|
"debug": true,
|
||||||
|
"isZip": false,
|
||||||
|
"encrypted": false,
|
||||||
|
"versions": {
|
||||||
|
"import": [
|
||||||
|
"0b206e9e9",
|
||||||
|
"4db5f"
|
||||||
|
],
|
||||||
|
"native": [
|
||||||
|
"61cyPdEfRN047sDK9rO0W5",
|
||||||
|
"6d707",
|
||||||
|
"d608qFRoFHwbXd0Dap056i",
|
||||||
|
"d55c2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
3180
docs/static/demo/web-desktop/assets/main/import/0b/0b206e9e9.4db5f.json
vendored
Normal file
@ -130,21 +130,14 @@ window.__require = function e(t, n, r) {
|
|||||||
path: "skin/spine-skin"
|
path: "skin/spine-skin"
|
||||||
} ] ]);
|
} ] ]);
|
||||||
this.initBtns();
|
this.initBtns();
|
||||||
|
this.switchPage(this.map.get(this.home));
|
||||||
};
|
};
|
||||||
LeftArea.prototype.initBtns = function() {
|
LeftArea.prototype.initBtns = function() {
|
||||||
var e_1, _a;
|
var e_1, _a;
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var _loop_1 = function(node, route) {
|
var _loop_1 = function(node, route) {
|
||||||
node.on("toggle", function(toggle) {
|
node.on("toggle", function(toggle) {
|
||||||
if (toggle.isChecked) {
|
toggle.isChecked && _this.switchPage(route);
|
||||||
var cur_1 = ++_this.tick;
|
|
||||||
_this.mainArea.destroyAllChildren();
|
|
||||||
route && cc.assetManager.loadBundle(route.bundle, function(err, bundle) {
|
|
||||||
err || bundle.load(route.path, cc.Prefab, function(err, prefab) {
|
|
||||||
err || cur_1 !== _this.tick || _this.mainArea.addChild(cc.instantiate(prefab));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
@ -164,6 +157,18 @@ window.__require = function e(t, n, r) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
LeftArea.prototype.switchPage = function(route) {
|
||||||
|
var _this = this;
|
||||||
|
var cur = ++this.tick;
|
||||||
|
this.mainArea.destroyAllChildren();
|
||||||
|
route && cc.assetManager.loadBundle("common", function() {
|
||||||
|
cc.assetManager.loadBundle(route.bundle, function(err, bundle) {
|
||||||
|
err || bundle.load(route.path, cc.Prefab, function(err, prefab) {
|
||||||
|
err || cur !== _this.tick || _this.mainArea.addChild(cc.instantiate(prefab));
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "home", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "home", void 0);
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiMaterial", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiMaterial", void 0);
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiBatcher", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiBatcher", void 0);
|
Before Width: | Height: | Size: 162 B |
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 167 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 1.0 KiB |
@ -119,20 +119,19 @@
|
|||||||
"6eBWFz0oVHPLIGQKf/9Thu",
|
"6eBWFz0oVHPLIGQKf/9Thu",
|
||||||
"bc2ZOJo5NCbrI0FXxitEvE",
|
"bc2ZOJo5NCbrI0FXxitEvE",
|
||||||
"2cDGL4OAVN0ZbEl3w2urT8",
|
"2cDGL4OAVN0ZbEl3w2urT8",
|
||||||
|
"e8Ueib+qJEhL6mXAHdnwbi",
|
||||||
"5dz/wYuRNGDqDZXXT0zaEr",
|
"5dz/wYuRNGDqDZXXT0zaEr",
|
||||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||||
"1cijzBpFJCdoSNK98w5oUq",
|
"1cijzBpFJCdoSNK98w5oUq",
|
||||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||||
"d9xFMK7wVFwbAS60aG9McP",
|
"d9xFMK7wVFwbAS60aG9McP",
|
||||||
"e8Ueib+qJEhL6mXAHdnwbi",
|
"b4P/PCArtIdIH38t6mlw8Y",
|
||||||
"b4P/PCArtIdIH38t6mlw8Y"
|
"71VhFCTINJM6/Ky3oX9nBT"
|
||||||
],
|
],
|
||||||
"scenes": {},
|
"scenes": {},
|
||||||
"redirect": [
|
"redirect": [
|
||||||
"ecpdLyjvZBwrvm+cedCcQy",
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
0,
|
0,
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
|
||||||
1,
|
|
||||||
"5cO7kybDxGj4ipyMYdRYZB",
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
1,
|
1,
|
||||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
@ -166,18 +165,20 @@
|
|||||||
"common"
|
"common"
|
||||||
],
|
],
|
||||||
"packs": {
|
"packs": {
|
||||||
"0f3f96b00": [
|
"03de068c3": [
|
||||||
"0a5R1NT2lDxqcI2pwtgfb1",
|
"0a5R1NT2lDxqcI2pwtgfb1",
|
||||||
"0eAM9yHrBFe4PSAXHMHNl+",
|
"0eAM9yHrBFe4PSAXHMHNl+",
|
||||||
"10Drosz6JPsKWsqV+bRh/A",
|
"10Drosz6JPsKWsqV+bRh/A",
|
||||||
"14W7pBGWJJ7q7JCPsVTovy",
|
"14W7pBGWJJ7q7JCPsVTovy",
|
||||||
"22JHeF7zBLZqnS68r2p/bo",
|
"22JHeF7zBLZqnS68r2p/bo",
|
||||||
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
"2dPOEW20pCTLs79c0WyZVp",
|
"2dPOEW20pCTLs79c0WyZVp",
|
||||||
"41Zz922rlJZZmZnFZqPxVK",
|
"41Zz922rlJZZmZnFZqPxVK",
|
||||||
"43jA/TdMpFA7K8IIjNbb9M",
|
"43jA/TdMpFA7K8IIjNbb9M",
|
||||||
"44mZ0YUdFAF56mmNytjs31",
|
"44mZ0YUdFAF56mmNytjs31",
|
||||||
"55URLSNf5K3IyZBezfiMKa",
|
"55URLSNf5K3IyZBezfiMKa",
|
||||||
"5dz/wYuRNGDqDZXXT0zaEr",
|
"5dz/wYuRNGDqDZXXT0zaEr",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"77hE9EwNpMlKl/+sGrhEVR",
|
"77hE9EwNpMlKl/+sGrhEVR",
|
||||||
"7aeIQwZiFL1YbOCVeiFt1p",
|
"7aeIQwZiFL1YbOCVeiFt1p",
|
||||||
"8c20Sso/ZEn7NUfNSM+EBh",
|
"8c20Sso/ZEn7NUfNSM+EBh",
|
||||||
@ -202,8 +203,8 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"0f3f96b00",
|
"03de068c3",
|
||||||
"77865"
|
"a5082"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
"10Drosz6JPsKWsqV+bRh/A",
|
"10Drosz6JPsKWsqV+bRh/A",
|
||||||
@ -214,6 +215,8 @@
|
|||||||
"28847",
|
"28847",
|
||||||
"44mZ0YUdFAF56mmNytjs31",
|
"44mZ0YUdFAF56mmNytjs31",
|
||||||
"99af5",
|
"99af5",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
|
"c06a9",
|
||||||
"77hE9EwNpMlKl/+sGrhEVR",
|
"77hE9EwNpMlKl/+sGrhEVR",
|
||||||
"92cfc",
|
"92cfc",
|
||||||
"7aeIQwZiFL1YbOCVeiFt1p",
|
"7aeIQwZiFL1YbOCVeiFt1p",
|
@ -27,6 +27,7 @@
|
|||||||
"8fHzmU6I5EBqjpHEb0Xl3i",
|
"8fHzmU6I5EBqjpHEb0Xl3i",
|
||||||
"eahTDGUrZBV4Y+i+JslTuW",
|
"eahTDGUrZBV4Y+i+JslTuW",
|
||||||
"c4+eoUuahAOa4lmC/4Hkdi",
|
"c4+eoUuahAOa4lmC/4Hkdi",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"10Drosz6JPsKWsqV+bRh/A",
|
"10Drosz6JPsKWsqV+bRh/A",
|
||||||
"22JHeF7zBLZqnS68r2p/bo",
|
"22JHeF7zBLZqnS68r2p/bo",
|
||||||
"7aeIQwZiFL1YbOCVeiFt1p",
|
"7aeIQwZiFL1YbOCVeiFt1p",
|
||||||
@ -2217,6 +2218,46 @@
|
|||||||
[],
|
[],
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "default_btn_disabled",
|
||||||
|
"rect": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
40,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"offset": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"originalSize": [
|
||||||
|
40,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"capInsets": [
|
||||||
|
12,
|
||||||
|
12,
|
||||||
|
12,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
[
|
||||||
|
2
|
||||||
|
],
|
||||||
|
[
|
||||||
|
26
|
||||||
|
]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -2254,7 +2295,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
26
|
27
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -2294,7 +2335,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
27
|
28
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -2360,7 +2401,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
28
|
29
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -2661,6 +2702,19 @@
|
|||||||
[],
|
[],
|
||||||
[]
|
[]
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0,9729,9729,33071,33071,0,0,1",
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
1
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
[],
|
||||||
|
[],
|
||||||
|
[]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
"0,9729,9729,33071,33071,0,0,0",
|
"0,9729,9729,33071,33071,0,0,0",
|
||||||
@ -2764,7 +2818,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
29
|
30
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -2817,7 +2871,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
30
|
31
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -2870,7 +2924,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
31
|
32
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -4953,7 +5007,7 @@
|
|||||||
1,
|
1,
|
||||||
10,
|
10,
|
||||||
1,
|
1,
|
||||||
32,
|
33,
|
||||||
1,
|
1,
|
||||||
4,
|
4,
|
||||||
1,
|
1,
|
||||||
@ -4961,14 +5015,14 @@
|
|||||||
1,
|
1,
|
||||||
4,
|
4,
|
||||||
0,
|
0,
|
||||||
33,
|
34,
|
||||||
1,
|
1,
|
||||||
3,
|
3,
|
||||||
1,
|
1,
|
||||||
11,
|
11,
|
||||||
1,
|
1,
|
||||||
11,
|
11,
|
||||||
34,
|
35,
|
||||||
10,
|
10,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -5028,7 +5082,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
35
|
36
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -5068,7 +5122,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
36
|
37
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -5121,7 +5175,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
37
|
38
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 7.1 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 7.3 KiB |
@ -28,6 +28,7 @@
|
|||||||
"87/8ZHBEVIkKeNxmalrn9r",
|
"87/8ZHBEVIkKeNxmalrn9r",
|
||||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||||
"e8Ueib+qJEhL6mXAHdnwbi",
|
"e8Ueib+qJEhL6mXAHdnwbi",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"b4P/PCArtIdIH38t6mlw8Y"
|
"b4P/PCArtIdIH38t6mlw8Y"
|
||||||
],
|
],
|
||||||
"scenes": {},
|
"scenes": {},
|
||||||
@ -39,7 +40,7 @@
|
|||||||
"7a/QZLET9IDreTiBfRn2PD",
|
"7a/QZLET9IDreTiBfRn2PD",
|
||||||
0,
|
0,
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
2,
|
1,
|
||||||
"85yTK+9shIo7RQfQ1TDEUi",
|
"85yTK+9shIo7RQfQ1TDEUi",
|
||||||
1,
|
1,
|
||||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||||
@ -50,8 +51,6 @@
|
|||||||
2,
|
2,
|
||||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
2,
|
2,
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
|
||||||
2,
|
|
||||||
"70VXjGE0JMUqGli0jmCmTF",
|
"70VXjGE0JMUqGli0jmCmTF",
|
||||||
1,
|
1,
|
||||||
"87/8ZHBEVIkKeNxmalrn9r",
|
"87/8ZHBEVIkKeNxmalrn9r",
|
||||||
@ -65,8 +64,10 @@
|
|||||||
"main"
|
"main"
|
||||||
],
|
],
|
||||||
"packs": {
|
"packs": {
|
||||||
"060a34fe6": [
|
"05fa2ad10": [
|
||||||
"03EprhmOVCZKUbb5XyPXQq",
|
"03EprhmOVCZKUbb5XyPXQq",
|
||||||
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"76ZjeTsCNJMYn7/rwRXCpD",
|
"76ZjeTsCNJMYn7/rwRXCpD",
|
||||||
"b4P/PCArtIdIH38t6mlw8Y",
|
"b4P/PCArtIdIH38t6mlw8Y",
|
||||||
"e8Ueib+qJEhL6mXAHdnwbi",
|
"e8Ueib+qJEhL6mXAHdnwbi",
|
||||||
@ -82,10 +83,12 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"060a34fe6",
|
"05fa2ad10",
|
||||||
"ca473"
|
"ef553"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
|
"c06a9",
|
||||||
"b4P/PCArtIdIH38t6mlw8Y",
|
"b4P/PCArtIdIH38t6mlw8Y",
|
||||||
"83fcc",
|
"83fcc",
|
||||||
"e8Ueib+qJEhL6mXAHdnwbi",
|
"e8Ueib+qJEhL6mXAHdnwbi",
|
@ -16,6 +16,7 @@
|
|||||||
"70VXjGE0JMUqGli0jmCmTF",
|
"70VXjGE0JMUqGli0jmCmTF",
|
||||||
"87/8ZHBEVIkKeNxmalrn9r",
|
"87/8ZHBEVIkKeNxmalrn9r",
|
||||||
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
"d0Bu8c2MBCKJc+mKBWzjsJ",
|
||||||
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"b4P/PCArtIdIH38t6mlw8Y",
|
"b4P/PCArtIdIH38t6mlw8Y",
|
||||||
"e8Ueib+qJEhL6mXAHdnwbi"
|
"e8Ueib+qJEhL6mXAHdnwbi"
|
||||||
],
|
],
|
||||||
@ -28,10 +29,10 @@
|
|||||||
"_N$pressedSprite",
|
"_N$pressedSprite",
|
||||||
"_N$hoverSprite",
|
"_N$hoverSprite",
|
||||||
"_N$disabledSprite",
|
"_N$disabledSprite",
|
||||||
|
"_textureSetter",
|
||||||
"root",
|
"root",
|
||||||
"data",
|
"data",
|
||||||
"_scrollView",
|
"_scrollView",
|
||||||
"_textureSetter",
|
|
||||||
"boy",
|
"boy",
|
||||||
"randomChangeBtn",
|
"randomChangeBtn",
|
||||||
"removeBoyBtn",
|
"removeBoyBtn",
|
||||||
@ -109,6 +110,8 @@
|
|||||||
3,
|
3,
|
||||||
6
|
6
|
||||||
],
|
],
|
||||||
|
"cc.SpriteFrame",
|
||||||
|
"cc.Texture2D",
|
||||||
[
|
[
|
||||||
"cc.Label",
|
"cc.Label",
|
||||||
[
|
[
|
||||||
@ -143,8 +146,6 @@
|
|||||||
3,
|
3,
|
||||||
6
|
6
|
||||||
],
|
],
|
||||||
"cc.Texture2D",
|
|
||||||
"cc.SpriteFrame",
|
|
||||||
[
|
[
|
||||||
"cc.Node",
|
"cc.Node",
|
||||||
[
|
[
|
||||||
@ -416,7 +417,7 @@
|
|||||||
2
|
2
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
4,
|
6,
|
||||||
0,
|
0,
|
||||||
5,
|
5,
|
||||||
6,
|
6,
|
||||||
@ -581,7 +582,7 @@
|
|||||||
3
|
3
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
4,
|
6,
|
||||||
0,
|
0,
|
||||||
5,
|
5,
|
||||||
1,
|
1,
|
||||||
@ -670,7 +671,7 @@
|
|||||||
3
|
3
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
4,
|
6,
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
@ -680,7 +681,7 @@
|
|||||||
6
|
6
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
5,
|
7,
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
@ -692,7 +693,7 @@
|
|||||||
6
|
6
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
5,
|
7,
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
@ -705,7 +706,7 @@
|
|||||||
7
|
7
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
5,
|
7,
|
||||||
0,
|
0,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
@ -1633,7 +1634,7 @@
|
|||||||
0,
|
0,
|
||||||
[
|
[
|
||||||
0,
|
0,
|
||||||
8,
|
9,
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -1783,7 +1784,7 @@
|
|||||||
-1,
|
-1,
|
||||||
21,
|
21,
|
||||||
0,
|
0,
|
||||||
9,
|
10,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
2,
|
2,
|
||||||
@ -1798,7 +1799,7 @@
|
|||||||
2,
|
2,
|
||||||
12,
|
12,
|
||||||
22,
|
22,
|
||||||
10,
|
11,
|
||||||
23,
|
23,
|
||||||
50
|
50
|
||||||
],
|
],
|
||||||
@ -1914,6 +1915,59 @@
|
|||||||
11
|
11
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "default_btn_disabled",
|
||||||
|
"rect": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
40,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"offset": [
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"originalSize": [
|
||||||
|
40,
|
||||||
|
40
|
||||||
|
],
|
||||||
|
"capInsets": [
|
||||||
|
12,
|
||||||
|
12,
|
||||||
|
12,
|
||||||
|
12
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
4
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
[
|
||||||
|
0
|
||||||
|
],
|
||||||
|
[
|
||||||
|
8
|
||||||
|
],
|
||||||
|
[
|
||||||
|
15
|
||||||
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
[
|
||||||
|
"0,9729,9729,33071,33071,0,0,1",
|
||||||
|
-1
|
||||||
|
],
|
||||||
|
[
|
||||||
|
5
|
||||||
|
],
|
||||||
|
0,
|
||||||
|
[],
|
||||||
|
[],
|
||||||
|
[]
|
||||||
|
],
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
@ -2853,7 +2907,7 @@
|
|||||||
0,
|
0,
|
||||||
[
|
[
|
||||||
0,
|
0,
|
||||||
8,
|
9,
|
||||||
1,
|
1,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -2997,7 +3051,7 @@
|
|||||||
-1,
|
-1,
|
||||||
22,
|
22,
|
||||||
0,
|
0,
|
||||||
9,
|
10,
|
||||||
1,
|
1,
|
||||||
2,
|
2,
|
||||||
2,
|
2,
|
||||||
@ -3006,7 +3060,7 @@
|
|||||||
2,
|
2,
|
||||||
9,
|
9,
|
||||||
23,
|
23,
|
||||||
10,
|
11,
|
||||||
24,
|
24,
|
||||||
48
|
48
|
||||||
],
|
],
|
||||||
@ -3077,7 +3131,7 @@
|
|||||||
-1
|
-1
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
6
|
5
|
||||||
],
|
],
|
||||||
0,
|
0,
|
||||||
[],
|
[],
|
||||||
@ -3090,7 +3144,7 @@
|
|||||||
-1
|
-1
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
6
|
5
|
||||||
],
|
],
|
||||||
0,
|
0,
|
||||||
[],
|
[],
|
||||||
@ -3124,17 +3178,17 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
7
|
4
|
||||||
],
|
],
|
||||||
0,
|
0,
|
||||||
[
|
[
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
11
|
8
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
15
|
16
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -3164,17 +3218,17 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
7
|
4
|
||||||
],
|
],
|
||||||
0,
|
0,
|
||||||
[
|
[
|
||||||
0
|
0
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
11
|
8
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
16
|
17
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
BIN
docs/static/demo/web-desktop/assets/spine/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 1.1 KiB |
4
docs/static/demo/web-desktop/index.html
vendored
@ -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.1e91a.js" charset="utf-8"></script>
|
<script src="src/settings.e90db.js" charset="utf-8"></script>
|
||||||
<script src="main.e5dd8.js" charset="utf-8"></script>
|
<script src="main.e12ee.js" charset="utf-8"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function () {
|
(function () {
|
||||||
|
@ -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.1e91a.js');
|
require('src/settings.e90db.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.1e91a.js');
|
require('src/settings.e90db.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');
|
BIN
docs/static/demo/web-desktop/splash.85cfd.png
vendored
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 13 KiB |
@ -19,11 +19,11 @@ window._CCSettings = {
|
|||||||
bundleVers: {
|
bundleVers: {
|
||||||
sp: "de22b",
|
sp: "de22b",
|
||||||
internal: "8360b",
|
internal: "8360b",
|
||||||
common: "0362f",
|
common: "0ae49",
|
||||||
home: "b7f41",
|
home: "ae706",
|
||||||
"multi-render": "5bb28",
|
"multi-render": "0487e",
|
||||||
spine: "039fb",
|
spine: "5b7f8",
|
||||||
"text-render": "2db47",
|
"text-render": "2db47",
|
||||||
main: "1c467"
|
main: "f3bf0"
|
||||||
}
|
}
|
||||||
};
|
};
|
@ -166,24 +166,14 @@
|
|||||||
"6eBWFz0oVHPLIGQKf/9Thu"
|
"6eBWFz0oVHPLIGQKf/9Thu"
|
||||||
],
|
],
|
||||||
"scenes": {},
|
"scenes": {},
|
||||||
"redirect": [
|
"redirect": [],
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
"deps": [],
|
||||||
0,
|
|
||||||
"34Wm35ZlJBApgKytyVFWhX",
|
|
||||||
0,
|
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
|
||||||
0,
|
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"deps": [
|
|
||||||
"main"
|
|
||||||
],
|
|
||||||
"packs": {
|
"packs": {
|
||||||
"0f247028f": [
|
"0472ad032": [
|
||||||
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
"09o3P/9gBP/Yc7AnxUBZ+Q",
|
||||||
"1cijzBpFJCdoSNK98w5oUq",
|
"1cijzBpFJCdoSNK98w5oUq",
|
||||||
"2cDGL4OAVN0ZbEl3w2urT8",
|
"2cDGL4OAVN0ZbEl3w2urT8",
|
||||||
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
"39jYWzSTREwI2OOBK5nwFe",
|
"39jYWzSTREwI2OOBK5nwFe",
|
||||||
"3e30KyALhNkZttyuW0A6EU",
|
"3e30KyALhNkZttyuW0A6EU",
|
||||||
"45vlnzVlVDaZ6fRVyB0t3Z",
|
"45vlnzVlVDaZ6fRVyB0t3Z",
|
||||||
@ -194,11 +184,14 @@
|
|||||||
"70JFWsm5JN17FDywI0Lb5I",
|
"70JFWsm5JN17FDywI0Lb5I",
|
||||||
"70VXjGE0JMUqGli0jmCmTF",
|
"70VXjGE0JMUqGli0jmCmTF",
|
||||||
"80AR/OlBFOoajT99htLYeJ",
|
"80AR/OlBFOoajT99htLYeJ",
|
||||||
|
"80ThG1v09KeKxKhEPnFmvh",
|
||||||
"8029xEf4FHy49dWo6NK8c7",
|
"8029xEf4FHy49dWo6NK8c7",
|
||||||
"85yTK+9shIo7RQfQ1TDEUi",
|
"85yTK+9shIo7RQfQ1TDEUi",
|
||||||
"87/8ZHBEVIkKeNxmalrn9r",
|
"87/8ZHBEVIkKeNxmalrn9r",
|
||||||
"92aqwImq1Ik7GrBSFnKTF2",
|
"92aqwImq1Ik7GrBSFnKTF2",
|
||||||
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
"a7ZscqX+JCIZRS157bMyhq",
|
"a7ZscqX+JCIZRS157bMyhq",
|
||||||
|
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||||
"b5ObM0rx1GDKGN3k5VlH0s",
|
"b5ObM0rx1GDKGN3k5VlH0s",
|
||||||
"b6OkwTsm1LK5cvRTwFehiy",
|
"b6OkwTsm1LK5cvRTwFehiy",
|
||||||
"bc2ZOJo5NCbrI0FXxitEvE",
|
"bc2ZOJo5NCbrI0FXxitEvE",
|
||||||
@ -218,8 +211,8 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"0f247028f",
|
"0472ad032",
|
||||||
"a9e3f"
|
"4b502"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
"1cijzBpFJCdoSNK98w5oUq",
|
"1cijzBpFJCdoSNK98w5oUq",
|
||||||
@ -238,6 +231,10 @@
|
|||||||
"6d3cf",
|
"6d3cf",
|
||||||
"70JFWsm5JN17FDywI0Lb5I",
|
"70JFWsm5JN17FDywI0Lb5I",
|
||||||
"7b3fa",
|
"7b3fa",
|
||||||
|
"80ThG1v09KeKxKhEPnFmvh",
|
||||||
|
"fd38c",
|
||||||
|
"a97PGbCjtNjr/hYUBJUJ3p",
|
||||||
|
"0f278",
|
||||||
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
"c1Hf3Sl8ZAnJwP/fpoHxap",
|
||||||
"d86d7",
|
"d86d7",
|
||||||
"d0bST/wYpJQIL5T+PCq46W",
|
"d0bST/wYpJQIL5T+PCq46W",
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 53 KiB |
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 183 KiB After Width: | Height: | Size: 198 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 135 KiB After Width: | Height: | Size: 144 KiB |
BIN
docs/static/demo/web-mobile/assets/common/native/80/804e11b5-bf4f-4a78-ac4a-8443e7166be1.fd38c.png
vendored
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
docs/static/demo/web-mobile/assets/common/native/a9/a9ecf19b-0a3b-4d8e-bfe1-614049509de9.0f278.png
vendored
Normal file
After Width: | Height: | Size: 212 KiB |
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 83 KiB |
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 102 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 215 KiB |
@ -1,14 +1,13 @@
|
|||||||
{
|
{
|
||||||
"paths": {},
|
"paths": {
|
||||||
|
"e3EaADwKFP+ZmDIVTeFF63": [
|
||||||
|
"home",
|
||||||
|
"cc.Prefab"
|
||||||
|
]
|
||||||
|
},
|
||||||
"uuids": [
|
"uuids": [
|
||||||
"catK9m3HRBtYgmebOjC6ma",
|
|
||||||
"ecpdLyjvZBwrvm+cedCcQy",
|
|
||||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
|
||||||
"5cO7kybDxGj4ipyMYdRYZB",
|
|
||||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
"e3EaADwKFP+ZmDIVTeFF63",
|
||||||
"02delMVqdBD70a/HSD99FK",
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
|
||||||
"312JYturtOx74Zjp9UpOqZ",
|
"312JYturtOx74Zjp9UpOqZ",
|
||||||
"e7q6FL+VZEgLJUjVeDLic/",
|
"e7q6FL+VZEgLJUjVeDLic/",
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
@ -17,55 +16,53 @@
|
|||||||
"34Wm35ZlJBApgKytyVFWhX",
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
"7a/QZLET9IDreTiBfRn2PD",
|
"7a/QZLET9IDreTiBfRn2PD",
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1"
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"80ThG1v09KeKxKhEPnFmvh"
|
|
||||||
],
|
],
|
||||||
"scenes": {
|
"scenes": {},
|
||||||
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
|
|
||||||
},
|
|
||||||
"redirect": [
|
"redirect": [
|
||||||
"ecpdLyjvZBwrvm+cedCcQy",
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
0,
|
0,
|
||||||
"02delMVqdBD70a/HSD99FK",
|
"34Wm35ZlJBApgKytyVFWhX",
|
||||||
0,
|
1,
|
||||||
"7a/QZLET9IDreTiBfRn2PD",
|
"7a/QZLET9IDreTiBfRn2PD",
|
||||||
0
|
0,
|
||||||
|
"93dM6KrkZCf5dgNpQwf7T6",
|
||||||
|
1,
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
2,
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
2,
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
2
|
||||||
],
|
],
|
||||||
"deps": [
|
"deps": [
|
||||||
"internal"
|
"internal",
|
||||||
|
"common",
|
||||||
|
"main"
|
||||||
],
|
],
|
||||||
"packs": {
|
"packs": {
|
||||||
"0689a141d": [
|
"025f75dc8": [
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
"29FYIk+N1GYaeWH/q1NxQO",
|
"29FYIk+N1GYaeWH/q1NxQO",
|
||||||
"312JYturtOx74Zjp9UpOqZ",
|
"312JYturtOx74Zjp9UpOqZ",
|
||||||
"34Wm35ZlJBApgKytyVFWhX",
|
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"5cO7kybDxGj4ipyMYdRYZB",
|
|
||||||
"5f5dyqtRNNxaFmVzYns6FZ",
|
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
|
||||||
"68J8oyAQdFUrqy37MXmbtE",
|
"68J8oyAQdFUrqy37MXmbtE",
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1",
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
"90AErWL21A4ZPvtxQ3XG8G",
|
"90AErWL21A4ZPvtxQ3XG8G",
|
||||||
"93dM6KrkZCf5dgNpQwf7T6",
|
|
||||||
"a2MjXRFdtLlYQ5ouAFv/+R",
|
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"catK9m3HRBtYgmebOjC6ma",
|
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
"e3EaADwKFP+ZmDIVTeFF63",
|
||||||
"e7q6FL+VZEgLJUjVeDLic/"
|
"e7q6FL+VZEgLJUjVeDLic/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"name": "main",
|
"name": "home",
|
||||||
"importBase": "import",
|
"importBase": "import",
|
||||||
"nativeBase": "native",
|
"nativeBase": "native",
|
||||||
"debug": true,
|
"debug": true,
|
||||||
@ -73,28 +70,20 @@
|
|||||||
"encrypted": false,
|
"encrypted": false,
|
||||||
"versions": {
|
"versions": {
|
||||||
"import": [
|
"import": [
|
||||||
"0689a141d",
|
"025f75dc8",
|
||||||
"2ef19"
|
"515a0"
|
||||||
],
|
],
|
||||||
"native": [
|
"native": [
|
||||||
"02kcE0s9pAmLe145ftvpR/",
|
"02kcE0s9pAmLe145ftvpR/",
|
||||||
"b7a3e",
|
"b7a3e",
|
||||||
"56fc2Ai/RFNYpaMT8crweK",
|
"56fc2Ai/RFNYpaMT8crweK",
|
||||||
"5f1d9",
|
"5f1d9",
|
||||||
"61cyPdEfRN047sDK9rO0W5",
|
|
||||||
"6d707",
|
|
||||||
"71VhFCTINJM6/Ky3oX9nBT",
|
"71VhFCTINJM6/Ky3oX9nBT",
|
||||||
"c06a9",
|
"c06a9",
|
||||||
"73oJA92A5OPKpn+ZlUPAj1",
|
"73oJA92A5OPKpn+ZlUPAj1",
|
||||||
"7661e",
|
"7661e",
|
||||||
"80ThG1v09KeKxKhEPnFmvh",
|
|
||||||
"fd38c",
|
|
||||||
"a97PGbCjtNjr/hYUBJUJ3p",
|
|
||||||
"0f278",
|
|
||||||
"d2kHe6FidKcpV5e1aiNTQM",
|
"d2kHe6FidKcpV5e1aiNTQM",
|
||||||
"65417",
|
"65417"
|
||||||
"d608qFRoFHwbXd0Dap056i",
|
|
||||||
"d55c2"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
"paths": {
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63": [
|
|
||||||
"home",
|
|
||||||
"cc.Prefab"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"uuids": [
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63"
|
|
||||||
],
|
|
||||||
"scenes": {},
|
|
||||||
"redirect": [
|
|
||||||
"e3EaADwKFP+ZmDIVTeFF63",
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"deps": [
|
|
||||||
"main"
|
|
||||||
],
|
|
||||||
"packs": {},
|
|
||||||
"name": "home",
|
|
||||||
"importBase": "import",
|
|
||||||
"nativeBase": "native",
|
|
||||||
"debug": true,
|
|
||||||
"isZip": false,
|
|
||||||
"encrypted": false,
|
|
||||||
"versions": {
|
|
||||||
"import": [],
|
|
||||||
"native": []
|
|
||||||
}
|
|
||||||
}
|
|
2534
docs/static/demo/web-mobile/assets/home/import/02/025f75dc8.515a0.json
vendored
Normal file
@ -85,6 +85,9 @@ window.__require = function e(t, n, r) {
|
|||||||
_this.enableMultiRender = toggle.isChecked;
|
_this.enableMultiRender = toggle.isChecked;
|
||||||
_this.multiRenderUpdate();
|
_this.multiRenderUpdate();
|
||||||
});
|
});
|
||||||
|
this.objectNumSlider.progress = .02;
|
||||||
|
var offset = (this.nums[1] - this.nums[0]) * this.objectNumSlider.progress;
|
||||||
|
this.num = this.nums[0] + Math.ceil(offset);
|
||||||
this.numUpdate();
|
this.numUpdate();
|
||||||
this.multiRenderUpdate();
|
this.multiRenderUpdate();
|
||||||
};
|
};
|
||||||
@ -114,7 +117,7 @@ window.__require = function e(t, n, r) {
|
|||||||
}
|
}
|
||||||
this.objects.addChild(node);
|
this.objects.addChild(node);
|
||||||
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
|
||||||
cc.tween(node).by(1, {
|
cc.tween(node).by(3, {
|
||||||
angle: 360
|
angle: 360
|
||||||
}).repeatForever().start();
|
}).repeatForever().start();
|
||||||
};
|
};
|
BIN
docs/static/demo/web-mobile/assets/home/native/02/0291c134-b3da-4098-b7b5-e397edbe947f.b7a3e.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
docs/static/demo/web-mobile/assets/home/native/56/567dcd80-8bf4-4535-8a5a-313f1caf078a.5f1d9.png
vendored
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
docs/static/demo/web-mobile/assets/home/native/71/71561142-4c83-4933-afca-cb7a17f67053.c06a9.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
docs/static/demo/web-mobile/assets/home/native/73/73a0903d-d80e-4e3c-aa67-f999543c08f5.7661e.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
docs/static/demo/web-mobile/assets/home/native/d2/d29077ba-1627-4a72-9579-7b56a235340c.65417.png
vendored
Normal file
After Width: | Height: | Size: 1.0 KiB |
0
docs/static/demo/web-mobile/assets/internal/native/02/0275e94c-56a7-410f-bd1a-fc7483f7d14a.cea68.png
vendored
Normal file → Executable file
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
53
docs/static/demo/web-mobile/assets/main/config.f3bf0.json
vendored
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"paths": {},
|
||||||
|
"uuids": [
|
||||||
|
"catK9m3HRBtYgmebOjC6ma",
|
||||||
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"02delMVqdBD70a/HSD99FK",
|
||||||
|
"d608qFRoFHwbXd0Dap056i",
|
||||||
|
"61cyPdEfRN047sDK9rO0W5"
|
||||||
|
],
|
||||||
|
"scenes": {
|
||||||
|
"db://assets/main.fire": "catK9m3HRBtYgmebOjC6ma"
|
||||||
|
},
|
||||||
|
"redirect": [
|
||||||
|
"ecpdLyjvZBwrvm+cedCcQy",
|
||||||
|
0,
|
||||||
|
"02delMVqdBD70a/HSD99FK",
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"deps": [
|
||||||
|
"internal"
|
||||||
|
],
|
||||||
|
"packs": {
|
||||||
|
"0b206e9e9": [
|
||||||
|
"5cO7kybDxGj4ipyMYdRYZB",
|
||||||
|
"5f5dyqtRNNxaFmVzYns6FZ",
|
||||||
|
"61cyPdEfRN047sDK9rO0W5",
|
||||||
|
"a2MjXRFdtLlYQ5ouAFv/+R",
|
||||||
|
"catK9m3HRBtYgmebOjC6ma",
|
||||||
|
"d608qFRoFHwbXd0Dap056i"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": "main",
|
||||||
|
"importBase": "import",
|
||||||
|
"nativeBase": "native",
|
||||||
|
"debug": true,
|
||||||
|
"isZip": false,
|
||||||
|
"encrypted": false,
|
||||||
|
"versions": {
|
||||||
|
"import": [
|
||||||
|
"0b206e9e9",
|
||||||
|
"4db5f"
|
||||||
|
],
|
||||||
|
"native": [
|
||||||
|
"61cyPdEfRN047sDK9rO0W5",
|
||||||
|
"6d707",
|
||||||
|
"d608qFRoFHwbXd0Dap056i",
|
||||||
|
"d55c2"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
3180
docs/static/demo/web-mobile/assets/main/import/0b/0b206e9e9.4db5f.json
vendored
Normal file
@ -130,21 +130,14 @@ window.__require = function e(t, n, r) {
|
|||||||
path: "skin/spine-skin"
|
path: "skin/spine-skin"
|
||||||
} ] ]);
|
} ] ]);
|
||||||
this.initBtns();
|
this.initBtns();
|
||||||
|
this.switchPage(this.map.get(this.home));
|
||||||
};
|
};
|
||||||
LeftArea.prototype.initBtns = function() {
|
LeftArea.prototype.initBtns = function() {
|
||||||
var e_1, _a;
|
var e_1, _a;
|
||||||
var _this = this;
|
var _this = this;
|
||||||
var _loop_1 = function(node, route) {
|
var _loop_1 = function(node, route) {
|
||||||
node.on("toggle", function(toggle) {
|
node.on("toggle", function(toggle) {
|
||||||
if (toggle.isChecked) {
|
toggle.isChecked && _this.switchPage(route);
|
||||||
var cur_1 = ++_this.tick;
|
|
||||||
_this.mainArea.destroyAllChildren();
|
|
||||||
route && cc.assetManager.loadBundle(route.bundle, function(err, bundle) {
|
|
||||||
err || bundle.load(route.path, cc.Prefab, function(err, prefab) {
|
|
||||||
err || cur_1 !== _this.tick || _this.mainArea.addChild(cc.instantiate(prefab));
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
@ -164,6 +157,18 @@ window.__require = function e(t, n, r) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
LeftArea.prototype.switchPage = function(route) {
|
||||||
|
var _this = this;
|
||||||
|
var cur = ++this.tick;
|
||||||
|
this.mainArea.destroyAllChildren();
|
||||||
|
route && cc.assetManager.loadBundle("common", function() {
|
||||||
|
cc.assetManager.loadBundle(route.bundle, function(err, bundle) {
|
||||||
|
err || bundle.load(route.path, cc.Prefab, function(err, prefab) {
|
||||||
|
err || cur !== _this.tick || _this.mainArea.addChild(cc.instantiate(prefab));
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "home", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "home", void 0);
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiMaterial", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiMaterial", void 0);
|
||||||
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiBatcher", void 0);
|
__decorate([ property(cc.Node) ], LeftArea.prototype, "multiBatcher", void 0);
|