更新文档到 2.4.9-v1.0.0

This commit is contained in:
SmallMain
2022-07-05 18:10:58 +08:00
parent b89bb48ce7
commit 746d9ce5cd
267 changed files with 8506 additions and 5284 deletions

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "db4cffdc-d84c-4572-9dda-3d00e0d6302c",
"importer": "folder",
"isBundle": true,
"bundleName": "",
"priority": "2",

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "50a4982f-e892-44a2-9d49-202a0a10a446",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.25",
"ver": "1.0.27",
"uuid": "3edf42b2-00b8-4d91-9b6d-cae5b403a114",
"importer": "effect",
"compiledShaders": [
{
"glsl1": {

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "cbc55b3e-df40-4e8f-9499-8ee247cdbf84",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,5 +1,6 @@
{
"ver": "1.1.0",
"ver": "1.1.2",
"uuid": "e8aa5e1c-0730-4ebe-81a1-e7fa0db9be7d",
"importer": "ttf-font",
"subMetas": {}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "2.1.0",
"ver": "2.1.2",
"uuid": "80011fce-9411-4ea1-a8d3-f7d86d2d8789",
"importer": "bitmap-font",
"textureUuid": "45be59f3-5655-4369-9e9f-455c81d2ddd9",
"fontSize": 64,
"subMetas": {}

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "45be59f3-5655-4369-9e9f-455c81d2ddd9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"normalFont": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "926aac08-9aad-4893-b1ab-052167293176",
"importer": "sprite-frame",
"rawTextureUuid": "45be59f3-5655-4369-9e9f-455c81d2ddd9",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "e59a44db-4029-4fa6-96af-71fc9321ed0e",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "c11dfdd2-97c6-409c-9c0f-fdfa681f16a9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112479313": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "a766c72a-5fe2-4221-9452-d79edb33286a",
"importer": "sprite-frame",
"rawTextureUuid": "c11dfdd2-97c6-409c-9c0f-fdfa681f16a9",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "6231041a-75a5-4af2-a40d-f27e9498901a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112514006": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "85c932be-f6c8-48a3-b450-7d0d530c4522",
"importer": "sprite-frame",
"rawTextureUuid": "6231041a-75a5-4af2-a40d-f27e9498901a",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "398d85b3-4934-44c0-8d8e-3812b99f015e",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112526123": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "09a373ff-f600-4ffd-873b-027c54059f90",
"importer": "sprite-frame",
"rawTextureUuid": "398d85b3-4934-44c0-8d8e-3812b99f015e",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "d06d24ff-c18a-4940-82f9-4fe3c2ab8e96",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112538161": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "705578c6-1342-4c52-a1a5-8b48e60a64c5",
"importer": "sprite-frame",
"rawTextureUuid": "d06d24ff-c18a-4940-82f9-4fe3c2ab8e96",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "6843f00b-0ef4-4b7c-aac0-42ee42635e55",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112548981": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "87ffc647-0445-4890-a78d-c666a5ae7f6b",
"importer": "sprite-frame",
"rawTextureUuid": "6843f00b-0ef4-4b7c-aac0-42ee42635e55",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "702455ac-9b92-4dd7-b143-cb02342dbe48",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112563832": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "d006ef1c-d8c0-4228-973e-98a056ce3b09",
"importer": "sprite-frame",
"rawTextureUuid": "702455ac-9b92-4dd7-b143-cb02342dbe48",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "1c8a3cc1-a452-4276-848d-2bdf30e6852a",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655112624336": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "80dbdc44-7f81-47cb-8f5d-5a8e8d2bc73b",
"importer": "sprite-frame",
"rawTextureUuid": "1c8a3cc1-a452-4276-848d-2bdf30e6852a",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "a9ecf19b-0a3b-4d8e-bfe1-614049509de9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1655799093442": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "345a6df9-6652-4102-980a-cadc95156857",
"importer": "sprite-frame",
"rawTextureUuid": "a9ecf19b-0a3b-4d8e-bfe1-614049509de9",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "5a439075-0bd8-494f-8742-e6398c12d1b7",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.3",
"ver": "1.0.5",
"uuid": "2c0c62f8-3805-4dd1-96c4-977c36bab4fc",
"importer": "material",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "d791af13-cba7-4b15-a4e6-9d2b72b5ba01",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,5 +1,6 @@
{
"ver": "1.0.1",
"ver": "1.0.3",
"uuid": "69163ff4-f84e-4d78-8ea7-946f62007fcd",
"importer": "asset",
"subMetas": {}
}

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.3",
"ver": "1.2.5",
"uuid": "9374ce8a-ae46-427f-9760-3694307fb4fa",
"importer": "spine",
"textures": [
"804e11b5-bf4f-4a78-ac4a-8443e7166be1"
],

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "804e11b5-bf4f-4a78-ac4a-8443e7166be1",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"huatuo": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "b539b334-af1d-460c-a18d-de4e55947d2c",
"importer": "sprite-frame",
"rawTextureUuid": "804e11b5-bf4f-4a78-ac4a-8443e7166be1",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -0,0 +1,13 @@
shengxing_kuang.png
size: 180,351
format: RGBA8888
filter: Linear,Linear
repeat: none
fx_frame_red
rotate: false
xy: 2, 2
size: 176, 347
orig: 180, 351
offset: 2, 2
index: -1

View File

@@ -0,0 +1,6 @@
{
"ver": "1.0.3",
"uuid": "37fc5ad1-36a0-4089-a773-f530ea4a9471",
"importer": "asset",
"subMetas": {}
}

View File

@@ -0,0 +1 @@
{"skeleton":{"hash":"X8GrJN5Hvt74DISCwkkMDigOeyA","spine":"3.8.99","x":-180,"y":-351,"width":360,"height":702,"images":"./images/","audio":""},"bones":[{"name":"root"},{"name":"fx_frame","parent":"root"}],"slots":[{"name":"fx_frame","bone":"fx_frame","color":"ffffff00","dark":"000000","attachment":"fx_frame_red","blend":"additive"}],"skins":[{"name":"default","attachments":{"fx_frame":{"fx_frame_red":{"scaleX":2,"scaleY":2,"width":180,"height":351}}}}],"animations":{"shengxing_kuang_r":{"slots":{"fx_frame":{"twoColor":[{"light":"4aff91c6","dark":"009a3e","curve":0.25,"c3":0.75},{"time":0.5,"light":"49ff9100","dark":"009a3e"}]}}},"shengxing_kuang_s":{"slots":{"fx_frame":{"twoColor":[{"light":"ffffffc6","dark":"fc00ff","curve":0.25,"c3":0.75},{"time":0.5,"light":"ffffff00","dark":"fc00ff"}]}}},"shengxing_kuang_sr":{"slots":{"fx_frame":{"twoColor":[{"light":"ffffffc6","dark":"ff7300","curve":0.25,"c3":0.75},{"time":0.5,"light":"ffffff00","dark":"ff7300"}]}}},"shengxing_kuang_ssr":{"slots":{"fx_frame":{"twoColor":[{"light":"ffffffc5","dark":"000000","curve":0.25,"c3":0.75},{"time":0.5,"light":"ffffff00","dark":"000000"}]}}}}}

View File

@@ -0,0 +1,10 @@
{
"ver": "1.2.5",
"uuid": "34efd27a-22e4-4ecf-bad9-8626699fadf2",
"importer": "spine",
"textures": [
"aa62bd8a-67ec-4f0e-a78b-b111d42b1440"
],
"scale": 1,
"subMetas": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -0,0 +1,38 @@
{
"ver": "2.3.7",
"uuid": "aa62bd8a-67ec-4f0e-a78b-b111d42b1440",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 180,
"height": 351,
"platformSettings": {},
"subMetas": {
"shengxing_kuang": {
"ver": "1.0.6",
"uuid": "0719c0e4-f113-4665-b72b-1c0ab994f6a0",
"importer": "sprite-frame",
"rawTextureUuid": "aa62bd8a-67ec-4f0e-a78b-b111d42b1440",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 2,
"trimY": 2,
"width": 176,
"height": 347,
"rawWidth": 180,
"rawHeight": 351,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.3",
"ver": "1.2.5",
"uuid": "bcd99389-a393-426e-b234-157c62b44bc4",
"importer": "spine",
"textures": [
"d9c4530a-ef05-45c1-b012-eb4686f4c70f"
],

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "d9c4530a-ef05-45c1-b012-eb4686f4c70f",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"spineboy": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "f23f461c-0a3b-470e-a79b-9ee329e02319",
"importer": "sprite-frame",
"rawTextureUuid": "d9c4530a-ef05-45c1-b012-eb4686f4c70f",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,5 +1,6 @@
{
"ver": "2.0.0",
"ver": "2.0.2",
"uuid": "b63a4c13-b26d-4b2b-972f-453c057a18b2",
"importer": "text",
"subMetas": {}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "ec375606-0adb-4461-aa8a-c7e374bc920b",
"importer": "folder",
"isBundle": true,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "e311a003-c0a1-4ff9-9983-2154de145eb7",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -26,6 +26,11 @@ export default class Home extends cc.Component {
this.prefabs = this.objects.children.concat();
this.objects.removeAllChildren(false);
// Native 暂不支持 Spine 组件与其它组件合批
if (CC_JSB) {
this.prefabs = this.prefabs.filter(v => !v.getComponent(sp.Skeleton));
}
this.objectNumSlider.node.on('slide', (slider: cc.Slider) => {
const offset = (this.nums[1] - this.nums[0]) * slider.progress;
this.num = this.nums[0] + Math.ceil(offset);

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "fae4abc1-6681-4884-b234-b65d986d909e",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "853f5bb2-1b9a-451e-911a-5de5ed6b530b",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "cab4af66-dc74-41b5-8826-79b3a30ba99a",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}

View File

@@ -15,4 +15,6 @@ export default class Main extends cc.Component {
cc.sp.labelRetinaScale = 2;
cc.sp.charAtlasAutoBatchCount = 2;
cc.macro.CLEANUP_IMAGE_CACHE = false;
cc.dynamicAtlasManager.maxFrameSize = 2048;

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "2454f641-d633-4d4d-b624-73baf25e6af5",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "1f1fc03d-012f-470f-bf1d-5108b0b2d09f",
"importer": "folder",
"isBundle": true,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "6aa6d587-b168-40f9-b961-78e28fc4e9a7",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "805c842a-631c-48df-a8bc-2381a7ca3674",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "77844f44-c0da-4c94-a97f-fac1ab844551",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"1": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "c4f9ea14-b9a8-4039-ae25-982ff81e4762",
"importer": "sprite-frame",
"rawTextureUuid": "77844f44-c0da-4c94-a97f-fac1ab844551",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "b6161231-4d65-475c-a6bb-a8199e851e88",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"etc1_rgb_a": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "ea8530c6-52b6-4157-863e-8be26c953b96",
"importer": "sprite-frame",
"rawTextureUuid": "b6161231-4d65-475c-a6bb-a8199e851e88",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "eb72a5a2-8837-4f45-a24a-2486eef5fb78",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"png": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "0ae51d4d-4f69-43c6-a708-da9c2d81f6f5",
"importer": "sprite-frame",
"rawTextureUuid": "eb72a5a2-8837-4f45-a24a-2486eef5fb78",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "22247785-ef30-4b66-a9d2-ebcaf6a7f6e8",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"pvrtc2_rgb_a": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "41673f76-dab9-4965-9999-9c566a3f154a",
"importer": "sprite-frame",
"rawTextureUuid": "22247785-ef30-4b66-a9d2-ebcaf6a7f6e8",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "438c0fd3-74ca-4503-b2bc-2088cd6dbf4c",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"sheep_down_0": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "8f1f3994-e88e-4406-a8e9-1c46f45e5de2",
"importer": "sprite-frame",
"rawTextureUuid": "438c0fd3-74ca-4503-b2bc-2088cd6dbf4c",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "100eba2c-cfa2-4fb0-a5ac-a95f9b461fc0",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"sheep_jump_2": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "2d3ce116-db4a-424c-bb3b-f5cd16c99569",
"importer": "sprite-frame",
"rawTextureUuid": "100eba2c-cfa2-4fb0-a5ac-a95f9b461fc0",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "44999d18-51d1-4017-9ea6-98dcad8ecdf5",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"sheep_jump_3": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "b4f1cb90-0aa4-4c2d-a233-7fd2357d36d6",
"importer": "sprite-frame",
"rawTextureUuid": "44999d18-51d1-4017-9ea6-98dcad8ecdf5",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "2.3.5",
"ver": "2.3.7",
"uuid": "7a788430-6621-4bd5-86ce-0957a216dd69",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
@@ -12,8 +13,9 @@
"platformSettings": {},
"subMetas": {
"sheep_run_1": {
"ver": "1.0.4",
"ver": "1.0.6",
"uuid": "555112d2-35fe-4adc-8c99-05ecdf88c29a",
"importer": "sprite-frame",
"rawTextureUuid": "7a788430-6621-4bd5-86ce-0957a216dd69",
"trimType": "auto",
"trimThreshold": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "145bba41-1962-49ee-aec9-08fb154e8bf2",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "3e918f03-10af-4509-8958-78bfa3be6ad0",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "6021871d-94b0-46eb-babf-799b228ea695",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "c5f3051e-1b4f-4384-939c-b838bcb8f5bf",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -28,6 +28,9 @@
},
"texture5": {
"__uuid__": "d9c4530a-ef05-45c1-b012-eb4686f4c70f"
},
"texture6": {
"__uuid__": "aa62bd8a-67ec-4f0e-a78b-b111d42b1440"
}
}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.3",
"ver": "1.0.5",
"uuid": "0e00cf72-1eb0-457b-83d2-0171cc1cd97e",
"importer": "material",
"dataAsSubAsset": null,
"subMetas": {}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "b420e7e4-907e-46c1-b7dd-4796fb1edebe",
"importer": "folder",
"isBundle": true,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "21700e21-cd6e-4f4e-88f8-c97c886e2e5c",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "76663793-b023-4931-89fb-febc115c2a43",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "51588566-10c7-4926-847c-4b69bf536e7b",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -436,7 +436,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "fbSLTYNutL174TDvzvU3nT",
"sync": false
@@ -689,7 +689,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "7bbZkXUthKFpkeTLu7Uq1L",
"sync": false
@@ -797,7 +797,7 @@
"_N$debugBones": false,
"_N$debugMesh": false,
"_N$useTint": false,
"_N$enableBatch": false,
"_N$enableBatch": true,
"_N$autoSwitchMaterial": 0,
"_N$allowDynamicAtlas": 0,
"_id": ""
@@ -808,7 +808,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "61gMCsdq9POrIJoQLY+PPC",
"sync": false
@@ -851,7 +851,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "08CQVCWaVPeLehXD9SK0Mz",
"sync": false
@@ -1101,7 +1101,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "02Dr9jm5FDT5rrHE9he5tC",
"sync": false
@@ -1173,7 +1173,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "b6JHPAtQpGgpx4Ld6CjPLs",
"sync": false
@@ -1266,7 +1266,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "7fPVLMrpJFs6JBCXaQeyw2",
"sync": false
@@ -1516,7 +1516,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "af40R7NOBLV4dST86rj08s",
"sync": false
@@ -1588,7 +1588,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "cdT6mmSeFBvoVdKbkDM3sx",
"sync": false
@@ -1681,7 +1681,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "ffH62SPyxFdq/E/BRFN4Qw",
"sync": false
@@ -1931,7 +1931,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "f266YXrhtBuJSJ4WrL3o2U",
"sync": false
@@ -2003,7 +2003,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "5dgAOFIUdIGaUKPwvIV/pr",
"sync": false
@@ -2096,7 +2096,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "82yna7uEpKUoZdYNueETrY",
"sync": false
@@ -2107,7 +2107,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "ecYMQYD9NOl7LadhXHQHYH",
"sync": false
@@ -2189,7 +2189,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "98B5382ANHgKQw5BkMsWAq",
"sync": false
@@ -2227,7 +2227,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "645yltQ0dFpbIcIgDazPDc",
"sync": false
@@ -2410,7 +2410,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "29pI3SelxAU6ODrNe5LS2g",
"sync": false
@@ -2531,7 +2531,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "c2cC2kA1NNeozY+5ZzkcSY",
"sync": false
@@ -2603,7 +2603,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "b5RxDsAgFOW6xOyBdbz2rI",
"sync": false
@@ -2683,7 +2683,7 @@
"__id__": 1
},
"asset": {
"__uuid__": "03129ae1-98e5-4264-a51b-6f95f23d742a"
"__id__": 0
},
"fileId": "",
"sync": false

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "03129ae1-98e5-4264-a51b-6f95f23d742a",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -20,12 +20,15 @@ export default class SpineSkin extends cc.Component {
boys: cc.Node[] = [];
datas: sp.SkeletonData[] = [];
protected start(): void {
const boySpine = this.boy.getComponentInChildren(sp.Skeleton);
const newSkeletonData = boySpine.skeletonData.clone();
boySpine.skeletonData = newSkeletonData;
boySpine.animation = 'attack';
this.datas.push(newSkeletonData);
this.boys.push(this.boy);
this.addBoyBtn.on('click', () => {
@@ -41,20 +44,29 @@ export default class SpineSkin extends cc.Component {
newBoy.getComponentInChildren(sp.Skeleton).setAnimationCacheMode(sp.Skeleton.AnimationCacheMode.PRIVATE_CACHE);
newBoy.getComponentInChildren(cc.Label).string = `Spine - Cache`;
}
this.datas.push(newBoySpine.skeletonData);
this.boys.push(newBoy);
});
this.removeBoyBtn.on('click', () => {
if (this.boys.length > 1) {
this.datas[this.datas.length - 1].destroy();
this.boys[this.boys.length - 1].destroy();
this.datas.length -= 1;
this.boys.length -= 1;
}
});
this.randomChangeBtn.on('click', () => {
const boy = this.boys[this.boys.length - 1].getComponentInChildren(sp.Skeleton);
boy.setRegion('Head', 'Head', sp.SkeletonData.createRegion(this.heads[Math.floor(Math.random() * (this.heads.length))]));
boy.setRegionData('Head', 'Head', new sp.RegionData(this.heads[Math.floor(Math.random() * (this.heads.length))]));
});
}
protected onDestroy(): void {
for (const data of this.datas) {
data.destroy();
}
}
}

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "27990422-853f-43c5-a2c7-52900cb9edef",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "5149d793-c991-4dbd-84f5-dbf9b470f470",
"importer": "folder",
"isBundle": true,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "8939e8e9-2c8c-469a-8631-1eef214f141b",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "f48ef4d1-7483-4868-8096-115ae0431c76",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "59d30214-6082-40ab-96d5-2704f05b10b5",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.0.8",
"ver": "1.1.0",
"uuid": "0f37373d-8dc4-40cb-a343-5e7761491c53",
"importer": "typescript",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.1.2",
"ver": "1.1.3",
"uuid": "0574009e-3e43-4b85-a325-89f9dede6c68",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,

View File

@@ -1,6 +1,7 @@
{
"ver": "1.2.9",
"ver": "1.3.2",
"uuid": "e267c12a-39ac-41db-9e97-de8e196c296d",
"importer": "prefab",
"optimizationPolicy": "AUTO",
"asyncLoadAssets": false,
"readonly": false,

View File

@@ -1,7 +1,7 @@
{
"engine": "cocos2d-html5",
"packages": "packages",
"version": "2.4.5",
"version": "2.4.9",
"name": "cocos-service-pack-demo",
"id": "00fac3aa-a82e-4242-8505-128adae1c6c7",
"isNew": false

View File

@@ -16,8 +16,8 @@
"mainIsRemote": false,
"optimizeHotUpdate": false,
"md5Cache": true,
"nativeMd5Cache": true,
"encryptJs": true,
"nativeMd5Cache": false,
"encryptJs": false,
"xxteaKey": "24d00175-09c0-4c",
"zipCompressJs": true,
"fb-instant-games": {},
@@ -51,5 +51,6 @@
"recordPath": ""
},
"appBundle": false,
"agreements": {}
"agreements": {},
"includeAnySDK": false
}

View File

@@ -45,7 +45,7 @@
"width": 960,
"height": 640
},
"last-module-event-record-time": 1655460658806,
"last-module-event-record-time": 1656689574771,
"assets-sort-type": "name",
"facebook": {
"enable": false,
@@ -58,5 +58,8 @@
}
},
"preview-port": 7456,
"clear-simulator-cache": true
"clear-simulator-cache": true,
"migrate-history": [
"cloud-function"
]
}