Commit 5b2be6ee authored by liujiangnan's avatar liujiangnan

feat: 骨骼动画

parent fc02c369
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "e3f9819c-4670-47c3-9e9b-2e862dee7726",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"imagePath":"happy_tex.png","name":"happy","SubTexture":[{"width":583,"y":1309,"height":454,"name":"尾巴","x":1},{"width":364,"y":1965,"height":607,"name":"左胳膊","x":1579},{"width":354,"y":1585,"height":577,"name":"右胳膊","x":781},{"width":359,"y":1265,"height":698,"name":"左腿","x":1579},{"width":350,"y":1265,"height":721,"name":"右腿","x":1227},{"width":795,"y":469,"height":466,"name":"左腿-跳","x":1103},{"width":795,"y":1,"height":466,"name":"右腿-跳_","x":1103},{"width":778,"y":1765,"height":314,"name":"左胳膊_0","x":1},{"width":800,"y":937,"height":326,"name":"右胳膊_0","x":1227},{"width":452,"y":937,"height":646,"name":"身体","x":773},{"width":355,"y":2358,"height":320,"name":"左耳朵","x":358},{"width":355,"y":2352,"height":320,"name":"右耳朵","x":1},{"width":1100,"y":1,"height":902,"name":"头","x":1},{"width":770,"y":905,"height":402,"name":"眼睛底","x":1},{"width":653,"y":2081,"height":269,"name":"睁眼睛","x":1},{"width":299,"y":2674,"height":229,"name":"嘴","x":1},{"width":285,"y":1988,"height":118,"name":"张嘴","x":1137},{"width":704,"y":2164,"height":192,"name":"眯眼","x":656},{"width":602,"y":2358,"height":85,"name":"闭眼睛","x":715},{"width":320,"y":2445,"height":59,"name":"闭嘴","x":715}],"height":4096}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "25891498-c37b-4341-b063-cb48aa300bbe",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "a58ace30-2d6b-4027-ad69-3be95d034eb1",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 4096,
"platformSettings": {},
"subMetas": {
"happy_tex": {
"ver": "1.0.4",
"uuid": "e2519ead-5b8a-4207-9d41-31f9a7274f7c",
"rawTextureUuid": "a58ace30-2d6b-4027-ad69-3be95d034eb1",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -10,
"offsetY": 596,
"trimX": 1,
"trimY": 1,
"width": 2026,
"height": 2902,
"rawWidth": 2048,
"rawHeight": 4096,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"frameRate":24,"name":"talk","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"armatureName","aabb":{"x":-810.5,"y":-990,"width":1621,"height":1980},"bone":[{"name":"root"},{"length":365,"name":"身体","parent":"root","transform":{"x":3.5,"y":292.25,"skX":-86.7333,"skY":-86.7333}},{"length":682,"name":"脸","parent":"身体","transform":{"x":428.3572,"y":-25.2504,"skX":-5.7484,"skY":-5.7484}},{"length":455,"name":"尾巴","parent":"身体","transform":{"x":7.2968,"y":127.8419,"skX":107.3761,"skY":107.3761}},{"name":"睁眼睛","parent":"脸","transform":{"x":450.2279,"y":229.6605}},{"name":"闭眼睛","parent":"脸","transform":{"x":366.8257,"y":289.1049}},{"name":"张嘴","parent":"脸","transform":{"x":109.7887,"y":-55.0978}},{"name":"右耳朵","parent":"脸","transform":{"x":370.2517,"y":645.3874}},{"name":"左耳朵","parent":"脸","transform":{"x":416.2993,"y":-593.7309}},{"name":"闭嘴","parent":"脸","transform":{"x":179.8291,"y":56.3395}},{"name":"图层2","parent":"脸","transform":{"x":612.1983,"y":305.445}}],"slot":[{"name":"尾巴","parent":"尾巴"},{"name":"左胳膊","parent":"root"},{"name":"右胳膊","parent":"root"},{"name":"左腿","parent":"root"},{"name":"右腿","parent":"root"},{"name":"身体","parent":"身体"},{"name":"左耳朵","parent":"左耳朵"},{"name":"右耳朵","parent":"右耳朵"},{"name":"脸","parent":"脸"},{"name":"图层2","parent":"图层2"},{"name":"睁眼睛","parent":"睁眼睛"},{"name":"闭眼睛","parent":"闭眼睛","color":{"aM":0}},{"name":"张嘴","parent":"张嘴"},{"name":"闭嘴","parent":"闭嘴","color":{"aM":0}}],"skin":[{"slot":[{"name":"左耳朵","display":[{"name":"左耳朵","transform":{"x":10,"y":-24.09,"skX":92.48,"skY":92.48}}]},{"name":"尾巴","display":[{"name":"尾巴","transform":{"x":294.15,"y":27.84,"skX":-20.64,"skY":-20.64}}]},{"name":"脸","display":[{"name":"脸","transform":{"x":402.28,"y":17.24,"skX":92.48,"skY":92.48}}]},{"name":"右胳膊","display":[{"name":"右胳膊","transform":{"x":329.5,"y":117.5}}]},{"name":"睁眼睛","display":[{"name":"睁眼睛","transform":{"x":6.04,"y":-222.6,"skX":92.48,"skY":92.48}}]},{"name":"闭眼睛","display":[{"name":"闭眼睛","transform":{"x":4.22,"y":-278.73,"skX":92.48,"skY":92.48}}]},{"name":"身体","display":[{"name":"身体","transform":{"x":210.29,"y":3.52,"skX":86.73,"skY":86.73}}]},{"name":"闭嘴","display":[{"name":"闭嘴","transform":{"x":-20.41,"y":-70.65,"skX":92.48,"skY":92.48}}]},{"name":"右耳朵","display":[{"name":"右耳朵","transform":{"x":-4.24,"y":0.87,"skX":92.48,"skY":92.48}}]},{"name":"张嘴","display":[{"name":"张嘴","transform":{"x":39.16,"y":39.83,"skX":92.48,"skY":92.48}}]},{"name":"左胳膊","display":[{"name":"左胳膊","transform":{"x":-295.5,"y":117.5}}]},{"name":"图层2","display":[{"name":"图层2","transform":{"x":-129.45,"y":-297.23,"skX":92.48,"skY":92.48}}]},{"name":"左腿","display":[{"name":"左腿","transform":{"x":-209,"y":641}}]},{"name":"右腿","display":[{"name":"右腿","transform":{"x":257,"y":641}}]}]}],"animation":[{"duration":120,"playTimes":0,"name":"normal","bone":[{"name":"脸","rotateFrame":[{"duration":48},{"duration":7,"tweenEasing":0},{"duration":8,"tweenEasing":0,"rotate":-3.21},{"duration":7,"tweenEasing":0},{"duration":7,"tweenEasing":0,"rotate":-3.21},{"duration":20,"tweenEasing":0},{"duration":5,"tweenEasing":0},{"duration":7,"tweenEasing":0,"rotate":11.45},{"duration":5,"tweenEasing":0},{"duration":6,"tweenEasing":0,"rotate":11.45},{"duration":0}]},{"name":"尾巴","rotateFrame":[{"duration":18,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":7.49},{"duration":18,"tweenEasing":0},{"duration":20,"tweenEasing":0,"rotate":7.49},{"duration":23,"tweenEasing":0},{"duration":23,"tweenEasing":0,"rotate":7.49},{"duration":0}]}],"slot":[{"name":"睁眼睛","colorFrame":[{"duration":6,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":96}]},{"name":"闭眼睛","colorFrame":[{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":96,"value":{"aM":0}}]},{"name":"张嘴","colorFrame":[{"duration":18},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":29,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":6,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":5,"tweenEasing":0},{"tweenEasing":0},{"duration":4,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":14}]},{"name":"闭嘴","colorFrame":[{"duration":18,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":29,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":6,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":5,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":4,"tweenEasing":0},{"tweenEasing":0},{"duration":14,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}],"canvas":{"width":2048,"height":2048}}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "52be955c-9360-497f-9176-499a8b854657",
"subMetas": {}
}
\ No newline at end of file
{"width":2048,"imagePath":"talk_tex.png","name":"talk","SubTexture":[{"width":583,"y":904,"height":454,"name":"尾巴","x":1},{"width":354,"y":1360,"height":577,"name":"左胳膊","x":1},{"width":354,"y":1,"height":577,"name":"右胳膊","x":1600},{"width":359,"y":904,"height":698,"name":"左腿","x":586},{"width":359,"y":1067,"height":698,"name":"右腿","x":947},{"width":493,"y":1,"height":695,"name":"身体","x":1105},{"width":355,"y":1067,"height":320,"name":"左耳朵","x":1666},{"width":356,"y":1067,"height":321,"name":"右耳朵","x":1308},{"width":1102,"y":1,"height":901,"name":"脸","x":1},{"width":771,"y":698,"height":367,"name":"图层2","x":1105},{"width":655,"y":1767,"height":236,"name":"睁眼睛","x":357},{"width":603,"y":1767,"height":60,"name":"闭眼睛","x":1014},{"width":285,"y":1604,"height":118,"name":"张嘴","x":357},{"width":320,"y":1939,"height":59,"name":"闭嘴","x":1}],"height":2048}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "bb0d1288-10d9-42d9-9543-ef8715b9bae5",
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "2.3.5",
"uuid": "7fe6725b-f3f9-4144-82fb-2daa24afd8e5",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"height": 2048,
"platformSettings": {},
"subMetas": {
"talk_tex": {
"ver": "1.0.4",
"uuid": "39dc25f5-d96c-4d4f-ae43-7f7654351535",
"rawTextureUuid": "7fe6725b-f3f9-4144-82fb-2daa24afd8e5",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -13,
"offsetY": 22,
"trimX": 1,
"trimY": 1,
"width": 2020,
"height": 2002,
"rawWidth": 2048,
"rawHeight": 2048,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
......@@ -78,13 +78,13 @@
"_active": true,
"_components": [
{
"__id__": 62
"__id__": 70
},
{
"__id__": 63
"__id__": 71
},
{
"__id__": 64
"__id__": 72
}
],
"_prefab": null,
......@@ -252,15 +252,21 @@
},
{
"__id__": 56
},
{
"__id__": 60
},
{
"__id__": 64
}
],
"_active": true,
"_components": [
{
"__id__": 60
"__id__": 68
},
{
"__id__": 61
"__id__": 69
}
],
"_prefab": null,
......@@ -2640,7 +2646,7 @@
"__id__": 5
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 57
......@@ -2829,6 +2835,412 @@
},
"_id": "7dY8o8f9VMhZLqUKoGI2kb"
},
{
"__type__": "cc.Node",
"_name": "talk",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 61
},
{
"__id__": 62
},
{
"__id__": 63
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1621,
"height": 1980
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
439.44599999999997,
-160.17200000000003,
0,
0,
0,
0,
1,
0.15,
0.15,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "29nz8mJfRPEInMZjx5UqQo"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "52be955c-9360-497f-9176-499a8b854657#bb0d1288-10d9-42d9-9543-ef8715b9bae5",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "52be955c-9360-497f-9176-499a8b854657"
},
"_N$dragonAtlasAsset": {
"__uuid__": "bb0d1288-10d9-42d9-9543-ef8715b9bae5"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "cb+dbQBClJ3bNF5DvHW+42"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 78.97900000000004,
"_top": 0,
"_bottom": 51.327999999999975,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "97YH1bfN1OV5HlVefDeI91"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 60
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "5bcph5MhFCmI7eo1K4ho1a"
},
{
"__type__": "cc.Node",
"_name": "happy",
"_objFlags": 0,
"_parent": {
"__id__": 5
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 65
},
{
"__id__": 66
},
{
"__id__": 67
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1647,
"height": 1995.94
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
451.7660000000001,
-160.172,
0,
0,
0,
0,
1,
0.15,
0.15,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f1f7n8hs1KlYVD19R7Q2I6"
},
{
"__type__": "dragonBones.ArmatureDisplay",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_armatureName": "armatureName",
"_animationName": "normal",
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "e3f9819c-4670-47c3-9e9b-2e862dee7726#25891498-c37b-4341-b063-cb48aa300bbe",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
"_curFrame": null,
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "e3f9819c-4670-47c3-9e9b-2e862dee7726"
},
"_N$dragonAtlasAsset": {
"__uuid__": "25891498-c37b-4341-b063-cb48aa300bbe"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
"_N$_defaultCacheMode": 0,
"_N$timeScale": 1,
"_N$debugBones": false,
"_N$enableBatch": false,
"_id": "719y3J4yZJ7YPK1Zev2LKR"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
"_left": 0,
"_right": 64.70899999999995,
"_top": 0,
"_bottom": 50.13249999999999,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 0,
"_originalHeight": 0,
"_id": "fbuULXTihApZm151SbMfq2"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": null,
"_id": "38DvLT3M5GEbCCy6xE11be"
},
{
"__type__": "cc.Sprite",
"_name": "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment