This commit is contained in:
2024-08-03 23:54:37 +08:00
parent d5f2f65ee6
commit a81cde8e82
108 changed files with 7182 additions and 2487 deletions

View File

@@ -1,12 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "fa09e102-2224-4bfa-875b-7b1f803df84b",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

View File

@@ -1,12 +0,0 @@
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "7209ac00-fd6c-4ab3-9a7e-ac3b046f5b93",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -2,12 +2,12 @@
"ver": "1.1.50", "ver": "1.1.50",
"importer": "prefab", "importer": "prefab",
"imported": true, "imported": true,
"uuid": "3f6013d7-ec2f-4da3-9ecc-541ca6ab96ac", "uuid": "21141edb-3848-4481-ac80-0ea8aa4498d4",
"files": [ "files": [
".json" ".json"
], ],
"subMetas": {}, "subMetas": {},
"userData": { "userData": {
"syncNodeName": "niu" "syncNodeName": "expbg"
} }
} }

137
assets/resources/expbg.ts Normal file
View File

@@ -0,0 +1,137 @@
import { _decorator, cclegacy, Color, Component, Director, director, dynamicAtlasManager, Label, macro, profiler, Scene, setDisplayStats, Toggle } from 'cc';
import { MultBatch2D } from './multTextures/MultTextures';
const { ccclass, property } = _decorator;
//仅供测试使用,不用复制到项目
macro.CLEANUP_IMAGE_CACHE = false;
dynamicAtlasManager.enabled = true;
let isAutoBatch = true;
let isMultexture = true;
@ccclass('expbg')
export class expbg extends Component {
@property(Label)
drawcall!:Label;
@property(Label)
fps!:Label;
@property(Label)
render!:Label;
@property(Label)
triangle!:Label;
toggle:Array<Toggle> = [];
protected start(): void {
profiler.showStats();
this.toggle = this.node.getComponentsInChildren(Toggle)!;
isMultexture = this.toggle[0].isChecked = MultBatch2D.enable;
isAutoBatch = this.toggle[1].isChecked = dynamicAtlasManager.enabled;
this.changeColor();
}
changeColor(){
let all = isMultexture&&isAutoBatch;
if(all){
this.drawcall.color = Color.GREEN;
}else{
this.drawcall.color = isMultexture? new Color(255,100,0,255):Color.RED;
}
}
btMultexture(){
isMultexture = this.toggle[0].isChecked;
// _mulMaterial.enable = isMultexture;
// resetRenders = !isMultexture;
this.changeColor();
}
btAutoBatch(){
isAutoBatch = this.toggle[1].isChecked;
// dynamicAtlasManager.enabled = isAutoBatch;
// resetRenders = !isAutoBatch;
this.changeColor();
}
btExit(){
director.loadScene('main');
}
lateUpdate(dt:number){
let state = null;
if(cclegacy.profiler.stats){
state = cclegacy.profiler.stats;
}else{
state = cclegacy.profiler._stats;
}
let dc = state.draws.counter._value;
let tris = state.tricount.counter._value;
let fps = state.fps.counter._averageValue;
let render = state.render.counter._averageValue;
//director.root!.device.numDrawCalls;
this.drawcall.string = "dc: " + dc;
this.fps.string = 'fps: '+fps.toFixed(2);
// this.triangle.string = "triangles: "+tris;
this.render.string = 'render: '+render.toFixed(2);
}
}
let renders:Set<any> = new Set();
director.on(Director.EVENT_BEFORE_DRAW,()=>{
let resetRenders = false;
if(MultBatch2D.enable != isMultexture){
MultBatch2D.enable = isMultexture;
resetRenders = true;
}
if(dynamicAtlasManager.enabled != isAutoBatch){
dynamicAtlasManager.enabled = isAutoBatch;
resetRenders = true;
}
if(resetRenders){
resetRenders = false;
renders.forEach((render)=>{
if(render){
let rd = render.renderData;
rd && render.markForUpdateRenderData(true);
}
});
}
});
let UIMeshRenderer = cclegacy.UIMeshRenderer.prototype;
let UIMeshDisable = UIMeshRenderer.onDisable;
let UIMeshEnable = UIMeshRenderer.onEnable;
UIMeshRenderer.onEnable = function(){
renders.add(this);
UIMeshEnable.call(this);
}
UIMeshRenderer.onDisable = function(){
renders.delete(this);
UIMeshDisable.call(this);
}
let UIRenderer = cclegacy.internal.UIRenderer.prototype;
let UIDisable = UIRenderer.onDisable;
let UIEnable = UIRenderer.onEnable;
UIRenderer.onEnable = function(){
renders.add(this);
UIEnable.call(this);
}
UIRenderer.onDisable = function(){
renders.delete(this);
UIDisable.call(this);
}

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "05c5a7a2-f660-4f27-8d2c-e58f7738de6f",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -44,12 +44,12 @@
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": 0, "offsetY": 0,
"trimX": 3, "trimX": 0,
"trimY": 3, "trimY": 0,
"width": 90, "width": 128,
"height": 102, "height": 128,
"rawWidth": 96, "rawWidth": 128,
"rawHeight": 108, "rawHeight": 128,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-45, -64,
-51, -64,
0, 0,
45, 64,
-51, -64,
0, 0,
-45, -64,
51, 64,
0, 0,
45, 64,
51, 64,
0 0
], ],
"indexes": [ "indexes": [
@@ -83,33 +83,33 @@
3 3
], ],
"uv": [ "uv": [
3, 0,
105, 128,
93, 128,
105, 128,
3, 0,
3, 0,
93, 128,
3 0
], ],
"nuv": [ "nuv": [
0.03125, 0,
0.027777777777777776, 0,
0.96875, 1,
0.027777777777777776, 0,
0.03125, 0,
0.9722222222222222, 1,
0.96875, 1,
0.9722222222222222 1
], ],
"minPos": [ "minPos": [
-45, -64,
-51, -64,
0 0
], ],
"maxPos": [ "maxPos": [
45, 64,
51, 64,
0 0
] ]
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -46,10 +46,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 96, "width": 128,
"height": 108, "height": 128,
"rawWidth": 96, "rawWidth": 128,
"rawHeight": 108, "rawHeight": 128,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-48, -64,
-54, -64,
0, 0,
48, 64,
-54, -64,
0, 0,
-48, -64,
54, 64,
0, 0,
48, 64,
54, 64,
0 0
], ],
"indexes": [ "indexes": [
@@ -84,12 +84,12 @@
], ],
"uv": [ "uv": [
0, 0,
108, 128,
96, 128,
108, 128,
0, 0,
0, 0,
96, 128,
0 0
], ],
"nuv": [ "nuv": [
@@ -103,13 +103,13 @@
1 1
], ],
"minPos": [ "minPos": [
-48, -64,
-54, -64,
0 0
], ],
"maxPos": [ "maxPos": [
48, 64,
54, 64,
0 0
] ]
}, },

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -46,10 +46,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 96, "width": 128,
"height": 108, "height": 128,
"rawWidth": 96, "rawWidth": 128,
"rawHeight": 108, "rawHeight": 128,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-48, -64,
-54, -64,
0, 0,
48, 64,
-54, -64,
0, 0,
-48, -64,
54, 64,
0, 0,
48, 64,
54, 64,
0 0
], ],
"indexes": [ "indexes": [
@@ -84,12 +84,12 @@
], ],
"uv": [ "uv": [
0, 0,
108, 128,
96, 128,
108, 128,
0, 0,
0, 0,
96, 128,
0 0
], ],
"nuv": [ "nuv": [
@@ -103,13 +103,13 @@
1 1
], ],
"minPos": [ "minPos": [
-48, -64,
-54, -64,
0 0
], ],
"maxPos": [ "maxPos": [
48, 64,
54, 64,
0 0
] ]
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc@6c48a",
"displayName": "liubang",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc@f9941",
"displayName": "liubang",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 128,
"height": 128,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-64,
-64,
0,
64,
-64,
0,
-64,
64,
0,
64,
64,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
128,
128,
128,
0,
0,
128,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-64,
-64,
0
],
"maxPos": [
64,
64,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "6b8f26f2-fe06-4718-99fe-0d6e15a760cc@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "0858975b-547e-46d9-88c8-7b3e974c45d4",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "0858975b-547e-46d9-88c8-7b3e974c45d4@6c48a",
"displayName": "mulan",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "0858975b-547e-46d9-88c8-7b3e974c45d4",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "0858975b-547e-46d9-88c8-7b3e974c45d4@f9941",
"displayName": "mulan",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 128,
"height": 128,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-64,
-64,
0,
64,
-64,
0,
-64,
64,
0,
64,
64,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
128,
128,
128,
0,
0,
128,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-64,
-64,
0
],
"maxPos": [
64,
64,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "0858975b-547e-46d9-88c8-7b3e974c45d4@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "0858975b-547e-46d9-88c8-7b3e974c45d4@f9941"
}
}

