1、修正spine动画引起的渲染问题

2、sortinggroup组件只在当前节点和其子节点有效,其他节点仍然使用节点树遍历
This commit is contained in:
lujun
2023-03-21 22:23:01 +08:00
parent 918104a057
commit 973434cd71
18 changed files with 4727 additions and 84 deletions

View File

@@ -75,19 +75,22 @@
"__id__": 5
},
{
"__id__": 15
"__id__": 16
},
{
"__id__": 18
}
],
"_active": true,
"_components": [
{
"__id__": 24
"__id__": 27
},
{
"__id__": 25
"__id__": 28
},
{
"__id__": 26
"__id__": 29
}
],
"_prefab": null,
@@ -251,7 +254,7 @@
"_active": true,
"_components": [
{
"__id__": 14
"__id__": 15
}
],
"_prefab": null,
@@ -317,7 +320,7 @@
"_active": true,
"_components": [
{
"__id__": 13
"__id__": 14
}
],
"_prefab": null,
@@ -383,10 +386,10 @@
"_active": true,
"_components": [
{
"__id__": 11
"__id__": 12
},
{
"__id__": 12
"__id__": 13
}
],
"_prefab": null,
@@ -452,6 +455,9 @@
},
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": null,
@@ -561,6 +567,18 @@
"_N$affectedByScale": false,
"_id": "99ZnNIIfdGYr/767ja4ooN"
},
{
"__type__": "ac8d9FmQixM06C+C9zdtS2i",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": false,
"_sortingLayer": 1,
"_orderInLayer": 0,
"_id": "95L6yHtudDn4DXi9XNXUWm"
},
{
"__type__": "cc.Mask",
"_name": "",
@@ -666,6 +684,110 @@
"_atlas": null,
"_id": "c3cT/PBaxC0ZZTS52ZUc/N"
},
{
"__type__": "cc.Node",
"_name": "raptor-pro",
"_objFlags": 0,
"_parent": {
"__id__": 2
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1280.26,
"height": 1039.44
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-573.152,
-334.2,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b2sxgOXEtLurYDvQ/Y6o1s"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
},
"_enabled": true,
"_materials": [
{
"__uuid__": "7afd064b-113f-480e-b793-8817d19f63c3"
}
],
"paused": false,
"defaultSkin": "default",
"defaultAnimation": "walk",
"_preCacheMode": 0,
"_cacheMode": 0,
"loop": true,
"premultipliedAlpha": true,
"timeScale": 1,
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_skeletonCache": null,
"_animationName": "walk",
"_animationQueue": [],
"_headAniInfo": null,
"_playTimes": 0,
"_isAniComplete": true,
"_N$skeletonData": {
"__uuid__": "48c998f8-8b63-4afa-b422-3a16c9af34f1"
},
"_N$_defaultCacheMode": 0,
"_N$debugSlots": false,
"_N$debugBones": false,
"_N$debugMesh": false,
"_N$useTint": false,
"_N$enableBatch": false,
"_id": "e11y2DpPVHi7Kf0FQ5dF3T"
},
{
"__type__": "cc.Node",
"_name": "New Node",
@@ -674,20 +796,20 @@
"__id__": 2
},
"_children": [
{
"__id__": 16
},
{
"__id__": 19
},
{
"__id__": 21
"__id__": 22
},
{
"__id__": 24
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 23
"__id__": 26
}
],
"_prefab": null,
@@ -713,7 +835,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-604,
-185.437,
-360,
0,
0,
@@ -743,16 +865,16 @@
"_name": "New Label 1",
"_objFlags": 0,
"_parent": {
"__id__": 15
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 17
"__id__": 20
},
{
"__id__": 18
"__id__": 21
}
],
"_prefab": null,
@@ -808,7 +930,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 19
},
"_enabled": true,
"_materials": [
@@ -841,7 +963,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 16
"__id__": 19
},
"_enabled": true,
"_sortingLayer": 1,
@@ -853,13 +975,13 @@
"_name": "New Sprite(Splash)",
"_objFlags": 0,
"_parent": {
"__id__": 15
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 20
"__id__": 23
}
],
"_prefab": null,
@@ -915,7 +1037,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 19
"__id__": 22
},
"_enabled": true,
"_materials": [
@@ -947,13 +1069,13 @@
"_name": "New Label 2",
"_objFlags": 0,
"_parent": {
"__id__": 15
"__id__": 18
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 22
"__id__": 25
}
],
"_prefab": null,
@@ -1009,7 +1131,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 21
"__id__": 24
},
"_enabled": true,
"_materials": [
@@ -1042,7 +1164,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 15
"__id__": 18
},
"_enabled": true,
"_sortingLayer": 1,

View File

@@ -684,7 +684,7 @@
"__id__": 21
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 23