Commit 845cbf0e authored by 智慧's avatar 智慧

feat:解决龙骨动画ReadClosely不播放问题:原音是因为龙骨动画导出时没有定义好名字,之后改的名字,导致cocoscreator上关联不到

parent 0ce4f878
{"imagePath":"ReadClosely_tex.png","width":2048,"height":1024,"name":"ReadClosely","SubTexture":[{"width":242,"y":106,"height":33,"name":"Oval","x":896},{"width":276,"y":156,"height":150,"name":"1/烟雾100","x":453},{"width":291,"y":1,"height":153,"name":"1/烟雾101","x":453},{"width":330,"y":790,"height":157,"name":"1/烟雾102","x":680},{"width":345,"y":631,"height":157,"name":"1/烟雾103","x":363},{"width":352,"y":470,"height":159,"name":"1/烟雾104","x":326},{"width":360,"y":745,"height":164,"name":"1/烟雾105","x":1},{"width":61,"y":479,"height":86,"name":"右腿","x":864},{"width":148,"y":156,"height":82,"name":"尾巴","x":829},{"width":140,"y":308,"height":114,"name":"蹲身体","x":577},{"width":82,"y":1,"height":98,"name":"蹲右腿","x":1088},{"width":76,"y":645,"height":96,"name":"蹲左图","x":803},{"width":115,"y":424,"height":135,"name":"db45a0e0aaadcc90fe2cf0d28babdbc","x":680},{"width":80,"y":1,"height":103,"name":"右胳膊","x":896},{"frameY":0,"y":1,"frameWidth":80,"frameHeight":107,"width":80,"height":105,"name":"左胳膊","frameX":0,"x":746},{"width":61,"y":513,"height":34,"name":"右脚","x":797},{"width":67,"y":391,"height":86,"name":"左腿","x":857},{"width":61,"y":108,"height":34,"name":"左脚_","x":746},{"width":69,"y":957,"height":53,"name":"裤线","x":566},{"width":450,"y":1,"height":467,"name":"头发","x":1},{"width":323,"y":470,"height":273,"name":"脸","x":1},{"width":67,"y":949,"height":54,"name":"闭嘴","x":940},{"width":91,"y":561,"height":82,"name":"睁右眼","x":771},{"width":91,"y":700,"height":82,"name":"睁左眼","x":710},{"width":107,"y":240,"height":66,"name":"右眼睛","x":829},{"width":18,"y":108,"height":14,"name":"右眉毛","x":809},{"width":108,"y":957,"height":64,"name":"右眯眼","x":346},{"width":343,"y":911,"height":108,"name":"闭嘴_0","x":1},{"width":18,"y":124,"height":14,"name":"左眉毛","x":809},{"width":107,"y":949,"height":66,"name":"左眼睛","x":639},{"width":108,"y":957,"height":64,"name":"左眯眼","x":456},{"width":274,"y":790,"height":165,"name":"微信图片_20210226094334","x":363},{"width":36,"y":424,"height":44,"name":"左手","x":615},{"width":36,"y":424,"height":44,"name":"右手","x":577},{"width":122,"y":308,"height":135,"name":"1/右挥手","x":453},{"width":96,"y":156,"height":149,"name":"1/左挥手","x":731},{"width":93,"y":949,"height":72,"name":"张嘴","x":748},{"width":65,"y":1,"height":141,"name":"蹲右胳膊","x":829},{"width":59,"y":561,"height":137,"name":"蹲左胳膊","x":710},{"width":108,"y":1,"height":75,"name":"眼睛向下/右眯眼_拷贝_2","x":978},{"width":95,"y":949,"height":65,"name":"眼睛向下/左眯眼_拷贝_5","x":843},{"width":182,"y":308,"height":81,"name":"抠图/书3","x":719},{"width":58,"y":391,"height":120,"name":"放大镜/图层_2","x":797}]}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "f9bc5715-069f-4fba-93d8-2c09f9e58812",
"uuid": "45f002f8-f5bc-4e49-b5e9-5561aaed97b2",
"subMetas": {}
}
\ No newline at end of file
{"imagePath":"gretting_tex.png","width":1024,"height":1024,"name":"gretting","SubTexture":[{"width":276,"y":156,"height":150,"name":"1/烟雾100","x":680},{"width":291,"y":1,"height":153,"name":"1/烟雾101","x":680},{"width":330,"y":790,"height":157,"name":"1/烟雾102","x":680},{"width":345,"y":631,"height":157,"name":"1/烟雾103","x":363},{"width":352,"y":470,"height":159,"name":"1/烟雾104","x":326},{"width":360,"y":745,"height":164,"name":"1/烟雾105","x":1},{"width":67,"y":476,"height":87,"name":"右腿","x":680},{"width":148,"y":152,"height":82,"name":"尾巴","x":453},{"width":115,"y":1,"height":135,"name":"db45a0e0aaadcc90fe2cf0d28babdbc","x":453},{"width":80,"y":345,"height":103,"name":"右胳膊","x":578},{"width":80,"y":236,"height":107,"name":"左胳膊","x":578},{"width":61,"y":949,"height":34,"name":"右脚","x":749},{"width":67,"y":565,"height":86,"name":"左腿","x":710},{"width":61,"y":957,"height":34,"name":"左脚_","x":525},{"width":69,"y":152,"height":53,"name":"裤线","x":603},{"width":450,"y":1,"height":467,"name":"头发","x":1},{"width":323,"y":470,"height":273,"name":"脸","x":1},{"width":67,"y":957,"height":54,"name":"闭嘴","x":456},{"width":91,"y":308,"height":82,"name":"睁右眼","x":660},{"width":91,"y":392,"height":82,"name":"睁左眼","x":680},{"width":107,"y":308,"height":66,"name":"右眼睛","x":753},{"width":18,"y":408,"height":14,"name":"右眉毛","x":660},{"width":108,"y":949,"height":64,"name":"右眯眼","x":639},{"width":343,"y":911,"height":108,"name":"闭嘴_0","x":1},{"width":18,"y":392,"height":14,"name":"左眉毛","x":660},{"width":107,"y":236,"height":66,"name":"左眼睛","x":453},{"width":108,"y":957,"height":64,"name":"左眯眼","x":346},{"width":274,"y":790,"height":165,"name":"微信图片_20210225222225","x":363},{"width":36,"y":957,"height":44,"name":"左手","x":588},{"width":36,"y":790,"height":44,"name":"右手","x":639},{"width":123,"y":308,"height":136,"name":"1/右挥手","x":453},{"width":96,"y":1,"height":149,"name":"1/左挥手","x":570}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "be044c74-0706-47cf-be8c-271ba8f0667a",
"uuid": "1082545e-8dbd-424b-a3de-1b877d8d64e1",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "46997854-adf8-46d8-8b98-65ae7d972d0a",
"uuid": "16eaa6c7-68d7-452e-9c2a-a25c93baf999",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2048,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"ReadClosely_tex": {
"gretting_tex": {
"ver": "1.0.4",
"uuid": "2f3b95c5-ad42-4218-90c2-d71ca30fae4f",
"rawTextureUuid": "46997854-adf8-46d8-8b98-65ae7d972d0a",
"uuid": "569889fe-d116-4e6d-8cd8-6a78c6f9dc2e",
"rawTextureUuid": "16eaa6c7-68d7-452e-9c2a-a25c93baf999",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -438.5,
"offsetX": -6.5,
"offsetY": 1,
"trimX": 1,
"trimY": 1,
"width": 1169,
"width": 1009,
"height": 1020,
"rawWidth": 2048,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
......
......@@ -659,7 +659,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 15
......@@ -688,8 +688,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -731,7 +731,7 @@
"_preCacheMode": 0,
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"premultipliedAlpha": true,
"_armatureKey": "637664fa-d715-4ed5-8eee-5cfccf071774#e8e28bca-e00f-4d6f-85b9-0184bbe4d2ec",
"_accTime": 0,
"_playCount": 0,
......@@ -761,7 +761,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 17
......@@ -790,8 +790,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -863,7 +863,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 19
......@@ -892,8 +892,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -965,7 +965,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 21
......@@ -994,8 +994,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1067,7 +1067,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 23
......@@ -1096,8 +1096,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1169,7 +1169,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 25
......@@ -1198,8 +1198,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1271,7 +1271,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 27
......@@ -1300,8 +1300,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1373,7 +1373,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 29
......@@ -1402,8 +1402,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1475,7 +1475,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 31
......@@ -1504,8 +1504,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1577,7 +1577,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 33
......@@ -1606,8 +1606,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1679,7 +1679,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 35
......@@ -1708,8 +1708,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1781,7 +1781,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 37
......@@ -1810,8 +1810,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-1643.031,
-1357.577,
0,
0,
0,
......@@ -1883,7 +1883,7 @@
"__id__": 2
},
"_children": [],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 39
......@@ -1900,7 +1900,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 471.3,
"width": 450,
"height": 480.45
},
"_anchorPoint": {
......@@ -1912,8 +1912,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-750,
0,
-114.298,
-113.259,
0,
0,
0,
......@@ -1956,7 +1956,7 @@
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "f9bc5715-069f-4fba-93d8-2c09f9e58812#be044c74-0706-47cf-be8c-271ba8f0667a",
"_armatureKey": "45f002f8-f5bc-4e49-b5e9-5561aaed97b2#1082545e-8dbd-424b-a3de-1b877d8d64e1",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
......@@ -1964,10 +1964,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "f9bc5715-069f-4fba-93d8-2c09f9e58812"
"__uuid__": "45f002f8-f5bc-4e49-b5e9-5561aaed97b2"
},
"_N$dragonAtlasAsset": {
"__uuid__": "be044c74-0706-47cf-be8c-271ba8f0667a"
"__uuid__": "1082545e-8dbd-424b-a3de-1b877d8d64e1"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
......
......@@ -186,8 +186,8 @@ cc.Class({
const nodeName = 'Canvas/' + this.data.animationName;
const animationNode = cc.find(nodeName);
animationNode.x = cc.find('Canvas').width;
animationNode.y = 0;
animationNode.active = true;
animationNode.scale = this._mapScaleMin;
await asyncTweenTo(animationNode, 0.5, { x: 0 });
},
......
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