View File

@@ -1,19 +1,19 @@
skeleton.png skeleton.png
size: 126,100 size: 146,132
format: RGBA8888 format: RGBA8888
filter: Linear,Linear filter: Linear,Linear
repeat: none repeat: none
bb bb
rotate: true rotate: false
xy: 2, 2 xy: 2, 2
size: 96, 108 size: 128, 128
orig: 96, 108 orig: 128, 128
offset: 0, 0 offset: 0, 0
index: -1 index: -1
shadow shadow
rotate: true rotate: true
xy: 112, 66 xy: 132, 98
size: 32, 12 size: 32, 12
orig: 32, 12 orig: 32, 12
offset: 0, 0 offset: 0, 0

View File

@@ -1,17 +1,17 @@
{ {
"skeleton": { "skeleton": {
"hash": "cNWCYqlhU+8lj44AhM2ebNGlYGc", "hash": "PeKMNWfiZTgv8WlEJAxIQAcZnmc",
"spine": "3.8.99", "spine": "3.8.99",
"x": -46.85, "x": -62.85,
"y": -6, "y": -3.09,
"width": 96, "width": 128,
"height": 117.8, "height": 134.21,
"images": "", "images": "",
"audio": "" "audio": ""
}, },
"bones": [ "bones": [
{ "name": "root" }, { "name": "root" },
{ "name": "bone", "parent": "root" }, { "name": "bone", "parent": "root", "y": 9.33 },
{ "name": "shandow", "parent": "root", "y": 2.91 } { "name": "shandow", "parent": "root", "y": 2.91 }
], ],
"slots": [ "slots": [
@@ -23,7 +23,7 @@
"name": "default", "name": "default",
"attachments": { "attachments": {
"bb": { "bb": {
"bb": { "x": 1.15, "y": 57.8, "width": 96, "height": 108 } "bb": { "x": 1.15, "y": 57.8, "width": 128, "height": 128 }
}, },
"shadow": { "shadow": {
"shadow": { "scaleX": 2.3856, "width": 32, "height": 12 } "shadow": { "scaleX": 2.3856, "width": 32, "height": 12 }
@@ -34,17 +34,18 @@
"animations": { "animations": {
"atk": { "atk": {
"bones": { "bones": {
"root": { "bone": {
"rotate": [ "rotate": [
{}, {},
{ "time": 0.1333, "angle": -5.68 }, { "time": 0.1333, "angle": -3.23 },
{ "time": 0.3333, "angle": -30.2 }, { "time": 0.3333, "angle": -10 },
{ "time": 0.5 } { "time": 0.5 }
], ]
},
"shandow": {
"translate": [ "translate": [
{}, {},
{ "time": 0.1333, "x": 6 }, { "time": 0.3333, "x": 3.32 },
{ "time": 0.3333, "x": 21 },
{ "time": 0.5 } { "time": 0.5 }
] ]
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -46,10 +46,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 2, "trimX": 2,
"trimY": 2, "trimY": 2,
"width": 122, "width": 142,
"height": 96, "height": 128,
"rawWidth": 126, "rawWidth": 146,
"rawHeight": 100, "rawHeight": 132,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-61, -71,
-48, -64,
0, 0,
61, 71,
-48, -64,
0, 0,
-61, -71,
48, 64,
0, 0,
61, 71,
48, 64,
0 0
], ],
"indexes": [ "indexes": [
@@ -84,32 +84,32 @@
], ],
"uv": [ "uv": [
2, 2,
98, 130,
124, 144,
98, 130,
2, 2,
2, 2,
124, 144,
2 2
], ],
"nuv": [ "nuv": [
0.015873015873015872, 0.0136986301369863,
0.02, 0.015151515151515152,
0.9841269841269841, 0.9863013698630136,
0.02, 0.015151515151515152,
0.015873015873015872, 0.0136986301369863,
0.98, 0.9848484848484849,
0.9841269841269841, 0.9863013698630136,
0.98 0.9848484848484849
], ],
"minPos": [ "minPos": [
-61, -71,
-48, -64,
0 0
], ],
"maxPos": [ "maxPos": [
61, 71,
48, 64,
0 0
] ]
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "061d2a74-f743-4fe0-ac03-c9dca0d14493",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "061d2a74-f743-4fe0-ac03-c9dca0d14493@6c48a",
"displayName": "yinzheng",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "061d2a74-f743-4fe0-ac03-c9dca0d14493",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "061d2a74-f743-4fe0-ac03-c9dca0d14493@f9941",
"displayName": "yinzheng",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 128,
"height": 128,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-64,
-64,
0,
64,
-64,
0,
-64,
64,
0,
64,
64,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
128,
128,
128,
0,
0,
128,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-64,
-64,
0
],
"maxPos": [
64,
64,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "061d2a74-f743-4fe0-ac03-c9dca0d14493@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "061d2a74-f743-4fe0-ac03-c9dca0d14493@f9941"
}
}

View File

@@ -28,17 +28,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 88 "__id__": 97
}, },
{ {
"__id__": 90 "__id__": 99
}, },
{ {
"__id__": 92 "__id__": 101
} }
], ],
"_prefab": { "_prefab": {
"__id__": 94 "__id__": 103
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -197,17 +197,17 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 81 "__id__": 90
}, },
{ {
"__id__": 83 "__id__": 92
}, },
{ {
"__id__": 85 "__id__": 94
} }
], ],
"_prefab": { "_prefab": {
"__id__": 87 "__id__": 96
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -251,23 +251,23 @@
"__id__": 8 "__id__": 8
}, },
{ {
"__id__": 54 "__id__": 63
}, },
{ {
"__id__": 66 "__id__": 75
}, },
{ {
"__id__": 72 "__id__": 81
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 78 "__id__": 87
} }
], ],
"_prefab": { "_prefab": {
"__id__": 80 "__id__": 89
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -314,14 +314,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 58
}, },
{ {
"__id__": 51 "__id__": 60
} }
], ],
"_prefab": { "_prefab": {
"__id__": 53 "__id__": 62
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -365,29 +365,29 @@
"__id__": 10 "__id__": 10
}, },
{ {
"__id__": 16 "__id__": 25
}, },
{ {
"__id__": 22 "__id__": 31
}, },
{ {
"__id__": 32 "__id__": 41
}, },
{ {
"__id__": 38 "__id__": 47
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 44 "__id__": 53
}, },
{ {
"__id__": 46 "__id__": 55
} }
], ],
"_prefab": { "_prefab": {
"__id__": 48 "__id__": 57
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -426,18 +426,22 @@
"_parent": { "_parent": {
"__id__": 9 "__id__": 9
}, },
"_children": [], "_children": [
{
"__id__": 11
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 11 "__id__": 20
}, },
{ {
"__id__": 13 "__id__": 22
} }
], ],
"_prefab": { "_prefab": {
"__id__": 15 "__id__": 24
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -468,6 +472,131 @@
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.Node",
"_objFlags": 0,
"_parent": {
"__id__": 10
},
"_prefab": {
"__id__": 12
},
"__editorExtras__": {}
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 11
},
"asset": {
"__uuid__": "21141edb-3848-4481-ac80-0ea8aa4498d4",
"__expectedType__": "cc.Prefab"
},
"fileId": "588mX12fFBc6tNNhK5kSwP",
"instance": {
"__id__": 13
},
"targetOverrides": null
},
{
"__type__": "cc.PrefabInstance",
"fileId": "3a78SMrvBMNbijh9vr2yQQ",
"prefabRootNode": {
"__id__": 1
},
"mountedChildren": [],
"mountedComponents": [],
"propertyOverrides": [
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 17
},
{
"__id__": 18
},
{
"__id__": 19
}
],
"removedComponents": []
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 15
},
"propertyPath": [
"_lpos"
],
"value": {
"__type__": "cc.Vec3",
"x": -0.827,
"y": 264.282,
"z": 0
}
},
{
"__type__": "cc.TargetInfo",
"localID": [
"588mX12fFBc6tNNhK5kSwP"
]
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 15
},
"propertyPath": [
"_name"
],
"value": "expbg"
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 15
},
"propertyPath": [
"_lrot"
],
"value": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 15
},
"propertyPath": [
"_euler"
],
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}
},
{
"__type__": "CCPropertyOverrideInfo",
"targetInfo": {
"__id__": 15
},
"propertyPath": [
"_active"
],
"value": false
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@@ -478,7 +607,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 12 "__id__": 21
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -506,7 +635,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 14 "__id__": 23
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -566,14 +695,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 17 "__id__": 26
}, },
{ {
"__id__": 19 "__id__": 28
} }
], ],
"_prefab": { "_prefab": {
"__id__": 21 "__id__": 30
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -610,11 +739,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 18 "__id__": 27
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -638,11 +767,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 20 "__id__": 29
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -702,20 +831,20 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 23 "__id__": 32
}, },
{ {
"__id__": 25 "__id__": 34
}, },
{ {
"__id__": 27 "__id__": 36
}, },
{ {
"__id__": 29 "__id__": 38
} }
], ],
"_prefab": { "_prefab": {
"__id__": 31 "__id__": 40
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -752,11 +881,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 24 "__id__": 33
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -780,11 +909,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 26 "__id__": 35
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -825,11 +954,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 28 "__id__": 37
}, },
"enabledContactListener": false, "enabledContactListener": false,
"bullet": true, "bullet": true,
@@ -859,11 +988,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 30 "__id__": 39
}, },
"tag": 0, "tag": 0,
"_group": 1, "_group": 1,
@@ -912,14 +1041,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 33 "__id__": 42
}, },
{ {
"__id__": 35 "__id__": 44
} }
], ],
"_prefab": { "_prefab": {
"__id__": 37 "__id__": 46
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -956,11 +1085,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 32 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 34 "__id__": 43
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -984,11 +1113,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 32 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 45
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -1048,14 +1177,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 39 "__id__": 48
}, },
{ {
"__id__": 41 "__id__": 50
} }
], ],
"_prefab": { "_prefab": {
"__id__": 43 "__id__": 52
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1092,11 +1221,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 38 "__id__": 47
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 40 "__id__": 49
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1120,11 +1249,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 38 "__id__": 47
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 51
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -1182,7 +1311,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 45 "__id__": 54
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1210,7 +1339,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 47 "__id__": 56
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -1268,7 +1397,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 50 "__id__": 59
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1296,10 +1425,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 52 "__id__": 61
}, },
"bgImg": { "bgImg": {
"__id__": 46 "__id__": 55
}, },
"_id": "" "_id": ""
}, },
@@ -1330,17 +1459,17 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 55 "__id__": 64
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 63 "__id__": 72
} }
], ],
"_prefab": { "_prefab": {
"__id__": 65 "__id__": 74
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1377,23 +1506,23 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 54 "__id__": 63
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 56 "__id__": 65
}, },
{ {
"__id__": 58 "__id__": 67
}, },
{ {
"__id__": 60 "__id__": 69
} }
], ],
"_prefab": { "_prefab": {
"__id__": 62 "__id__": 71
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1430,11 +1559,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 55 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 57 "__id__": 66
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1458,11 +1587,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 55 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 59 "__id__": 68
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -1526,11 +1655,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 55 "__id__": 64
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 61 "__id__": 70
}, },
"templateMode": false, "templateMode": false,
"watchPath": "data.name", "watchPath": "data.name",
@@ -1561,11 +1690,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 54 "__id__": 63
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 64 "__id__": 73
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1608,14 +1737,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 67 "__id__": 76
}, },
{ {
"__id__": 69 "__id__": 78
} }
], ],
"_prefab": { "_prefab": {
"__id__": 71 "__id__": 80
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1652,11 +1781,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 66 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 68 "__id__": 77
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1680,11 +1809,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 66 "__id__": 75
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 70 "__id__": 79
}, },
"_id": "" "_id": ""
}, },
@@ -1717,14 +1846,14 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 73 "__id__": 82
}, },
{ {
"__id__": 75 "__id__": 84
} }
], ],
"_prefab": { "_prefab": {
"__id__": 77 "__id__": 86
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1761,11 +1890,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 72 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 74 "__id__": 83
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1789,11 +1918,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 72 "__id__": 81
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 76 "__id__": 85
}, },
"light": { "light": {
"__uuid__": "683fa094-5032-4f8d-a8c6-63a962c9bdd5", "__uuid__": "683fa094-5032-4f8d-a8c6-63a962c9bdd5",
@@ -1828,7 +1957,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 79 "__id__": 88
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1869,7 +1998,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 82 "__id__": 91
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1897,7 +2026,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 84 "__id__": 93
}, },
"camera": { "camera": {
"__id__": 3 "__id__": 3
@@ -1906,13 +2035,13 @@
"__id__": 7 "__id__": 7
}, },
"mapLayer": { "mapLayer": {
"__id__": 51 "__id__": 60
}, },
"floorLayer": { "floorLayer": {
"__id__": 54 "__id__": 63
}, },
"entityLayer": { "entityLayer": {
"__id__": 69 "__id__": 78
}, },
"isFollowPlayer": true, "isFollowPlayer": true,
"_id": "" "_id": ""
@@ -1931,7 +2060,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 86 "__id__": 95
}, },
"_id": "" "_id": ""
}, },
@@ -1962,7 +2091,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 89 "__id__": 98
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1990,7 +2119,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 91 "__id__": 100
}, },
"_cameraComponent": { "_cameraComponent": {
"__id__": 3 "__id__": 3
@@ -2012,7 +2141,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 93 "__id__": 102
}, },
"_alignFlags": 45, "_alignFlags": 45,
"_target": null, "_target": null,
@@ -2048,6 +2177,11 @@
}, },
"fileId": "32qENLKwZHV5S2IyZfpNx2", "fileId": "32qENLKwZHV5S2IyZfpNx2",
"instance": null, "instance": null,
"targetOverrides": null "targetOverrides": null,
"nestedPrefabInstanceRoots": [
{
"__id__": 11
}
]
} }
] ]

