背后载入

This commit is contained in:
2024-07-22 16:49:11 +08:00
parent e3b5f4bd05
commit 5c961f1f37
44 changed files with 1020 additions and 109 deletions

View File

@@ -315,7 +315,7 @@
"a": 255
},
"_skeletonData": {
"__uuid__": "52673d05-5225-4ac6-98e4-efe6494452ce",
"__uuid__": "6683952a-05cc-4103-9cfd-dbd67fea128a",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "war",

View File

@@ -0,0 +1 @@
{"ver":"1.2.0","importer":"directory","imported":true,"uuid":"2f43601d-548f-4b60-8db5-4fd7715916b6","files":[],"subMetas":{},"userData":{}}

View File

@@ -0,0 +1,154 @@
{
"animator": "1.0.0",
"mainStateMachine": {
"layerPos": [
0,
0
],
"layerScale": 1,
"anyStatePos": [
-660,
390
],
"subStates": [
"act1",
"idle",
"magic1",
"move"
],
"subStateMachines": []
},
"subStateMachines": [],
"defaultState": "idle",
"anyState": {
"transitions": []
},
"states": [
{
"position": [
-180,
420
],
"upStateMachine": "BaseLayer",
"state": "act1",
"motion": "act1",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
},
{
"position": [
-390,
240
],
"upStateMachine": "BaseLayer",
"state": "idle",
"motion": "idle",
"speed": 1,
"multiplier": "",
"loop": true,
"transitions": [
{
"toState": "move",
"hasExitTime": false,
"conditions": [
{
"param": "act1",
"value": 0,
"logic": 0
}
]
},
{
"toState": "act1",
"hasExitTime": false,
"conditions": [
{
"param": "magic1",
"value": 0,
"logic": 0
}
]
},
{
"toState": "magic1",
"hasExitTime": false,
"conditions": [
{
"param": "move",
"value": 0,
"logic": 0
}
]
}
]
},
{
"position": [
60,
180
],
"upStateMachine": "BaseLayer",
"state": "magic1",
"motion": "magic1",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
},
{
"position": [
-240,
0
],
"upStateMachine": "BaseLayer",
"state": "move",
"motion": "move",
"speed": 1,
"multiplier": "",
"loop": false,
"transitions": [
{
"toState": "idle",
"hasExitTime": true,
"conditions": []
}
]
}
],
"parameters": [
{
"param": "act1",
"type": 3,
"init": 0
},
{
"param": "magic1",
"type": 3,
"init": 0
},
{
"param": "move",
"type": 3,
"init": 0
},
{
"param": "idle",
"type": 3,
"init": 0
}
]
}

View File

@@ -0,0 +1 @@
{"ver":"2.0.1","importer":"json","imported":true,"uuid":"ce02d24b-929d-41cb-a63f-49458f0b237f","files":[".json"],"subMetas":{},"userData":{}}

View File

@@ -0,0 +1,34 @@
skeleton.png
size: 1271,324
format: RGBA8888
filter: Linear,Linear
repeat: none
hb_01
rotate: false
xy: 2, 2
size: 320, 320
orig: 320, 320
offset: 0, 0
index: -1
hb_02
rotate: false
xy: 645, 10
size: 312, 312
orig: 320, 320
offset: 1, 4
index: -1
hb_03
rotate: true
xy: 324, 2
size: 320, 319
orig: 320, 320
offset: 0, 1
index: -1
hb_04
rotate: false
xy: 959, 12
size: 310, 310
orig: 320, 320
offset: 2, 8
index: -1

View File

@@ -0,0 +1 @@
{"ver":"1.0.1","importer":"*","imported":true,"uuid":"f87ad63c-320c-4ca5-b18a-79f174843462","files":[".atlas",".json"],"subMetas":{},"userData":{}}

View File

@@ -0,0 +1,99 @@
{
"skeleton": {
"hash": "fYDeOpztoYDiS0D+OqdbTuJk36Y",
"spine": "3.8.99",
"x": -170,
"y": -170,
"width": 320,
"height": 320,
"images": "",
"audio": ""
},
"bones": [
{ "name": "root", "x": -10, "y": -10 }
],
"slots": [
{ "name": "hero_background", "bone": "root", "attachment": "hb_03" }
],
"skins": [
{
"name": "heath",
"attachments": {
"hero_background": {
"hb_03": { "name": "hb_04", "width": 320, "height": 320 }
}
}
},
{
"name": "magic",
"attachments": {
"hero_background": {
"hb_03": { "name": "hb_01", "x": -0.1, "y": 0.19, "width": 320, "height": 320 }
}
}
},
{
"name": "monster",
"attachments": {
"hero_background": {
"hb_03": { "name": "hb_02", "width": 320, "height": 320 }
}
}
},
{
"name": "war",
"attachments": {
"hero_background": {
"hb_03": { "width": 320, "height": 320 }
}
}
}
],
"animations": {
"act1": {
"bones": {
"root": {
"translate": [
{},
{ "time": 0.3333, "x": -20 },
{ "time": 0.5667, "x": 40 },
{ "time": 0.8 }
]
}
}
},
"idle": {
"bones": {
"root": {
"translate": [
{},
{ "time": 0.5, "y": 8 },
{ "time": 1 }
]
}
}
},
"magic1": {
"bones": {
"root": {
"rotate": [
{},
{ "time": 0.5, "angle": 15 },
{ "time": 1 }
]
}
}
},
"move": {
"bones": {
"root": {
"translate": [
{},
{ "time": 0.3667, "y": 15 },
{ "time": 0.8 }
]
}
}
}
}
}

View File

@@ -0,0 +1 @@
{"ver":"1.2.6","importer":"spine-data","imported":true,"uuid":"6683952a-05cc-4103-9cfd-dbd67fea128a","files":[".json"],"subMetas":{},"userData":{}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

View File

@@ -0,0 +1,42 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "94eb7a7d-f511-437e-84f0-6ce986da145c",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "94eb7a7d-f511-437e-84f0-6ce986da145c@6c48a",
"displayName": "skeleton",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "94eb7a7d-f511-437e-84f0-6ce986da145c",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "94eb7a7d-f511-437e-84f0-6ce986da145c@6c48a"
}
}