View File

@@ -1,17 +0,0 @@
{
"__type__": "cc.AnimationClip",
"_name": "",
"_objFlags": 0,
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 1,
"events": [],
"_duration": 0,
"_keys": [],
"_stepness": 0,
"curveDatas": {},
"_curves": [],
"_commonTargets": [],
"_hash": 0
}

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "65f071b3-4171-4f60-bd36-cc665f54f6ae",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "animation"
}
}

View File

@@ -1,7 +1,7 @@
[ [
{ {
"__type__": "cc.Prefab", "__type__": "cc.Prefab",
"_name": "niu", "_name": "boss",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_native": "", "_native": "",
@@ -13,7 +13,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "niu", "_name": "boss",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": null, "_parent": null,
@@ -22,32 +22,29 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 21 "__id__": 8
},
{
"__id__": 16
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 35 "__id__": 30
}, },
{ {
"__id__": 37 "__id__": 32
}, },
{ {
"__id__": 39 "__id__": 34
}, },
{ {
"__id__": 41 "__id__": 36
},
{
"__id__": 43
},
{
"__id__": 45
} }
], ],
"_prefab": { "_prefab": {
"__id__": 47 "__id__": 38
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -80,137 +77,29 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "avatar", "_name": "shader",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 1 "__id__": 1
}, },
"_children": [ "_children": [],
{
"__id__": 3
}
],
"_active": true,
"_components": [
{
"__id__": 13
},
{
"__id__": 15
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1.5,
"y": 1.5,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "T_Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 2
},
"_children": [
{
"__id__": 4
}
],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 10
}
],
"_prefab": {
"__id__": 12
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 7.09929895401001,
"y": 13.99220085144043,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 3.2783540711047184e-8,
"w": 0.9999999999999989
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.4300000071525574,
"y": 0.4300000071525611,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0.0000037567170404766334
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Label",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 3 "__id__": 3
}, },
"_children": [],
"_active": true,
"_components": [
{ {
"__id__": 5 "__id__": 5
},
{
"__id__": 7
} }
], ],
"_prefab": { "_prefab": {
"__id__": 9 "__id__": 7
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 29.435, "x": 0,
"y": 26.613, "y": 0,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -242,16 +131,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 4 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 6 "__id__": 4
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 20, "width": 165,
"height": 50.4 "height": 119
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -262,19 +151,19 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f3GNL1lZpCHqFA6w5tcCsJ" "fileId": "f7NISe7HdAD68SLfhnddy8"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 4 "__id__": 2
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 8 "__id__": 6
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -286,51 +175,28 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "角", "_spriteFrame": {
"_horizontalAlign": 1, "__uuid__": "b1745dc0-d78b-4443-a4fc-746ff6749b39@f9941",
"_verticalAlign": 1, "__expectedType__": "cc.SpriteFrame"
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 0,
"g": 0,
"b": 0,
"a": 255
}, },
"_outlineWidth": 2, "_type": 0,
"_enableShadow": false, "_fillType": 0,
"_shadowColor": { "_sizeMode": 0,
"__type__": "cc.Color", "_fillCenter": {
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_shadowOffset": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 2, "x": 0,
"y": 2 "y": 0
}, },
"_shadowBlur": 2, "_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f4c1lgTFJBGIxvY4/cxQD4" "fileId": "e71ctEmpxFC4KlSYRZNz/a"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -340,73 +206,85 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "00+njfGJhMdKDK8x/a34+r", "fileId": "66VNgwnoRDmprg2mtbH825",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.Node",
"_name": "", "_name": "avatar",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "_parent": {
"__id__": 3 "__id__": 1
}, },
"_enabled": true, "_children": [],
"__prefab": { "_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11 "__id__": 11
}, },
"_contentSize": { {
"__type__": "cc.Size", "__id__": 13
"width": 100, }
"height": 100 ],
"_prefab": {
"__id__": 15
}, },
"_anchorPoint": { "_lpos": {
"__type__": "cc.Vec2", "__type__": "cc.Vec3",
"x": 0.5, "x": 0,
"y": 0.5 "y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -0.7,
"y": 0.7,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
}, },
"_id": "" "_id": ""
}, },
{
"__type__": "cc.CompPrefabInfo",
"fileId": "49UVV15d5MXJXprWQPuIaB"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c6JznUtWBKEKfDvFTxGhKW",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 2 "__id__": 8
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 14 "__id__": 10
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 55.16999816894531, "width": 320,
"height": 43.31999969482422 "height": 320
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.4625702610976095, "x": 0.53125,
"y": 0.20798707969423952 "y": 0.53125
}, },
"_id": "" "_id": ""
}, },
@@ -420,11 +298,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 2 "__id__": 8
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 16 "__id__": 12
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -437,20 +315,16 @@
"a": 255 "a": 255
}, },
"_skeletonData": { "_skeletonData": {
"__uuid__": "cf49fb70-e29b-4609-afd8-01acf232aade", "__uuid__": "52673d05-5225-4ac6-98e4-efe6494452ce",
"__expectedType__": "sp.SkeletonData" "__expectedType__": "sp.SkeletonData"
}, },
"defaultSkin": "default", "defaultSkin": "war",
"defaultAnimation": "", "defaultAnimation": "idle",
"_premultipliedAlpha": false, "_premultipliedAlpha": false,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 1, "_preCacheMode": 1,
"_cacheMode": 1, "_cacheMode": 1,
"_sockets": [ "_sockets": [],
{
"__id__": 17
}
],
"_useTint": false, "_useTint": false,
"_debugMesh": false, "_debugMesh": false,
"_debugBones": false, "_debugBones": false,
@@ -463,24 +337,17 @@
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "d6Qb8NhhhN1ascGn7UPZok" "fileId": "d6Qb8NhhhN1ascGn7UPZok"
}, },
{
"__type__": "sp.Skeleton.SpineSocket",
"path": "root/bone/t",
"target": {
"__id__": 3
}
},
{ {
"__type__": "d3a79W3OpNBsL5WHT9mZqHd", "__type__": "d3a79W3OpNBsL5WHT9mZqHd",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 2 "__id__": 8
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 19 "__id__": 14
}, },
"_id": "" "_id": ""
}, },
@@ -511,25 +378,25 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 22 "__id__": 17
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 30 "__id__": 25
}, },
{ {
"__id__": 32 "__id__": 27
} }
], ],
"_prefab": { "_prefab": {
"__id__": 34 "__id__": 29
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 60, "y": 110,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -561,23 +428,23 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 21 "__id__": 16
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 23 "__id__": 18
}, },
{ {
"__id__": 25 "__id__": 20
}, },
{ {
"__id__": 27 "__id__": 22
} }
], ],
"_prefab": { "_prefab": {
"__id__": 29 "__id__": 24
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -614,15 +481,15 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 24 "__id__": 19
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 52, "width": 56.04296875,
"height": 34.24 "height": 34.24
}, },
"_anchorPoint": { "_anchorPoint": {
@@ -642,11 +509,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 26 "__id__": 21
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -658,7 +525,7 @@
"b": 255, "b": 255,
"a": 255 "a": 255
}, },
"_string": "蛮牛", "_string": "boos",
"_horizontalAlign": 1, "_horizontalAlign": 1,
"_verticalAlign": 1, "_verticalAlign": 1,
"_actualFontSize": 24, "_actualFontSize": 24,
@@ -710,11 +577,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 22 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 28 "__id__": 23
}, },
"_id": "" "_id": ""
}, },
@@ -741,11 +608,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 21 "__id__": 16
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 31 "__id__": 26
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -769,11 +636,11 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 21 "__id__": 16
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 33 "__id__": 28
}, },
"_resizeMode": 1, "_resizeMode": 1,
"_layoutType": 2, "_layoutType": 2,
@@ -822,9 +689,9 @@
"node": { "node": {
"__id__": 1 "__id__": 1
}, },
"_enabled": false, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 36 "__id__": 31
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -852,7 +719,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 38 "__id__": 33
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -869,7 +736,7 @@
"defaultAnimation": "", "defaultAnimation": "",
"_premultipliedAlpha": true, "_premultipliedAlpha": true,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": 0, "_preCacheMode": -1,
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [], "_sockets": [],
"_useTint": false, "_useTint": false,
@@ -894,10 +761,10 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 40 "__id__": 35
}, },
"animator": { "animator": {
"__id__": 18 "__id__": 13
}, },
"_id": "" "_id": ""
}, },
@@ -915,81 +782,13 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 42 "__id__": 37
}, },
"_id": "" "_id": ""
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "ffqgeHXMZFJr9gBpgxDVTw" "fileId": "88a6VdbQBB7YwXovYCN2Sy"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 44
},
"tag": 90,
"_group": 2,
"_density": 1,
"_sensor": false,
"_friction": 1,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": -1.8,
"y": 14.8
},
"_size": {
"__type__": "cc.Size",
"width": 58.3,
"height": 43.1
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b2Dt9lJI9FyJCDezkDBPBl"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"enabledContactListener": true,
"bullet": true,
"awakeOnLoad": true,
"_group": 2,
"_type": 2,
"_allowSleep": false,
"_gravityScale": 1,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d8rVs6intBQ7lRU8Dw4zXV"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",

View File

@@ -2,12 +2,12 @@
"ver": "1.1.50", "ver": "1.1.50",
"importer": "prefab", "importer": "prefab",
"imported": true, "imported": true,
"uuid": "1e119ee5-2632-4156-868d-3a10f15db5f6", "uuid": "10ede57e-4c21-4ce6-aad3-f7e793a14412",
"files": [ "files": [
".json" ".json"
], ],
"subMetas": {}, "subMetas": {},
"userData": { "userData": {
"syncNodeName": "test" "syncNodeName": "boss"
} }
} }

View File

@@ -67,8 +67,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1, "x": 0.9,
"y": 1, "y": 0.9,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -301,8 +301,8 @@
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": -4.0782725818644394e-7,
"y": 0, "y": 9.329999923706055,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -392,8 +392,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 96, "width": 128,
"height": 108 "height": 128
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -429,12 +429,12 @@
"a": 255 "a": 255
}, },
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "94c32520-2d16-4a94-ab6b-94794e10711a@f9941", "__uuid__": "c05c3659-4264-42fb-87e8-f43e6422dd43@f9941",
"__expectedType__": "cc.SpriteFrame" "__expectedType__": "cc.SpriteFrame"
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
@@ -488,7 +488,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0.824, "x": 0.824,
"y": 57.584, "y": 57,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -500,8 +500,8 @@
}, },
"_lscale": { "_lscale": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 1.03, "x": 1,
"y": 1.03, "y": 1,
"z": 1 "z": 1
}, },
"_mobility": 0, "_mobility": 0,
@@ -528,8 +528,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 90, "width": 128,
"height": 102 "height": 128
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
@@ -570,7 +570,7 @@
}, },
"_type": 0, "_type": 0,
"_fillType": 0, "_fillType": 0,
"_sizeMode": 1, "_sizeMode": 0,
"_fillCenter": { "_fillCenter": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
@@ -655,13 +655,13 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 96, "width": 128,
"height": 117.80000305175781 "height": 134.2100067138672
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.4880208174387614, "x": 0.49101561307907104,
"y": 0.05093378475859443 "y": 0.023023617909185595
}, },
"_id": "" "_id": ""
}, },
@@ -741,7 +741,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "69mhfaIZlB4rqXSUCD6dhL" "fileId": "a2le6EEehMb4KOUniX6znv"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@@ -837,7 +837,7 @@
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0, "y": 14.6,
"z": 0 "z": 0
}, },
"_lrot": { "_lrot": {
@@ -1124,7 +1124,7 @@
"defaultAnimation": "", "defaultAnimation": "",
"_premultipliedAlpha": true, "_premultipliedAlpha": true,
"_timeScale": 1, "_timeScale": 1,
"_preCacheMode": -1, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"_sockets": [], "_sockets": [],
"_useTint": false, "_useTint": false,
@@ -1199,12 +1199,12 @@
"_offset": { "_offset": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 2.2, "x": 2.2,
"y": 11.2 "y": 16
}, },
"_size": { "_size": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 71.4, "width": 71.4,
"height": 83.3 "height": 85
}, },
"_id": "" "_id": ""
}, },
@@ -1255,7 +1255,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "fdklpBwCBM/qJ4WFlQF3kT", "fileId": "fdklpBwCBM/qJ4WFlQF3kT",
"instance": null, "instance": null
"targetOverrides": null
} }
] ]

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "78710265-a275-4aaa-b2d8-f0dff05c855e",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ae481f05-3fdb-4329-bfb0-21ebf2907b69",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ae481f05-3fdb-4329-bfb0-21ebf2907b69@6c48a",
"displayName": "bar_1",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ae481f05-3fdb-4329-bfb0-21ebf2907b69",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ae481f05-3fdb-4329-bfb0-21ebf2907b69@f9941",
"displayName": "bar_1",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 327,
"height": 34,
"rawWidth": 327,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-163.5,
-17,
0,
163.5,
-17,
0,
-163.5,
17,
0,
163.5,
17,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
34,
327,
34,
0,
0,
327,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-163.5,
-17,
0
],
"maxPos": [
163.5,
17,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ae481f05-3fdb-4329-bfb0-21ebf2907b69@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ae481f05-3fdb-4329-bfb0-21ebf2907b69@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "b4d6596e-0d98-4077-97c7-9f7152f064aa",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b4d6596e-0d98-4077-97c7-9f7152f064aa@6c48a",
"displayName": "bar_2",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "b4d6596e-0d98-4077-97c7-9f7152f064aa",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b4d6596e-0d98-4077-97c7-9f7152f064aa@f9941",
"displayName": "bar_2",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 327,
"height": 34,
"rawWidth": 327,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-163.5,
-17,
0,
163.5,
-17,
0,
-163.5,
17,
0,
163.5,
17,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
34,
327,
34,
0,
0,
327,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-163.5,
-17,
0
],
"maxPos": [
163.5,
17,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b4d6596e-0d98-4077-97c7-9f7152f064aa@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "b4d6596e-0d98-4077-97c7-9f7152f064aa@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "baadf0be-192c-4023-a120-fa0508b6af3c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "baadf0be-192c-4023-a120-fa0508b6af3c@6c48a",
"displayName": "bar_3",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "baadf0be-192c-4023-a120-fa0508b6af3c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "baadf0be-192c-4023-a120-fa0508b6af3c@f9941",
"displayName": "bar_3",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 327,
"height": 34,
"rawWidth": 327,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-163.5,
-17,
0,
163.5,
-17,
0,
-163.5,
17,
0,
163.5,
17,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
34,
327,
34,
0,
0,
327,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-163.5,
-17,
0
],
"maxPos": [
163.5,
17,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "baadf0be-192c-4023-a120-fa0508b6af3c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "baadf0be-192c-4023-a120-fa0508b6af3c@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ede971c5-e28a-4458-bf9f-4addf25fa9df",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ede971c5-e28a-4458-bf9f-4addf25fa9df@6c48a",
"displayName": "bar_4",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ede971c5-e28a-4458-bf9f-4addf25fa9df",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ede971c5-e28a-4458-bf9f-4addf25fa9df@f9941",
"displayName": "bar_4",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 327,
"height": 34,
"rawWidth": 327,
"rawHeight": 34,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-163.5,
-17,
0,
163.5,
-17,
0,
-163.5,
17,
0,
163.5,
17,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
34,
327,
34,
0,
0,
327,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-163.5,
-17,
0
],
"maxPos": [
163.5,
17,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ede971c5-e28a-4458-bf9f-4addf25fa9df@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ede971c5-e28a-4458-bf9f-4addf25fa9df@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ea61fa55-a662-44f2-950b-4eb9550debba",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ea61fa55-a662-44f2-950b-4eb9550debba@6c48a",
"displayName": "bg_bar",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ea61fa55-a662-44f2-950b-4eb9550debba",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ea61fa55-a662-44f2-950b-4eb9550debba@f9941",
"displayName": "bg_bar",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 385,
"height": 44,
"rawWidth": 385,
"rawHeight": 44,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-192.5,
-22,
0,
192.5,
-22,
0,
-192.5,
22,
0,
192.5,
22,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
44,
385,
44,
0,
0,
385,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-192.5,
-22,
0
],
"maxPos": [
192.5,
22,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ea61fa55-a662-44f2-950b-4eb9550debba@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ea61fa55-a662-44f2-950b-4eb9550debba@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "f46cc9db-620d-4992-9bbf-86bea38a6c14",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "f46cc9db-620d-4992-9bbf-86bea38a6c14@6c48a",
"displayName": "button_quick",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "f46cc9db-620d-4992-9bbf-86bea38a6c14",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "f46cc9db-620d-4992-9bbf-86bea38a6c14@f9941",
"displayName": "button_quick",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 176,
"height": 175,
"rawWidth": 176,
"rawHeight": 175,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-88,
-87.5,
0,
88,
-87.5,
0,
-88,
87.5,
0,
88,
87.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
175,
176,
175,
0,
0,
176,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-88,
-87.5,
0
],
"maxPos": [
88,
87.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "f46cc9db-620d-4992-9bbf-86bea38a6c14@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "f46cc9db-620d-4992-9bbf-86bea38a6c14@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "c9b14ec0-3630-42a9-821a-60dc09fa612a",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c9b14ec0-3630-42a9-821a-60dc09fa612a@6c48a",
"displayName": "button_start",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "c9b14ec0-3630-42a9-821a-60dc09fa612a",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c9b14ec0-3630-42a9-821a-60dc09fa612a@f9941",
"displayName": "button_start",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 176,
"height": 175,
"rawWidth": 176,
"rawHeight": 175,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-88,
-87.5,
0,
88,
-87.5,
0,
-88,
87.5,
0,
88,
87.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
175,
176,
175,
0,
0,
176,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-88,
-87.5,
0
],
"maxPos": [
88,
87.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "c9b14ec0-3630-42a9-821a-60dc09fa612a@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "c9b14ec0-3630-42a9-821a-60dc09fa612a@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "5425790a-354d-463c-b2f1-b5b0bf6a1373",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "5425790a-354d-463c-b2f1-b5b0bf6a1373@6c48a",
"displayName": "health_bar-02",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "5425790a-354d-463c-b2f1-b5b0bf6a1373",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "5425790a-354d-463c-b2f1-b5b0bf6a1373@f9941",
"displayName": "health_bar-02",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7.5,
"offsetY": -10,
"trimX": 98,
"trimY": 119,
"width": 710,
"height": 81,
"rawWidth": 921,
"rawHeight": 299,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-355,
-40.5,
0,
355,
-40.5,
0,
-355,
40.5,
0,
355,
40.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
98,
180,
808,
180,
98,
99,
808,
99
],
"nuv": [
0.10640608034744843,
0.3311036789297659,
0.8773072747014115,
0.3311036789297659,
0.10640608034744843,
0.6020066889632107,
0.8773072747014115,
0.6020066889632107
],
"minPos": [
-355,
-40.5,
0
],
"maxPos": [
355,
40.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "5425790a-354d-463c-b2f1-b5b0bf6a1373@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "5425790a-354d-463c-b2f1-b5b0bf6a1373@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9@6c48a",
"displayName": "health_bar-04",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9@f9941",
"displayName": "health_bar-04",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 708,
"height": 80,
"rawWidth": 708,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-354,
-40,
0,
354,
-40,
0,
-354,
40,
0,
354,
40,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
80,
708,
80,
0,
0,
708,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-354,
-40,
0
],
"maxPos": [
354,
40,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "9ba0f793-16d0-4bc2-8a7f-a76272fd11f9@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "ba1ed396-e109-4d80-ac9d-bd368a320906",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ba1ed396-e109-4d80-ac9d-bd368a320906@6c48a",
"displayName": "health_bar-05",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "ba1ed396-e109-4d80-ac9d-bd368a320906",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ba1ed396-e109-4d80-ac9d-bd368a320906@f9941",
"displayName": "health_bar-05",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 709,
"height": 80,
"rawWidth": 709,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-354.5,
-40,
0,
354.5,
-40,
0,
-354.5,
40,
0,
354.5,
40,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
80,
709,
80,
0,
0,
709,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-354.5,
-40,
0
],
"maxPos": [
354.5,
40,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ba1ed396-e109-4d80-ac9d-bd368a320906@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "ba1ed396-e109-4d80-ac9d-bd368a320906@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c@6c48a",
"displayName": "health_bar-06",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c@f9941",
"displayName": "health_bar-06",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -0.5,
"offsetY": 0.5,
"trimX": 7,
"trimY": 6,
"width": 694,
"height": 67,
"rawWidth": 709,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-347,
-33.5,
0,
347,
-33.5,
0,
-347,
33.5,
0,
347,
33.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
7,
74,
701,
74,
7,
7,
701,
7
],
"nuv": [
0.009873060648801129,
0.0875,
0.9887165021156559,
0.0875,
0.009873060648801129,
0.925,
0.9887165021156559,
0.925
],
"minPos": [
-347,
-33.5,
0
],
"maxPos": [
347,
33.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "06a46e7a-243b-4c2f-bd2d-d7e11a433c2c@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "6914c629-5103-4b3d-b0a7-64e27b3be1f6",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "6914c629-5103-4b3d-b0a7-64e27b3be1f6@6c48a",
"displayName": "health_bar-07",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "6914c629-5103-4b3d-b0a7-64e27b3be1f6",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "6914c629-5103-4b3d-b0a7-64e27b3be1f6@f9941",
"displayName": "health_bar-07",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1.5,
"offsetY": 0.5,
"trimX": 6,
"trimY": 6,
"width": 694,
"height": 67,
"rawWidth": 709,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-347,
-33.5,
0,
347,
-33.5,
0,
-347,
33.5,
0,
347,
33.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
6,
74,
700,
74,
6,
7,
700,
7
],
"nuv": [
0.00846262341325811,
0.0875,
0.9873060648801129,
0.0875,
0.00846262341325811,
0.925,
0.9873060648801129,
0.925
],
"minPos": [
-347,
-33.5,
0
],
"maxPos": [
347,
33.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "6914c629-5103-4b3d-b0a7-64e27b3be1f6@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "6914c629-5103-4b3d-b0a7-64e27b3be1f6@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "d1725c3b-1a12-42f0-848f-064c074add70",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d1725c3b-1a12-42f0-848f-064c074add70@6c48a",
"displayName": "heart",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "d1725c3b-1a12-42f0-848f-064c074add70",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d1725c3b-1a12-42f0-848f-064c074add70@f9941",
"displayName": "heart",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 37,
"height": 33,
"rawWidth": 37,
"rawHeight": 33,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-18.5,
-16.5,
0,
18.5,
-16.5,
0,
-18.5,
16.5,
0,
18.5,
16.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
33,
37,
33,
0,
0,
37,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-18.5,
-16.5,
0
],
"maxPos": [
18.5,
16.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d1725c3b-1a12-42f0-848f-064c074add70@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "d1725c3b-1a12-42f0-848f-064c074add70@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0@6c48a",
"displayName": "table",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0@f9941",
"displayName": "table",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 495,
"height": 365,
"rawWidth": 495,
"rawHeight": 365,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-247.5,
-182.5,
0,
247.5,
-182.5,
0,
-247.5,
182.5,
0,
247.5,
182.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
365,
495,
365,
0,
0,
495,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-247.5,
-182.5,
0
],
"maxPos": [
247.5,
182.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "2e46da6e-0e6a-4713-b4dc-a144cf1d45f0@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "b5235ec2-4b4a-46ec-a754-c27331619091",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "b5235ec2-4b4a-46ec-a754-c27331619091@6c48a",
"displayName": "table_down",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "b5235ec2-4b4a-46ec-a754-c27331619091",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "b5235ec2-4b4a-46ec-a754-c27331619091@f9941",
"displayName": "table_down",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1978,
"height": 192,
"rawWidth": 1978,
"rawHeight": 192,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-989,
-96,
0,
989,
-96,
0,
-989,
96,
0,
989,
96,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
192,
1978,
192,
0,
0,
1978,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-989,
-96,
0
],
"maxPos": [
989,
96,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "b5235ec2-4b4a-46ec-a754-c27331619091@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "b5235ec2-4b4a-46ec-a754-c27331619091@f9941"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "3490ed86-2475-423e-96ee-18309259e8a2",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3490ed86-2475-423e-96ee-18309259e8a2@6c48a",
"displayName": "zip",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "3490ed86-2475-423e-96ee-18309259e8a2",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3490ed86-2475-423e-96ee-18309259e8a2@f9941",
"displayName": "zip",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0.5,
"offsetY": 0,
"trimX": 1,
"trimY": 0,
"width": 33,
"height": 44,
"rawWidth": 34,
"rawHeight": 44,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-16.5,
-22,
0,
16.5,
-22,
0,
-16.5,
22,
0,
16.5,
22,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
1,
44,
34,
44,
1,
0,
34,
0
],
"nuv": [
0.029411764705882353,
0,
1,
0,
0.029411764705882353,
1,
1,
1
],
"minPos": [
-16.5,
-22,
0
],
"maxPos": [
16.5,
22,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "3490ed86-2475-423e-96ee-18309259e8a2@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": false,
"redirect": "3490ed86-2475-423e-96ee-18309259e8a2@f9941"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "947601c1-2eef-4286-a921-38863a1922bb",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "controller"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,270 +0,0 @@
[
{
"__type__": "cc.Prefab",
"_name": "test",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "test",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 10
}
],
"_prefab": {
"__id__": 12
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 1000
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.2,
"y": 0.2,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "button_play",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 331,
"height": 329
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ed+rjPiRhN6biuG33DpnYa"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "ffdf7637-e3aa-4245-9076-52371fdea4a0@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "68JjUi3dNAfqmwo/cOIOkH"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "9fbb4e9a-8a4f-42b0-b402-4f56823ca4af",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "9fbb4e9a-8a4f-42b0-b402-4f56823ca4af",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "94PhhWc6RKxIQf1IOpvNyM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "4f2sOPyA1EZZeFBJ/GDDS1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "03zhvTa1JEPaRq8Bc5S65V"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "10RCPwc6NPRJ5H55CCc70U",
"targetOverrides": null
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

View File

@@ -53,10 +53,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 1600, "width": 728,
"height": 720, "height": 1280,
"rawWidth": 1600, "rawWidth": 728,
"rawHeight": 720, "rawHeight": 1280,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
@@ -71,17 +71,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-800, -364,
-360, -640,
0, 0,
800, 364,
-360, -640,
0, 0,
-800, -364,
360, 640,
0, 0,
800, 364,
360, 640,
0 0
], ],
"indexes": [ "indexes": [
@@ -94,12 +94,12 @@
], ],
"uv": [ "uv": [
0, 0,
720, 1280,
1600, 728,
720, 1280,
0, 0,
0, 0,
1600, 728,
0 0
], ],
"nuv": [ "nuv": [
@@ -113,13 +113,13 @@
1 1
], ],
"minPos": [ "minPos": [
-800, -364,
-360, -640,
0 0
], ],
"maxPos": [ "maxPos": [
800, 364,
360, 640,
0 0
] ]
} }
@@ -129,7 +129,7 @@
"userData": { "userData": {
"type": "sprite-frame", "type": "sprite-frame",
"redirect": "591a4566-d2cc-4bb7-9f01-d5e0da5ca109@f9941", "redirect": "591a4566-d2cc-4bb7-9f01-d5e0da5ca109@f9941",
"hasAlpha": false, "hasAlpha": true,
"fixAlphaTransparencyArtifacts": false "fixAlphaTransparencyArtifacts": false
} }
} }

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@@ -133,8 +133,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 1600, "width": 720,
"height": 720 "height": 1280
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "e323e368-94a2-4088-974a-f225ef5451fd",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,126 @@
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
CCEffect %{
techniques:
- passes:
- vert: sprite-vs:vert
frag: sprite-fs:frag
depthStencilState:
depthTest: false
depthWrite: false
blendState:
targets:
- blend: true
blendSrc: src_alpha
blendDst: one_minus_src_alpha
blendDstAlpha: one_minus_src_alpha
rasterizerState:
cullMode: none
properties:
alphaThreshold: { value: 0.5 }
texture1: { value: white}
texture2: { value: white}
texture3: { value: white}
texture4: { value: white}
texture5: { value: white}
texture6: { value: white}
texture7: { value: white}
}%
CCProgram sprite-vs %{
precision highp float;
#include <builtin/uniforms/cc-global>
#if USE_LOCAL
#include <builtin/uniforms/cc-local>
#endif
#if SAMPLE_FROM_RT
#include <common/common-define>
#endif
in vec3 a_position;
in vec2 a_texCoord;
in vec4 a_color;
out vec4 color;
out vec3 uv0;
vec4 vert () {
vec4 pos = vec4(a_position, 1);
#if USE_LOCAL
pos = cc_matWorld * pos;
#endif
#if USE_PIXEL_ALIGNMENT
pos = cc_matView * pos;
pos.xyz = floor(pos.xyz);
pos = cc_matProj * pos;
#else
pos = cc_matViewProj * pos;
#endif
// uv0 = a_texCoord;
float id = mod(a_texCoord.x,10.0);
uv0.x = (a_texCoord.x - id)*0.000001;
uv0.y = a_texCoord.y;
uv0.z = id;
#if SAMPLE_FROM_RT
CC_HANDLE_RT_SAMPLE_FLIP(uv0.xy);
#endif
color = a_color;
return pos;
}
}%
CCProgram sprite-fs %{
precision highp float;
#include <builtin/internal/embedded-alpha>
#include <builtin/internal/alpha-test>
in vec4 color;
#if USE_TEXTURE
in vec3 uv0;
#pragma builtin(local)
layout(set = 2, binding = 12) uniform sampler2D cc_spriteTexture;
uniform sampler2D texture1;
uniform sampler2D texture2;
uniform sampler2D texture3;
uniform sampler2D texture4;
uniform sampler2D texture5;
uniform sampler2D texture6;
uniform sampler2D texture7;
#endif
vec4 frag () {
vec4 o = vec4(1, 1, 1, 1);
#if USE_TEXTURE
if(uv0.z<0.5)
o *= CCSampleWithAlphaSeparated(cc_spriteTexture, uv0.xy);
else if(uv0.z<1.5)
o *= CCSampleWithAlphaSeparated(texture1, uv0.xy);
else if(uv0.z<2.5)
o *= CCSampleWithAlphaSeparated(texture2, uv0.xy);
else if(uv0.z<3.5)
o *= CCSampleWithAlphaSeparated(texture3, uv0.xy);
else if(uv0.z<4.5)
o *= CCSampleWithAlphaSeparated(texture4, uv0.xy);
else if(uv0.z<5.5)
o *= CCSampleWithAlphaSeparated(texture5, uv0.xy);
else if(uv0.z<6.5)
o *= CCSampleWithAlphaSeparated(texture6, uv0.xy);
else
o *= CCSampleWithAlphaSeparated(texture7, uv0.xy);
#if IS_GRAY
float gray = 0.2126 * o.r + 0.7152 * o.g + 0.0722 * o.b;
o.r = o.g = o.b = gray;
#endif
#endif
o *= color;
ALPHA_TEST(o);
return o;
}
}%

View File

@@ -0,0 +1,11 @@
{
"ver": "1.7.1",
"importer": "effect",
"imported": true,
"uuid": "add9fcaa-8475-4521-917b-7de307b81c4d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,31 @@
{
"__type__": "cc.Material",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"_effectAsset": {
"__uuid__": "add9fcaa-8475-4521-917b-7de307b81c4d",
"__expectedType__": "cc.EffectAsset"
},
"_techIdx": 0,
"_defines": [
{
"USE_TEXTURE": true
}
],
"_states": [
{
"rasterizerState": {},
"depthStencilState": {},
"blendState": {
"targets": [
{}
]
}
}
],
"_props": [
{}
]
}

View File

@@ -0,0 +1,11 @@
{
"ver": "1.0.21",
"importer": "material",
"imported": true,
"uuid": "490db6c2-4dd4-4050-98ec-c1c62ccaae16",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,306 @@
//*//
import { BaseRenderData, Director, Game, Material, Node, ParticleSystem2D, Sprite, SpriteFrame, StencilManager, UIRenderer, __private, _decorator, assert, cclegacy, director, game, renderer, resources } from 'cc';
import { DEBUG, EDITOR, JSB } from 'cc/env';
const { ccclass, property } = _decorator;
export const MultBatch2D: any = {
enable: false,
parent: null,
textures: [],
hash: 0,
reset: function () {
this.textures.length = 0;
}
};
let _cacheUseCount: number = 0;
let _cacheMaterials: Array<Material> = [];
const getMultMaterial = function () {
if (!MultBatch2D.enable) return null;
let material: any = _cacheMaterials[_cacheUseCount++];
if (!material) {
const mat = { parent: MultBatch2D.parent };
material = new renderer.MaterialInstance(mat);
material['isMultTextures'] = true;
_cacheMaterials.push(material);
}
return material;
}
let MAX_TEX = 8;
const _texture = {
texture: new cclegacy.SimpleTexture(),
defalut: new cclegacy.SimpleTexture(),
setFrame(frame: any) {
this.texture['_gfxSampler'] = frame.getGFXSampler();
this.texture['_gfxTextureView'] = frame.getGFXTexture();
}
};
game.once(Game.EVENT_GAME_INITED, () => {
if (EDITOR || JSB) return;
resources.load("multTextures/Mult-material", Material, (err, material) => {
if (!err) {
let mat = cclegacy.builtinResMgr.get('ui-sprite-material');
MultBatch2D.hash = Material.getHash(mat);
MultBatch2D.parent = material;
MultBatch2D.enable = true;
}
});
const UIR: any = UIRenderer.prototype;
const updateMaterial: any = UIR.updateMaterial;
UIR.updateMaterial = function () {
updateMaterial.call(this);
//this.getSharedMaterial(0);
let material = this.customMaterial || this.material;
if (material) {
material['isMultTextures'] = false;
if (MultBatch2D.hash == material.hash) {
material['isMultTextures'] = true;
}
}
}
const PS2D: any = ParticleSystem2D.prototype;
const _updateMaterial = PS2D._updateMaterial;
PS2D._updateMaterial = function () {
_updateMaterial.call(this);
let material = this.customMaterial || this.material;
if (material) {
material['isMultTextures'] = false;
if (MultBatch2D.hash == material.hash) {
material['isMultTextures'] = true;
}
}
}
});
game.once(Game.EVENT_ENGINE_INITED, () => {
if (EDITOR || JSB) return;
cclegacy.UI.RenderData.prototype.texID = -1;
cclegacy.UI.RenderData.prototype.texDirty = true;
cclegacy.UI.RenderData.prototype.dataDirty = true;
Object.defineProperty(cclegacy.UI.RenderData.prototype, "vertDirty", {
get: function () {
return this._vertDirty;
},
set: function (val: boolean) {
this._vertDirty = val;
if (val === true) {
this.dataDirty = true;
}
if (this._renderDrawInfo && val) {
this._renderDrawInfo.setVertDirty(val);
}
}
});
Object.defineProperty(cclegacy.UI.RenderData.prototype, "textureDirty", {
get: function () {
return this.texDirty;
},
set: function (val: boolean) {
this.texDirty = val;
if (val === true) {
this.texID = -1;
}
}
});
const Spr: any = Sprite.prototype;
Spr.flagChangedVersion = -1;
Object.defineProperty(Spr, "_flagChangedVersion", {
get: function () {
return this.flagChangedVersion;
},
set: function (val: number) {
if (this.flagChangedVersion != val) {
this.flagChangedVersion = val;
let rd = this.renderData;
let type = this.type;
if (rd && type == Sprite.Type.TILED
|| (type == Sprite.Type.FILLED && Sprite.FillType.RADIAL)) {
rd.dataDirty = true;
}
}
}
});
director.on(Director.EVENT_AFTER_DRAW, (dt) => {
cclegacy.internal.Batcher2D._rdHash = -1;
MultBatch2D.reset();
_cacheUseCount = 0;
});
cclegacy.internal.Batcher2D.prototype.currMaterial = null;
Object.defineProperty(cclegacy.internal.Batcher2D.prototype, "_currMaterial", {
get: function () {
return this.currMaterial;
},
set: function (metrial: any) {
if (this.currMaterial === metrial) return;
this.currMaterial = metrial;
MultBatch2D.reset();
if (metrial && metrial.isMultTextures) {
let mat = getMultMaterial();
if (mat) {
this.currMaterial = mat;
}
}
}
});
const Stage_ENTER_LEVEL = 2;
const Stage_ENTER_LEVEL_INVERTED = 6;
type TextureBase = __private._cocos_asset_assets_texture_base__TextureBase;
cclegacy.internal.Batcher2D.prototype._rdHash = -1;
cclegacy.internal.Batcher2D.prototype.commitComp = function (comp: UIRenderer, renderData: BaseRenderData | null, frame: TextureBase | SpriteFrame | null, assembler: any, transform: Node | null) {
let rdHash = -1;
let dataHash = 0;
let mat: any;
let bufferID = -1;
if (renderData && renderData.chunk) {
if (!renderData.isValid()) return;
dataHash = renderData.dataHash;
mat = renderData.material;
bufferID = renderData.chunk.bufferId;
// as RenderData;
let rd: any = renderData;
rdHash = bufferID << 16 | rd.layer;
}
// Notice: A little hack, if it is for mask, not need update here, while control by stencilManger
if (comp.stencilStage === Stage_ENTER_LEVEL || comp.stencilStage === Stage_ENTER_LEVEL_INVERTED) {
this._insertMaskBatch(comp);
} else {
comp.stencilStage = StencilManager.sharedManager!.stage;
}
const depthStencilStateStage = comp.stencilStage;
let texID = -1;
let texture = null;
let flushBatch = false;
let isMultTextures = false;
if (MultBatch2D.enable && mat && mat.isMultTextures) {
texture = frame && frame.getGFXTexture();
texID = MultBatch2D.textures.indexOf(texture);
isMultTextures = true;
if (texID < 0) {
if (MultBatch2D.textures.length == MAX_TEX) {
// MultBatch2D.textures.length = 0;
flushBatch = true;
}
}
if (this._currMaterial && this._currMaterial.isMultTextures) {
mat = this._currMaterial;
dataHash = this._currHash;
if (this._rdHash != rdHash) {
flushBatch = true;
texID = -1;
}
}
}
if (flushBatch
|| this._currHash !== dataHash || dataHash === 0 || this._currMaterial !== mat
|| this._currDepthStencilStateStage !== depthStencilStateStage) {
// Merge all previous data to a render batch, and update buffer for next render data
this.autoMergeBatches(this._currComponent!);
if (renderData && !renderData._isMeshBuffer) {
this.updateBuffer(renderData.vertexFormat, bufferID);
}
this._rdHash = rdHash;
this._currRenderData = renderData;
this._currHash = renderData ? renderData.dataHash : 0;
this._currComponent = comp;
this._currTransform = transform;
this._currMaterial = comp.getRenderMaterial(0)!;
this._currDepthStencilStateStage = depthStencilStateStage;
this._currLayer = comp.node.layer;
if (frame) {
if (DEBUG) {
assert(frame.isValid, 'frame should not be invalid, it may have been released');
}
this._currTexture = frame.getGFXTexture();
this._currSampler = frame.getGFXSampler();
this._currTextureHash = frame.getHash();
this._currSamplerHash = this._currSampler.hash;
} else {
this._currTexture = null;
this._currSampler = null;
this._currTextureHash = 0;
this._currSamplerHash = 0;
}
}
assembler.fillBuffers(comp, this);
if (isMultTextures) {
if (texID < 0) {
texID = MultBatch2D.textures.length;
MultBatch2D.textures.push(texture);
if (texID > 0) {
_texture.setFrame(frame);
const name = "texture" + texID;
this._currMaterial.setProperty(name, _texture.texture);
}
}
this._fillDatas(renderData, texID);
}
}
cclegacy.internal.Batcher2D.prototype["_fillDatas"] = function (renderData: any, texID: number) {
if (!renderData) return;
let uvX = 0;
let vbuf = renderData.chunk.vb;
if (renderData.dataDirty) {
renderData.dataDirty = false;
for (let i = 0, length = vbuf.length; i < length; i += 9) {
uvX = ~~(vbuf[i + 3] * 100000);
vbuf[i + 3] = uvX * 10 + texID;
}
} else {
if (renderData.texID != texID) {
for (let i = 0, length = vbuf.length; i < length; i += 9) {
uvX = ~~(vbuf[i + 3] * 0.1);
vbuf[i + 3] = uvX * 10 + texID;
}
}
}
renderData.texID = texID;
};
});
//*/

View File

@@ -0,0 +1,9 @@
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "bd7e7bed-a237-4c50-9383-95bb886ff622",
"files": [],
"subMetas": {},
"userData": {}
}

View File

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

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