Commit bbb1b48f authored by 李维's avatar 李维

dev commit

parent 52646d3e
{
"ver": "1.1.2",
"uuid": "ff2c07e8-def7-4948-ac1e-fd7ee33f6e9f",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"playbird","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","bone":[{"name":"root"}],"defaultActions":[{}]},{"type":"Armature","frameRate":24,"name":"Armature播放","aabb":{"x":-98.36,"y":-145.08,"width":174,"height":148.48},"bone":[{"name":"root","transform":{"x":0.2583,"y":0.0498}},{"length":24,"name":"袋子","parent":"root","transform":{"x":26.6917,"y":-10.4498,"skX":-88.2643,"skY":-88.2643}},{"name":"音符1","parent":"root","transform":{"x":19.6875,"y":-131.7759,"skX":-90,"skY":-90}},{"length":30,"name":"身体","parent":"root","transform":{"x":-5.6083,"y":-69.1998,"skX":-89.8115,"skY":-89.8115}},{"length":9,"name":"胡子","parent":"身体","transform":{"x":10.6069,"y":-13.135,"skX":3.6062,"skY":3.6062}},{"length":8,"name":"上嘴","parent":"身体","transform":{"x":36.6112,"y":-11.8705,"skX":-75.9132,"skY":-75.9132}},{"length":4,"name":"下嘴","parent":"身体","transform":{"x":31.9964,"y":-16.3553,"skX":-121.7106,"skY":-121.7106}},{"length":14,"name":"左翅膀","parent":"身体","transform":{"x":23.2749,"y":-22.8767,"skX":-56.1253,"skY":-56.1253}},{"length":19,"name":"喇叭","parent":"袋子","transform":{"x":7.7101,"y":-31.1478,"skX":-2.1776,"skY":-2.1776}},{"length":17,"name":"帽子","parent":"身体","transform":{"x":46.5244,"y":-7.8531,"skX":48.4159,"skY":48.4159}},{"length":13,"name":"尾巴","parent":"身体","transform":{"x":23.6563,"y":32.2724,"skX":30.2344,"skY":30.2344}},{"length":16,"name":"右翅膀","parent":"身体","transform":{"x":25.9793,"y":8.8646,"skX":57.1393,"skY":57.1393}}],"slot":[{"name":"音符1","parent":"音符1"},{"name":"袋子","parent":"袋子"},{"name":"喇叭","parent":"喇叭"},{"name":"尾巴","parent":"尾巴"},{"name":"左翅膀","parent":"左翅膀"},{"name":"身体","parent":"身体"},{"name":"帽子","parent":"帽子"},{"name":"胡子","parent":"胡子"},{"name":"右翅膀","parent":"右翅膀"},{"name":"上嘴","parent":"上嘴"},{"name":"下嘴","parent":"下嘴"}],"skin":[{"slot":[{"name":"袋子","display":[{"name":"播放/袋子","transform":{"x":17.53,"y":-38.86,"skX":88.26,"skY":88.26}}]},{"name":"右翅膀","display":[{"name":"播放/右翅膀","transform":{"x":11.81,"y":-0.74,"skX":32.67,"skY":32.67}}]},{"name":"胡子","display":[{"name":"胡子","transform":{"x":16.22,"y":4.56,"skX":86.21,"skY":86.21}}]},{"name":"音符1","display":[{"name":"播放/音符1","transform":{"x":4.35,"y":1.74,"skX":90,"skY":90}},{"name":"播放/音符2","transform":{"x":7.58,"y":17.24,"skX":108.45,"skY":108.45}}]},{"name":"帽子","display":[{"name":"播放/帽子","transform":{"x":14.41,"y":2.84,"skX":41.4,"skY":41.4}}]},{"name":"上嘴","display":[{"name":"播放/上嘴","transform":{"x":5.9,"y":-0.16,"skX":165.72,"skY":165.72}}]},{"name":"身体","display":[{"name":"播放/身体","transform":{"x":20.47,"y":4.92,"skX":89.81,"skY":89.81}}]},{"name":"左翅膀","display":[{"name":"播放/左翅膀","transform":{"x":8.98,"y":1.29,"skX":145.94,"skY":145.94}}]},{"name":"尾巴","display":[{"name":"播放/尾巴","transform":{"x":14.74,"y":-0.38,"skX":59.58,"skY":59.58}}]},{"name":"下嘴","display":[{"name":"播放/下嘴","transform":{"x":0.87,"y":1,"skX":-148.48,"skY":-148.48}}]},{"name":"喇叭","display":[{"name":"播放/喇叭","transform":{"x":11.52,"y":4.18,"skX":90.44,"skY":90.44}},{"name":"播放/喇叭2","transform":{"x":11.58,"y":-3.82,"skX":90.44,"skY":90.44}}]}]}],"animation":[{"duration":24,"playTimes":0,"name":"playing","bone":[{"name":"身体","scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.97},{"duration":4}]},{"name":"右翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1]},{"duration":12,"tweenEasing":0,"rotate":21.54},{"duration":0}],"scaleFrame":[{"duration":12,"curve":[0.5,0,1,1]},{"duration":12,"tweenEasing":0,"y":0.82},{"duration":0}]},{"name":"左翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1]},{"duration":12,"tweenEasing":0,"rotate":-26.01},{"duration":0}]},{"name":"尾巴","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":12.44},{"duration":0}]},{"name":"上嘴","rotateFrame":[{"duration":12,"tweenEasing":0,"rotate":9.98},{"duration":12,"tweenEasing":0,"rotate":-1.98},{"duration":0,"rotate":9.98}]},{"name":"下嘴","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":13.05},{"duration":0}]}],"slot":[{"name":"喇叭","displayFrame":[{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":4},{"duration":4,"value":1},{"duration":0}]},{"name":"音符1","displayFrame":[{"duration":5},{"duration":5,"value":1},{"duration":5},{"duration":5,"value":1},{"duration":4}]}]},{"duration":24,"playTimes":0,"name":"normal","bone":[{"name":"身体","scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.97},{"duration":4}]},{"name":"右翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1],"rotate":44.65},{"duration":12,"tweenEasing":0,"rotate":27.39},{"duration":0,"rotate":44.65}]},{"name":"左翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1],"rotate":-39.5},{"duration":12,"tweenEasing":0,"rotate":-26.01},{"duration":0,"rotate":-39.5}]},{"name":"尾巴","rotateFrame":[{"duration":12,"tweenEasing":0,"rotate":28.92},{"duration":12,"tweenEasing":0,"rotate":17.55},{"duration":0,"rotate":28.92}]},{"name":"帽子","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-4.38},{"duration":0}]},{"name":"上嘴","rotateFrame":[{"duration":12,"tweenEasing":0,"rotate":9.98},{"duration":12,"tweenEasing":0,"rotate":-1.98},{"duration":0,"rotate":9.98}]},{"name":"下嘴","rotateFrame":[{"duration":12,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":13.05},{"duration":0}]}],"slot":[{"name":"音符1","displayFrame":[{"duration":5},{"duration":5,"value":1},{"duration":5},{"duration":5,"value":1},{"duration":4}]}]},{"duration":36,"playTimes":0,"name":"wrong","bone":[{"name":"身体","scaleFrame":[{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.97},{"duration":16}]},{"name":"右翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1],"rotate":81.75},{"duration":12,"tweenEasing":0,"rotate":91.25},{"duration":12,"tweenEasing":0,"rotate":91.25},{"duration":0,"rotate":81.75}]},{"name":"左翅膀","rotateFrame":[{"duration":12,"curve":[0.5,0,1,1],"rotate":-77.16},{"duration":12,"tweenEasing":0,"rotate":-82.95},{"duration":12,"tweenEasing":0,"rotate":-82.95},{"duration":0,"rotate":-77.16}]},{"name":"尾巴","rotateFrame":[{"duration":18,"tweenEasing":0,"rotate":45.39},{"duration":18,"rotate":51.87}],"scaleFrame":[{"duration":18,"tweenEasing":0},{"duration":18,"x":0.94}]},{"name":"上嘴","rotateFrame":[{"duration":12,"tweenEasing":0,"rotate":-1.98},{"duration":18,"tweenEasing":0,"rotate":-6.87},{"duration":6,"rotate":-1.98}]},{"name":"下嘴","rotateFrame":[{"duration":12,"tweenEasing":0,"rotate":13.05},{"duration":18,"tweenEasing":0,"rotate":21.42},{"duration":6,"rotate":13.05}]}],"slot":[{"name":"音符1","displayFrame":[{"duration":36,"value":-1}]}]}],"defaultActions":[{"gotoAndPlay":"playing"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e2664613-08c9-45f2-b1c5-4e5cca185e27",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6b60baba-f5c3-42fc-979d-bf004b50efca",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 128,
"platformSettings": {},
"subMetas": {
"playbird_tex": {
"ver": "1.0.4",
"uuid": "5ea76d4c-b31e-494a-907d-fbe33dbd6fa9",
"rawTextureUuid": "6b60baba-f5c3-42fc-979d-bf004b50efca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 1,
"trimX": 1,
"trimY": 1,
"width": 252,
"height": 124,
"rawWidth": 256,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{"name":"playbird","height":128,"SubTexture":[{"name":"播放/音符1","x":241,"height":18,"y":1,"width":12},{"name":"播放/音符2","x":49,"height":15,"y":110,"width":11},{"name":"播放/袋子","x":1,"height":65,"y":1,"width":174},{"name":"播放/喇叭","x":49,"height":40,"y":68,"width":43},{"name":"播放/喇叭2","x":94,"height":40,"y":68,"width":27},{"name":"播放/尾巴","x":148,"height":28,"y":91,"width":17},{"name":"播放/左翅膀","x":123,"height":22,"y":91,"width":23},{"name":"播放/身体","x":177,"height":76,"y":1,"width":62},{"name":"播放/帽子","x":123,"height":21,"y":68,"width":46},{"name":"胡子","x":1,"height":44,"y":68,"width":46},{"name":"播放/右翅膀","x":171,"height":25,"y":79,"width":27},{"name":"播放/上嘴","x":18,"height":7,"y":114,"width":15},{"name":"播放/下嘴","x":1,"height":10,"y":115,"width":15}],"imagePath":"playbird_tex.png","width":256}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "cbcf8ca6-f67d-4aab-981a-c1a381e8aa48",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "61b84d9e-99fc-40d2-af17-d614f464e3cc",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"bird1","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","bone":[{"name":"root"}],"animation":[{"duration":0,"playTimes":0,"name":"newAnimation"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]},{"type":"Armature","frameRate":24,"name":"Armature鸟1","aabb":{"x":-36.39,"y":-99.28,"width":82.26,"height":96.31},"bone":[{"name":"root","transform":{"x":2.5987,"y":-4.0714}},{"length":22,"name":"身体","parent":"root","transform":{"x":1.5513,"y":-13.7786,"skX":-88.8742,"skY":-88.8742}},{"name":"腿","parent":"身体","transform":{"x":-10.6911,"y":-0.7151,"skX":-179.78,"skY":-179.78}},{"length":17,"name":"左翅膀","parent":"身体","transform":{"x":21.1084,"y":-12.7595,"skX":-73.5181,"skY":-73.5181}},{"length":14,"name":"右翅膀","parent":"身体","transform":{"x":22.4843,"y":15.5278,"skX":68.341,"skY":68.341}},{"length":23,"name":"头","parent":"身体","transform":{"x":31.1653,"y":-7.1637,"skX":-0.4051,"skY":-0.4051}},{"name":"嘴","parent":"头","transform":{"x":5.3238,"y":5.8335}},{"name":"眼","parent":"头","transform":{"x":17.6143,"y":8.9792,"skX":179.2793,"skY":179.2793}}],"slot":[{"name":"腿","parent":"腿"},{"name":"右翅膀","parent":"右翅膀"},{"name":"左翅膀","parent":"左翅膀"},{"name":"身体","parent":"身体"},{"name":"头","parent":"头"},{"name":"眼","parent":"眼"},{"name":"嘴","parent":"嘴"}],"skin":[{"slot":[{"name":"嘴","display":[{"name":"鸟1/嘴","transform":{"x":0.09,"y":-0.5,"skX":89.28,"skY":89.28}}]},{"name":"眼","display":[{"name":"鸟1/眼","transform":{"x":0.65,"y":5.3,"skX":-90,"skY":-90}},{"name":"鸟1/眼皮1","transform":{"x":0.65,"y":5.3,"skX":-90,"skY":-90}},{"name":"鸟1/眼皮2","transform":{"x":0.65,"y":5.3,"skX":-90,"skY":-90}},{"name":"鸟1/眼皮3","transform":{"x":0.65,"y":5.3,"skX":-90,"skY":-90}}]},{"name":"头","display":[{"type":"mesh","name":"鸟1/头","width":42,"height":52,"vertices":[43.64,-17.15,44.17,24.85,-8.36,-16.5,-7.83,25.5],"uvs":[0,0,1,0,0,1,1,1],"triangles":[1,0,3,0,2,3],"edges":[1,3,3,2,2,0,0,1],"userEdges":[]}]},{"name":"身体","display":[{"name":"鸟1/身体","transform":{"x":17.13,"y":-0.99,"skX":88.87,"skY":88.87}}]},{"name":"左翅膀","display":[{"name":"鸟1/左翅膀","transform":{"x":13.84,"y":1.64,"skX":162.39,"skY":162.39}}]},{"name":"右翅膀","display":[{"name":"鸟1/右翅膀","transform":{"x":10.45,"y":-0.09,"skX":20.53,"skY":20.53}}]},{"name":"腿","display":[{"name":"鸟1/腿","transform":{"x":-3.78,"y":0.84,"skX":-91.35,"skY":-91.35}}]}]}],"animation":[{"duration":32,"playTimes":0,"name":"normal","bone":[{"name":"身体","scaleFrame":[{"duration":14,"tweenEasing":0},{"duration":14,"tweenEasing":0,"x":0.96},{"duration":4}]},{"name":"左翅膀","rotateFrame":[{"duration":16,"curve":[0.6506550218340611,0.00967741935483871,1,1],"rotate":26.52},{"duration":16,"curve":[0,0,0.5,1],"rotate":-83.29},{"duration":0,"rotate":26.52}]},{"name":"右翅膀","rotateFrame":[{"duration":16,"curve":[0.5676855895196506,0.0012135922330097082,1,1],"rotate":-40.26},{"duration":16,"curve":[0,0,0.4344978165938864,0.9963592233009708],"rotate":79.17},{"duration":0,"rotate":-40.26}]}],"slot":[{"name":"眼","displayFrame":[{"duration":16},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":6}]}]},{"duration":40,"playTimes":0,"name":"wrong","bone":[{"name":"身体","scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":22,"tweenEasing":0,"x":0.95},{"duration":10,"tweenEasing":0,"x":0.95},{"duration":0}]},{"name":"左翅膀","rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":-32.68},{"duration":10,"tweenEasing":0,"rotate":-70.04},{"duration":8,"tweenEasing":0,"rotate":-64.79},{"duration":12,"tweenEasing":0,"rotate":-70.04},{"duration":0,"rotate":-32.68}]},{"name":"右翅膀","rotateFrame":[{"duration":10,"tweenEasing":0,"rotate":23.83},{"duration":10,"tweenEasing":0,"rotate":72.84},{"duration":8,"tweenEasing":0,"rotate":63.42},{"duration":12,"tweenEasing":0,"rotate":72.84},{"duration":0,"rotate":23.83}]},{"name":"嘴","scaleFrame":[{"duration":8},{"duration":6,"tweenEasing":0},{"duration":8,"tweenEasing":0,"x":0.6},{"duration":18}]}],"slot":[{"name":"眼","displayFrame":[{"duration":14},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":16}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "813ac122-0250-4251-987c-e4a47b614dc6",
"subMetas": {}
}
\ No newline at end of file
{"name":"bird1","SubTexture":[{"name":"鸟1/腿","x":45,"height":16,"y":45,"width":27},{"name":"鸟1/右翅膀","x":84,"height":24,"y":1,"width":32},{"name":"鸟1/左翅膀","x":84,"height":24,"y":27,"width":31},{"name":"鸟1/身体","x":45,"height":42,"y":1,"width":37},{"name":"鸟1/头","x":1,"height":52,"y":1,"width":42},{"name":"鸟1/眼","x":93,"height":6,"y":53,"width":17},{"name":"鸟1/眼皮1","x":20,"height":6,"y":55,"width":17},{"name":"鸟1/眼皮3","x":1,"height":6,"y":55,"width":17},{"name":"鸟1/眼皮2","x":74,"height":6,"y":53,"width":17},{"name":"鸟1/嘴","x":117,"height":15,"y":27,"width":4}],"imagePath":"bird1_tex.png","height":64,"width":128}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "5b56b333-6084-4425-b0aa-3e314600830d",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "35edc37f-8e3c-4dd2-966c-9050937b562f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 128,
"height": 64,
"platformSettings": {},
"subMetas": {
"bird1_tex": {
"ver": "1.0.4",
"uuid": "3c77f3e8-a0f3-479f-93bc-71d0c3bd3580",
"rawTextureUuid": "35edc37f-8e3c-4dd2-966c-9050937b562f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -3,
"offsetY": 1,
"trimX": 1,
"trimY": 1,
"width": 120,
"height": 60,
"rawWidth": 128,
"rawHeight": 64,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "b46f3397-5dba-4fc1-8339-fb7a5df09356",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"bird2","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","bone":[{"name":"root"}],"animation":[{"duration":0,"playTimes":0,"name":"newAnimation"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]},{"type":"Armature","frameRate":24,"name":"Armature鸟2","aabb":{"x":-41.45,"y":-49.04,"width":90,"height":95},"bone":[{"name":"root","transform":{"x":5.8028,"y":43.2507}},{"name":"bone_ikTarget","parent":"root","transform":{"x":-10.0242,"y":-2.533}},{"name":"bone_ikTarget1","parent":"root","transform":{"x":7.4934,"y":-2.752}},{"length":24,"name":"身体","parent":"root","transform":{"x":-1.1028,"y":-12.2007,"skX":-87.0673,"skY":-87.0673}},{"length":18,"name":"左翅膀","parent":"身体","transform":{"x":23.5136,"y":-17.9265,"skX":-77.9428,"skY":-77.9428}},{"length":18,"name":"右翅膀","parent":"身体","transform":{"x":24.1124,"y":14.2851,"skX":60.4339,"skY":60.4339}},{"length":9,"name":"左腿","parent":"身体","transform":{"x":-0.2541,"y":6.9304,"skX":166.2583,"skY":166.2583}},{"length":10,"name":"右腿","parent":"身体","transform":{"x":-0.1737,"y":-7.3007,"skX":-173.6013,"skY":-173.6013}},{"length":12,"name":"头","parent":"身体","transform":{"x":35.3929,"y":7.6364,"skX":-1.2894,"skY":-1.2894}},{"name":"嘴","parent":"头","transform":{"x":4.0889,"y":-8.9581,"skX":178.3567,"skY":178.3567}},{"length":10,"name":"帽子","parent":"头","transform":{"x":26.6526,"y":-8.8051,"skX":21.7419,"skY":21.7419}},{"name":"眼睛_拷贝","parent":"头","transform":{"x":17.0016,"y":-13.9305,"skX":178.3567,"skY":178.3567}}],"slot":[{"name":"右腿","parent":"右腿"},{"name":"左腿","parent":"左腿"},{"name":"左翅膀","parent":"左翅膀"},{"name":"右翅膀","parent":"右翅膀"},{"name":"身体","parent":"身体"},{"name":"头","parent":"头"},{"name":"帽子","parent":"帽子"},{"name":"眼睛_拷贝","parent":"眼睛_拷贝"},{"name":"嘴","parent":"嘴"}],"ik":[{"name":"bone_ik1","bone":"左腿","target":"bone_ikTarget1"},{"name":"bone_ik","bone":"右腿","target":"bone_ikTarget"}],"skin":[{"slot":[{"name":"身体","display":[{"name":"鸟2/身体","transform":{"x":18.63,"y":0.4,"skX":87.07,"skY":87.07}}]},{"name":"右翅膀","display":[{"name":"鸟2/右翅膀","transform":{"x":13.17,"y":-0.93,"skX":26.63,"skY":26.63}}]},{"name":"左翅膀","display":[{"name":"鸟2/左翅膀","transform":{"x":13.11,"y":0.83,"skX":165.01,"skY":165.01}}]},{"name":"左腿","display":[{"name":"鸟2/左腿","transform":{"x":6.45,"y":-0.65,"skX":-79.13,"skY":-79.13}}]},{"name":"嘴","display":[{"name":"鸟2/嘴","transform":{"x":0.71,"y":-0.25,"skX":-90,"skY":-90}}]},{"name":"右腿","display":[{"name":"鸟2/右腿","transform":{"x":7.32,"y":0.67,"skX":-99.33,"skY":-99.33}}]},{"name":"眼睛_拷贝","display":[{"name":"鸟2/眼睛_拷贝","transform":{"x":0.26,"y":-5.85,"skX":-90,"skY":-90},"path":"眼睛"},{"name":"鸟2/眼睛_拷贝_2","transform":{"x":0.42,"y":-5.85,"skX":-90,"skY":-90},"path":"眼皮2"},{"name":"鸟2/眼皮","transform":{"x":0.26,"y":-5.79,"skX":-89.82,"skY":-89.82},"path":"眼皮"},{"name":"眼皮1","transform":{"x":0.21,"y":-5.84,"skX":-90,"skY":-90}}]},{"name":"帽子","display":[{"name":"鸟2/帽子","transform":{"x":4.73,"y":-1.01,"skX":66.61,"skY":66.61}}]},{"name":"头","display":[{"name":"鸟2/头","transform":{"x":18.39,"y":-8.62,"skX":88.36,"skY":88.36}}]}]}],"animation":[{"duration":60,"playTimes":0,"name":"normal","bone":[{"name":"身体","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"curve":[0.5,0,1,1],"x":-2.44,"y":1.53},{"duration":10,"tweenEasing":0,"x":-7.14,"y":-1.77},{"duration":8,"tweenEasing":0},{"duration":12,"curve":[0.5,0,1,1],"x":2.38,"y":1.53},{"duration":10,"tweenEasing":0,"x":6.96,"y":-1.77},{"duration":0}],"scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":0.96},{"duration":10,"tweenEasing":0},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"x":0.96},{"duration":10}]},{"name":"左翅膀","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-44.01},{"duration":18,"tweenEasing":0,"rotate":12.02},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":-44.01},{"duration":2,"rotate":12.02}]},{"name":"右翅膀","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":47.26},{"duration":18,"tweenEasing":0,"rotate":-3.08},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":47.26},{"duration":2,"rotate":-3.08}]},{"name":"帽子","rotateFrame":[{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":3.12},{"duration":14,"tweenEasing":0,"rotate":0.58},{"duration":8,"tweenEasing":0},{"duration":12,"tweenEasing":0,"rotate":3.12},{"duration":6,"rotate":0.58}]},{"name":"嘴","scaleFrame":[{"duration":8,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.87},{"duration":10,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.87},{"duration":22}]}],"slot":[{"name":"眼睛_拷贝","displayFrame":[{"duration":22},{"duration":2,"value":3},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2,"value":3},{"duration":28}]}]},{"duration":34,"playTimes":0,"name":"wrong","bone":[{"name":"身体","rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":-4.47},{"duration":6,"tweenEasing":0,"rotate":-4.47},{"duration":4}],"scaleFrame":[{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"x":0.96},{"duration":6,"tweenEasing":0,"x":0.96},{"duration":4}]},{"name":"左翅膀","rotateFrame":[{"duration":14,"tweenEasing":0,"rotate":-28.22},{"duration":10,"tweenEasing":0,"rotate":-62.36},{"duration":10,"tweenEasing":0,"rotate":-62.36},{"duration":0,"rotate":-28.22}]},{"name":"右翅膀","rotateFrame":[{"duration":14,"tweenEasing":0,"rotate":31.39},{"duration":10,"tweenEasing":0,"rotate":47.9},{"duration":10,"tweenEasing":0,"rotate":47.9},{"duration":0,"rotate":31.39}]},{"name":"帽子","translateFrame":[{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"x":0.47,"y":0.58},{"duration":10,"tweenEasing":0,"x":0.47,"y":0.58},{"duration":0}],"rotateFrame":[{"duration":6,"tweenEasing":0},{"duration":18,"tweenEasing":0,"rotate":-0.36},{"duration":10,"tweenEasing":0,"rotate":-0.36},{"duration":0}]},{"name":"嘴","scaleFrame":[{"duration":14,"tweenEasing":0},{"duration":10,"tweenEasing":0,"x":0.74},{"duration":10,"tweenEasing":0,"x":0.74},{"duration":0}]},{"name":"bone_ikTarget1","translateFrame":[{"duration":8,"tweenEasing":0},{"duration":16,"tweenEasing":0,"x":4.77,"y":-1.16},{"duration":10,"tweenEasing":0,"x":4.77,"y":-1.16},{"duration":0}]}],"slot":[{"name":"眼睛_拷贝","displayFrame":[{"duration":14},{"duration":2,"value":3},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":1},{"duration":2,"value":3},{"duration":10}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "df43ea65-4963-4fbb-b8ff-faa6e372cf02",
"subMetas": {}
}
\ No newline at end of file
{"name":"bird2","SubTexture":[{"name":"鸟2/右腿","x":46,"height":16,"y":56,"width":10},{"name":"鸟2/左腿","x":46,"height":16,"y":74,"width":10},{"name":"鸟2/左翅膀","x":1,"height":25,"y":101,"width":34},{"name":"鸟2/右翅膀","x":37,"height":24,"y":101,"width":34},{"name":"鸟2/身体","x":1,"height":43,"y":56,"width":43},{"name":"鸟2/头","x":1,"height":53,"y":1,"width":45},{"name":"鸟2/帽子","x":73,"height":17,"y":101,"width":45},{"name":"眼睛","x":48,"height":8,"y":11,"width":18},{"name":"眼皮2","x":48,"height":8,"y":21,"width":18},{"name":"眼皮","x":48,"height":8,"y":1,"width":18},{"name":"眼皮1","x":48,"height":8,"y":31,"width":18},{"name":"鸟2/嘴","x":120,"height":15,"y":1,"width":4}],"imagePath":"bird2_tex.png","height":128,"width":128}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e3393958-5e89-48b5-b79c-c8d75f801529",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "706f2344-7768-4d42-86dd-b89d80c98dea",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 128,
"height": 128,
"platformSettings": {},
"subMetas": {
"bird2_tex": {
"ver": "1.0.4",
"uuid": "32049b26-618c-48d7-8534-106e378c1bfe",
"rawTextureUuid": "706f2344-7768-4d42-86dd-b89d80c98dea",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1.5,
"offsetY": 0.5,
"trimX": 1,
"trimY": 1,
"width": 123,
"height": 125,
"rawWidth": 128,
"rawHeight": 128,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"__id__": 2 "__id__": 2
}, },
{ {
"__id__": 230 "__id__": 236
} }
], ],
"_active": false, "_active": false,
...@@ -120,22 +120,22 @@ ...@@ -120,22 +120,22 @@
"__id__": 189 "__id__": 189
}, },
{ {
"__id__": 193 "__id__": 196
}, },
{ {
"__id__": 197 "__id__": 203
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 227 "__id__": 233
}, },
{ {
"__id__": 228 "__id__": 234
}, },
{ {
"__id__": 229 "__id__": 235
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -1004,8 +1004,14 @@ ...@@ -1004,8 +1004,14 @@
{ {
"__id__": 20 "__id__": 20
}, },
{
"__id__": 21
},
{ {
"__id__": 22 "__id__": 22
},
{
"__id__": 23
} }
], ],
"_active": true, "_active": true,
...@@ -1060,18 +1066,14 @@ ...@@ -1060,18 +1066,14 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "pause", "_name": "normal",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 19 "__id__": 19
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [],
{
"__id__": 21
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1096,7 +1098,7 @@ ...@@ -1096,7 +1098,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
0, -82,
0, 0,
0, 0,
0, 0,
...@@ -1118,54 +1120,76 @@ ...@@ -1118,54 +1120,76 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "7cUfIpEnxEDJ8oF5TqxSJA" "_id": "0apXf/mTlKYZlg2VASmcAM"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "wrong",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 20 "__id__": 19
}, },
"_enabled": true, "_children": [],
"_materials": [ "_active": true,
{ "_components": [],
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "_prefab": null,
} "_opacity": 255,
], "_color": {
"_srcBlendFactor": 770, "__type__": "cc.Color",
"_dstBlendFactor": 771, "r": 255,
"_spriteFrame": { "g": 255,
"__uuid__": "9616fbc0-1fbe-4db7-ac7b-cfcc07d2031c" "b": 255,
"a": 255
}, },
"_type": 0, "_contentSize": {
"_sizeMode": 1, "__type__": "cc.Size",
"_fillType": 0, "width": 174,
"_fillCenter": { "height": 164
},
"_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
-82,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0 "y": 0,
"z": 0
}, },
"_fillStart": 0, "_skewX": 0,
"_fillRange": 0, "_skewY": 0,
"_isTrimmedMode": true, "_is3DNode": false,
"_atlas": null, "_groupIndex": 0,
"_id": "a6190C50pKhpamn6ICL8si" "groupIndex": 0,
"_id": "acreTLNFtFja8mLOj4tFLd"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "play", "_name": "playing",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 19 "__id__": 19
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [],
{
"__id__": 23
}
],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -1190,7 +1214,7 @@ ...@@ -1190,7 +1214,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
0, -82,
0, 0,
0, 0,
0, 0,
...@@ -1212,39 +1236,65 @@ ...@@ -1212,39 +1236,65 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "bd7JzeLR9DaZLv4gAQ4LMP" "_id": "759Y3MbvpCbZYbR7xp/jkZ"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "clickTarget",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 22 "__id__": 19
}, },
"_enabled": true, "_children": [],
"_materials": [ "_active": true,
{ "_components": [],
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "_prefab": null,
} "_opacity": 255,
], "_color": {
"_srcBlendFactor": 770, "__type__": "cc.Color",
"_dstBlendFactor": 771, "r": 255,
"_spriteFrame": { "g": 255,
"__uuid__": "5d32cf66-0356-477d-baa2-ab960bc8cae9" "b": 255,
"a": 255
}, },
"_type": 0, "_contentSize": {
"_sizeMode": 1, "__type__": "cc.Size",
"_fillType": 0, "width": 174,
"_fillCenter": { "height": 164
},
"_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0, "x": 0,
"y": 0 "y": 0,
"z": 0
}, },
"_fillStart": 0, "_skewX": 0,
"_fillRange": 0, "_skewY": 0,
"_isTrimmedMode": true, "_is3DNode": false,
"_atlas": null, "_groupIndex": 0,
"_id": "a5lXnyr1lNV7fIfP3AC7vF" "groupIndex": 0,
"_id": "3cRyYBPjBKipNzPcninbvT"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -9434,14 +9484,16 @@ ...@@ -9434,14 +9484,16 @@
"_children": [ "_children": [
{ {
"__id__": 190 "__id__": 190
} },
],
"_active": true,
"_components": [
{ {
"__id__": 192 "__id__": 192
},
{
"__id__": 194
} }
], ],
"_active": true,
"_components": [],
"_prefab": null, "_prefab": null,
"_opacity": 255, "_opacity": 255,
"_color": { "_color": {
...@@ -9492,7 +9544,7 @@ ...@@ -9492,7 +9544,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dragonBones", "_name": "static",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 189 "__id__": 189
...@@ -9550,27 +9602,14 @@ ...@@ -9550,27 +9602,14 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "68qGDo7+1A3ppJ1dEwV7An" "_id": "5f6GSSbANBraaGlFpzUn04"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 190
},
"_enabled": true,
"_defaultClip": null,
"_clips": [],
"playOnLoad": false,
"_id": "2d6CCcVSxOXolPG8TaCNDk"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 189 "__id__": 190
}, },
"_enabled": true, "_enabled": true,
"_materials": [ "_materials": [
...@@ -9595,24 +9634,20 @@ ...@@ -9595,24 +9634,20 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "d3OkfWmRxEKp1KZIf6pX7o" "_id": "7f3VPdlBBEL7w9h6zqCoF4"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "bird_2", "_name": "fly",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 2 "__id__": 189
}, },
"_children": [ "_children": [],
{
"__id__": 194
}
],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 196 "__id__": 193
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9626,8 +9661,8 @@ ...@@ -9626,8 +9661,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 77, "width": 73,
"height": 81 "height": 76
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -9638,8 +9673,8 @@ ...@@ -9638,8 +9673,8 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
105, 0,
-280, -38,
0, 0,
0, 0,
0, 0,
...@@ -9661,14 +9696,27 @@ ...@@ -9661,14 +9696,27 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "a70mePzaBMfKscYV/TcuTd" "_id": "68qGDo7+1A3ppJ1dEwV7An"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 192
},
"_enabled": true,
"_defaultClip": null,
"_clips": [],
"playOnLoad": false,
"_id": "2d6CCcVSxOXolPG8TaCNDk"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "dragonBones", "_name": "wrong",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 193 "__id__": 189
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
...@@ -9688,8 +9736,8 @@ ...@@ -9688,8 +9736,8 @@
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 0, "width": 73,
"height": 0 "height": 76
}, },
"_anchorPoint": { "_anchorPoint": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
...@@ -9700,15 +9748,15 @@ ...@@ -9700,15 +9748,15 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-2,
-40,
0, 0,
0, 0,
0, 0,
0, 0,
0,
0,
1,
1,
1, 1,
1.08,
1.08,
1 1
] ]
}, },
...@@ -9723,7 +9771,7 @@ ...@@ -9723,7 +9771,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "0a0xyWyX5CnbOjfgPgrye7" "_id": "8esnyOrNdOG4Sm4ppxeTql"
}, },
{ {
"__type__": "cc.Animation", "__type__": "cc.Animation",
...@@ -9736,22 +9784,152 @@ ...@@ -9736,22 +9784,152 @@
"_defaultClip": null, "_defaultClip": null,
"_clips": [], "_clips": [],
"playOnLoad": false, "playOnLoad": false,
"_id": "eeNwWegi1JRp8S8VtchW5v" "_id": "8177u2tVhJt6ZeX9weU6J2"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Node",
"_name": "", "_name": "bird_2",
"_objFlags": 0, "_objFlags": 0,
"node": { "_parent": {
"__id__": 193 "__id__": 2
}, },
"_enabled": true, "_children": [
"_materials": [
{ {
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" "__id__": 197
},
{
"__id__": 199
},
{
"__id__": 201
} }
], ],
"_srcBlendFactor": 770, "_active": true,
"_components": [],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 77,
"height": 81
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
105,
-280,
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": "a70mePzaBMfKscYV/TcuTd"
},
{
"__type__": "cc.Node",
"_name": "static",
"_objFlags": 0,
"_parent": {
"__id__": 196
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 198
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 77,
"height": 81
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
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": "beqxqeNqJD8olNuURp/BnX"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771, "_dstBlendFactor": 771,
"_spriteFrame": { "_spriteFrame": {
"__uuid__": "f3bf912c-e1a9-4404-8928-8526d7b8b761" "__uuid__": "f3bf912c-e1a9-4404-8928-8526d7b8b761"
...@@ -9768,7 +9946,157 @@ ...@@ -9768,7 +9946,157 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "28+uEPDpFIsp3dj62UcUxg" "_id": "81LMwnPQBP05xubJuVBVvG"
},
{
"__type__": "cc.Node",
"_name": "fly",
"_objFlags": 0,
"_parent": {
"__id__": 196
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 200
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 73,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
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": "0a0xyWyX5CnbOjfgPgrye7"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
},
"_enabled": true,
"_defaultClip": null,
"_clips": [],
"playOnLoad": false,
"_id": "eeNwWegi1JRp8S8VtchW5v"
},
{
"__type__": "cc.Node",
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 196
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 202
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 73,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-2,
0,
0,
0,
0,
0,
1,
1.08,
1.1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "82/ICqoBlCgKZ23kR28J7P"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
},
"_enabled": true,
"_defaultClip": null,
"_clips": [],
"playOnLoad": false,
"_id": "b2Ec0RL2VBwJo5nS3b0GDu"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
...@@ -9779,13 +10107,13 @@ ...@@ -9779,13 +10107,13 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 198 "__id__": 204
}, },
{ {
"__id__": 201 "__id__": 207
}, },
{ {
"__id__": 214 "__id__": 220
} }
], ],
"_active": false, "_active": false,
...@@ -9843,11 +10171,11 @@ ...@@ -9843,11 +10171,11 @@
"_name": "font", "_name": "font",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 197 "__id__": 203
}, },
"_children": [ "_children": [
{ {
"__id__": 199 "__id__": 205
} }
], ],
"_active": true, "_active": true,
...@@ -9905,13 +10233,13 @@ ...@@ -9905,13 +10233,13 @@
"_name": "Comic Sans MS", "_name": "Comic Sans MS",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 198 "__id__": 204
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 200 "__id__": 206
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -9967,7 +10295,7 @@ ...@@ -9967,7 +10295,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 199 "__id__": 205
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -9999,26 +10327,26 @@ ...@@ -9999,26 +10327,26 @@
"_name": "img", "_name": "img",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 197 "__id__": 203
}, },
"_children": [ "_children": [
{ {
"__id__": 202 "__id__": 208
}, },
{ {
"__id__": 204 "__id__": 210
}, },
{ {
"__id__": 206 "__id__": 212
}, },
{ {
"__id__": 208 "__id__": 214
}, },
{ {
"__id__": 210 "__id__": 216
}, },
{ {
"__id__": 212 "__id__": 218
} }
], ],
"_active": true, "_active": true,
...@@ -10076,13 +10404,13 @@ ...@@ -10076,13 +10404,13 @@
"_name": "card_demo", "_name": "card_demo",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 203 "__id__": 209
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10138,7 +10466,7 @@ ...@@ -10138,7 +10466,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 202 "__id__": 208
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10166,13 +10494,13 @@ ...@@ -10166,13 +10494,13 @@
"_name": "black", "_name": "black",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 205 "__id__": 211
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10228,7 +10556,7 @@ ...@@ -10228,7 +10556,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 204 "__id__": 210
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10256,13 +10584,13 @@ ...@@ -10256,13 +10584,13 @@
"_name": "snow_1", "_name": "snow_1",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 207 "__id__": 213
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10318,7 +10646,7 @@ ...@@ -10318,7 +10646,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 206 "__id__": 212
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10346,13 +10674,13 @@ ...@@ -10346,13 +10674,13 @@
"_name": "snow_2", "_name": "snow_2",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 209 "__id__": 215
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10408,7 +10736,7 @@ ...@@ -10408,7 +10736,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 208 "__id__": 214
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10436,13 +10764,13 @@ ...@@ -10436,13 +10764,13 @@
"_name": "snow_3", "_name": "snow_3",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 211 "__id__": 217
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10498,7 +10826,7 @@ ...@@ -10498,7 +10826,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 210 "__id__": 216
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10526,13 +10854,13 @@ ...@@ -10526,13 +10854,13 @@
"_name": "snow_4", "_name": "snow_4",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 201 "__id__": 207
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 213 "__id__": 219
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10588,7 +10916,7 @@ ...@@ -10588,7 +10916,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 212 "__id__": 218
}, },
"_enabled": true, "_enabled": true,
"_materials": [], "_materials": [],
...@@ -10616,26 +10944,26 @@ ...@@ -10616,26 +10944,26 @@
"_name": "audio", "_name": "audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 197 "__id__": 203
}, },
"_children": [ "_children": [
{ {
"__id__": 215 "__id__": 221
}, },
{ {
"__id__": 217 "__id__": 223
}, },
{ {
"__id__": 219 "__id__": 225
}, },
{ {
"__id__": 221 "__id__": 227
}, },
{ {
"__id__": 223 "__id__": 229
}, },
{ {
"__id__": 225 "__id__": 231
} }
], ],
"_active": true, "_active": true,
...@@ -10693,13 +11021,13 @@ ...@@ -10693,13 +11021,13 @@
"_name": "test_audio", "_name": "test_audio",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 216 "__id__": 222
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10755,7 +11083,7 @@ ...@@ -10755,7 +11083,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 215 "__id__": 221
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -10773,13 +11101,13 @@ ...@@ -10773,13 +11101,13 @@
"_name": "star_boom", "_name": "star_boom",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 218 "__id__": 224
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10835,7 +11163,7 @@ ...@@ -10835,7 +11163,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 217 "__id__": 223
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -10853,13 +11181,13 @@ ...@@ -10853,13 +11181,13 @@
"_name": "good_job", "_name": "good_job",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 220 "__id__": 226
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10915,7 +11243,7 @@ ...@@ -10915,7 +11243,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 219 "__id__": 225
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -10933,13 +11261,13 @@ ...@@ -10933,13 +11261,13 @@
"_name": "bird_fly", "_name": "bird_fly",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 222 "__id__": 228
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -10995,7 +11323,7 @@ ...@@ -10995,7 +11323,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 221 "__id__": 227
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -11013,13 +11341,13 @@ ...@@ -11013,13 +11341,13 @@
"_name": "try_again", "_name": "try_again",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 224 "__id__": 230
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11075,7 +11403,7 @@ ...@@ -11075,7 +11403,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 223 "__id__": 229
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
...@@ -11093,13 +11421,13 @@ ...@@ -11093,13 +11421,13 @@
"_name": "enter", "_name": "enter",
"_objFlags": 0, "_objFlags": 0,
"_parent": { "_parent": {
"__id__": 214 "__id__": 220
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 226 "__id__": 232
} }
], ],
"_prefab": null, "_prefab": null,
...@@ -11155,7 +11483,7 @@ ...@@ -11155,7 +11483,7 @@
"_name": "", "_name": "",
"_objFlags": 0, "_objFlags": 0,
"node": { "node": {
"__id__": 225 "__id__": 231
}, },
"_enabled": true, "_enabled": true,
"_clip": { "_clip": {
......
...@@ -199,7 +199,6 @@ export default class Cartoon { ...@@ -199,7 +199,6 @@ export default class Cartoon {
// Common Ani // Common Ani
creatSpeaker(parentNode, nodeName1, nodeName2) { creatSpeaker(parentNode, nodeName1, nodeName2) {
console.log(`Canvas/res/img/${nodeName1}`, `Canvas/res/img/${nodeName2}`)
const sprNode = this.cloneNode(this.getNodeByPath(`Canvas/res/img/${nodeName1}`)); const sprNode = this.cloneNode(this.getNodeByPath(`Canvas/res/img/${nodeName1}`));
sprNode.parent = parentNode; sprNode.parent = parentNode;
sprNode.x = 0; sprNode.x = 0;
...@@ -269,7 +268,7 @@ class DragonBones { ...@@ -269,7 +268,7 @@ class DragonBones {
} }
} }
setDragonBones(dragonBonesConfig, callback, onClickCB) { setDragonBones(dragonBonesConfig, armatureName, callback, onClickCB) {
const parentNode = this.parentNode const parentNode = this.parentNode
if (parentNode.animaNode) { if (parentNode.animaNode) {
parentNode.animaNode.removeFromParent(); parentNode.animaNode.removeFromParent();
...@@ -291,13 +290,16 @@ class DragonBones { ...@@ -291,13 +290,16 @@ class DragonBones {
const ske = dragonBonesConfig.skeJsonData.url const ske = dragonBonesConfig.skeJsonData.url
const atlas = dragonBonesConfig.texJsonData.url const atlas = dragonBonesConfig.texJsonData.url
console.log(image)
console.log(ske)
console.log(atlas)
cc.loader.load(image, (error, texture) => { cc.loader.load(image, (error, texture) => {
cc.loader.load({url: atlas, type: 'txt'}, (error, atlasJson) => { cc.loader.load({url: atlas, type: 'txt'}, (error, atlasJson) => {
cc.loader.load({url: ske, type: 'txt'}, (error, dragonBonesJson) => { cc.loader.load({url: ske, type: 'txt'}, (error, dragonBonesJson) => {
// cc.loader.loadRes(image, (error, texture) => {
// console.log(error)
// cc.loader.loadRes(atlas, (error, atlasJson) => {
// console.log(error)
// cc.loader.loadRes(ske, (error, dragonBonesJson) => {
// console.log(error)
// console.log(atlasJson)
const atlas = new dragonBones.DragonBonesAtlasAsset(); const atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = (atlasJson); atlas.atlasJson = (atlasJson);
atlas.texture = texture; atlas.texture = texture;
...@@ -311,15 +313,20 @@ class DragonBones { ...@@ -311,15 +313,20 @@ class DragonBones {
let json = JSON.parse(asset.dragonBonesJson); let json = JSON.parse(asset.dragonBonesJson);
let armatures = json["armature"]; let armatures = json["armature"];
let armatureNames = []; let armatureNames = [];
for (let i = 0; i < armatures.length; i++) { for (let i = 0; i < armatures.length; i++) {
armatureNames.push(armatures[i].name); armatureNames.push(armatures[i].name);
} }
let armatureNameIndex = armatureNames.indexOf(armatureName)
if(armatureNameIndex == -1) {
armatureNameIndex = 0;
}
if (armatureNames.length > 0) { if (armatureNames.length > 0) {
let defaultArmatureName = armatureNames[0]; let defaultArmatureName = armatureNames[armatureNameIndex];
dragonDisplay.armatureName = defaultArmatureName; dragonDisplay.armatureName = defaultArmatureName;
let defaultArmature = armatures[0]; let defaultArmature = armatures[armatureNameIndex];
let animations = defaultArmature.animation; let animations = defaultArmature.animation;
let animationNames = []; let animationNames = [];
for (let i = 0; i < animations.length; i++) { for (let i = 0; i < animations.length; i++) {
...@@ -348,10 +355,14 @@ class DragonBones { ...@@ -348,10 +355,14 @@ class DragonBones {
}); });
} }
showDragonBones(times = 1) { showDragonBones(times = 1, animaName = null) {
console.log(this._animationLoaded) let animaNameIndex = this._animationLoaded.animaNames.indexOf(animaName)
if (this._animationLoaded && this._animationLoaded.animaNames.length > 0) { if (this._animationLoaded && this._animationLoaded.animaNames.length > 0) {
this._animationLoaded.playAnimation(this._animationLoaded.animaNames[0], -1); if(!animaName || animaNameIndex==-1) {
this._animationLoaded.playAnimation(this._animationLoaded.animaNames[0], -1);
} else {
this._animationLoaded.playAnimation(animaName, -1);
}
} }
} }
} }
\ No newline at end of file
...@@ -95,10 +95,18 @@ export default class GameLogic { ...@@ -95,10 +95,18 @@ export default class GameLogic {
this.g_cartoon.initCartoonElement(`bird_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1`)); this.g_cartoon.initCartoonElement(`bird_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1`));
this.g_cartoon.initCartoonElement(`bird_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2`)); this.g_cartoon.initCartoonElement(`bird_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2`));
this.g_cartoon.initCartoonElement(`birdAni_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1/dragonBones`)); this.g_cartoon.initCartoonElement(`birdStatic_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1/static`));
this.g_cartoon.initCartoonElement(`birdAni_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2/dragonBones`)); this.g_cartoon.initCartoonElement(`birdStatic_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2/static`));
this.g_cartoon.initCartoonElement(`birdAniFly_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1/fly`));
this.g_cartoon.initCartoonElement(`birdAniFly_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2/fly`));
this.g_cartoon.initCartoonElement(`birdAniWrong_1`, this.g_cartoon.getNodeByPath(`Canvas/bird_1/wrong`));
this.g_cartoon.initCartoonElement(`birdAniWrong_2`, this.g_cartoon.getNodeByPath(`Canvas/bird_2/wrong`));
this.g_cartoon.initCartoonElement(`birdAudio`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio`)); this.g_cartoon.initCartoonElement(`birdAudio`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio`));
this.g_cartoon.initCartoonElement(`birdAudioClickTarget`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio/clickTarget`));
this.g_cartoon.initCartoonElement(`birdAudioNormal`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio/normal`));
this.g_cartoon.initCartoonElement(`birdAudioWrong`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio/wrong`));
this.g_cartoon.initCartoonElement(`birdAudioPlaying`, this.g_cartoon.getNodeByPath(`Canvas/bgMain/bird_audio/playing`));
} }
...@@ -225,6 +233,8 @@ export default class GameLogic { ...@@ -225,6 +233,8 @@ export default class GameLogic {
}) })
}) })
} else { } else {
this.g_cartoon.getCartoonElement("bird_1").wrong()
this.g_cartoon.getCartoonElement("bird_2").wrong()
this.g_cartoon.playAudio("try_again", ()=>{ this.g_cartoon.playAudio("try_again", ()=>{
setTimeout(()=>{ setTimeout(()=>{
this.g_cartoon.playAudio(this.g_formData.dataArray[this.m_currentQuestion].audio_url) this.g_cartoon.playAudio(this.g_formData.dataArray[this.m_currentQuestion].audio_url)
...@@ -329,7 +339,6 @@ export default class GameLogic { ...@@ -329,7 +339,6 @@ export default class GameLogic {
} else if(this.g_formData.titleText.length>=48) { } else if(this.g_formData.titleText.length>=48) {
fontSize = 20 fontSize = 20
} }
console.log("fontSize", fontSize)
textNode.node.getComponent(cc.Label).string = this.g_formData.titleText; textNode.node.getComponent(cc.Label).string = this.g_formData.titleText;
textNode.node.getComponent(cc.Label).font = this.g_cartoon.getFontFamily("Comic Sans MS") textNode.node.getComponent(cc.Label).font = this.g_cartoon.getFontFamily("Comic Sans MS")
textNode.node.getComponent(cc.Label).fontSize = fontSize textNode.node.getComponent(cc.Label).fontSize = fontSize
...@@ -482,10 +491,18 @@ export default class GameLogic { ...@@ -482,10 +491,18 @@ export default class GameLogic {
initBirds() { initBirds() {
let bird_1 = this.g_cartoon.getCartoonElement("bird_1"); let bird_1 = this.g_cartoon.getCartoonElement("bird_1");
let bird_2 = this.g_cartoon.getCartoonElement("bird_2"); let bird_2 = this.g_cartoon.getCartoonElement("bird_2");
let birdAni_1 = this.g_cartoon.getCartoonElement("birdAni_1"); let birdAniFly_1 = this.g_cartoon.getCartoonElement("birdAniFly_1");
let birdAni_2 = this.g_cartoon.getCartoonElement("birdAni_2"); let birdAniFly_2 = this.g_cartoon.getCartoonElement("birdAniFly_2");
let birdStatic_1 = this.g_cartoon.getCartoonElement("birdStatic_1");
let birdStatic_2 = this.g_cartoon.getCartoonElement("birdStatic_2");
let birdAniWrong_1 = this.g_cartoon.getCartoonElement("birdAniWrong_1");
let birdAniWrong_2 = this.g_cartoon.getCartoonElement("birdAniWrong_2");
let birdAudioClickTarget = this.g_cartoon.getCartoonElement("birdAudioClickTarget");
let birdAudio = this.g_cartoon.getCartoonElement("birdAudio"); let birdAudio = this.g_cartoon.getCartoonElement("birdAudio");
let birdAudioNormal = this.g_cartoon.getCartoonElement("birdAudioNormal");
let birdAudioWrong = this.g_cartoon.getCartoonElement("birdAudioWrong");
let birdAudioPlaying = this.g_cartoon.getCartoonElement("birdAudioPlaying");
const birdDragonBones_1 = { const birdDragonBones_1 = {
"texPngData": { "texPngData": {
...@@ -517,14 +534,84 @@ export default class GameLogic { ...@@ -517,14 +534,84 @@ export default class GameLogic {
} }
} }
birdAni_1.dragonBones.setDragonBones(birdDragonBones_1, ()=>{ const audioBird = {
birdAni_1.dragonBones.showDragonBones() "texPngData": {
"url": "http://staging-teach.cdn.ireadabc.com/24a4f73fd0ba329427cc3a9c07430ede.png",
"name": "playbird_tex.png"
},
"texJsonData": {
"url": "http://staging-teach.cdn.ireadabc.com/7b855d3ca30aa8833b9c460424ca2e5c.json",
"name": "playbird_tex.json"
},
"skeJsonData": {
"url": "http://staging-teach.cdn.ireadabc.com/a611415a85a614a3f3a2c9620633bc2a.json",
"name": "playbird_ske.json"
}
}
// Normal
birdAniFly_1.node.opacity = 0;
birdAniFly_2.node.opacity = 0;
birdAniFly_1.dragonBones.setDragonBones(birdDragonBones_1, "Armature鸟1", ()=>{
birdAniFly_1.dragonBones.showDragonBones(-1, "normal")
}) })
birdAniFly_2.dragonBones.setDragonBones(birdDragonBones_2,"Armature鸟2", ()=>{
birdAniFly_2.dragonBones.showDragonBones(-1, "normal")
})
// Wrong
birdAniWrong_1.node.opacity = 0;
birdAniWrong_2.node.opacity = 0;
birdAni_2.dragonBones.setDragonBones(birdDragonBones_2, ()=>{ birdAniWrong_1.dragonBones.setDragonBones(birdDragonBones_1, "Armature鸟1", ()=>{
birdAni_2.dragonBones.showDragonBones() birdAniWrong_1.dragonBones.showDragonBones(-1, "wrong")
})
birdAniWrong_2.dragonBones.setDragonBones(birdDragonBones_2,"Armature鸟2", ()=>{
birdAniWrong_2.dragonBones.showDragonBones(-1, "wrong")
}) })
// Bird audio
// birdAudioNormal.node.opacity = 0;
birdAudioNormal.dragonBones.setDragonBones(audioBird, "Armature播放", ()=>{
birdAudioNormal.dragonBones.showDragonBones(-1, "normal")
})
birdAudioWrong.node.opacity = 0;
birdAudioWrong.dragonBones.setDragonBones(audioBird, "Armature播放", ()=>{
birdAudioWrong.dragonBones.showDragonBones(-1, "wrong")
})
birdAudioPlaying.node.opacity = 0;
birdAudioPlaying.dragonBones.setDragonBones(audioBird, "Armature播放", ()=>{
birdAudioPlaying.dragonBones.showDragonBones(-1, "playing")
})
birdAudio.switchAni = (type) => {
switch(type) {
case 0:
birdAudioNormal.node.opacity = 255;
birdAudioWrong.node.opacity = 0;
birdAudioPlaying.node.opacity = 0;
break;
case 1:
birdAudioNormal.node.opacity = 0;
birdAudioWrong.node.opacity = 255;
birdAudioPlaying.node.opacity = 0;
break;
case 2:
birdAudioNormal.node.opacity = 0;
birdAudioWrong.node.opacity = 0;
birdAudioPlaying.node.opacity = 255;
break;
default:
birdAudioNormal.node.opacity = 255;
birdAudioWrong.node.opacity = 0;
birdAudioPlaying.node.opacity = 0;
break;
}
}
bird_1.flyTo = (cardIndex, callback)=>{ bird_1.flyTo = (cardIndex, callback)=>{
let card = this.g_cartoon.getCartoonElement(`card_${cardIndex+1}`) let card = this.g_cartoon.getCartoonElement(`card_${cardIndex+1}`)
card.node.setSiblingIndex(100) card.node.setSiblingIndex(100)
...@@ -535,8 +622,12 @@ export default class GameLogic { ...@@ -535,8 +622,12 @@ export default class GameLogic {
bird_1.node.x = localPos.x; bird_1.node.x = localPos.x;
bird_1.node.y = localPos.y; bird_1.node.y = localPos.y;
bird_1.node.parent = card.node; bird_1.node.parent = card.node;
birdAniFly_1.node.opacity = 255;
this.g_cartoon.tweenChange(bird_1.node, {x: -80, y: 90}, 0.5, ()=>{ birdStatic_1.node.opacity = 0;
this.g_cartoon.tweenChange(bird_1.node, {x: -80, y: 90}, 2, ()=>{
birdAniFly_1.node.opacity = 0;
birdStatic_1.node.opacity = 255;
if(callback) { if(callback) {
callback() callback()
} }
...@@ -550,8 +641,12 @@ export default class GameLogic { ...@@ -550,8 +641,12 @@ export default class GameLogic {
bird_1.node.x = localPos.x; bird_1.node.x = localPos.x;
bird_1.node.y = localPos.y; bird_1.node.y = localPos.y;
bird_1.node.parent = cc.find("Canvas"); bird_1.node.parent = cc.find("Canvas");
birdAniFly_1.node.opacity = 255;
birdStatic_1.node.opacity = 0;
this.g_cartoon.tweenChange(bird_1.node, {x: -100, y: -cc.winSize.height / 2 + bird_2.node.height + 10}, 0.5, ()=>{ this.g_cartoon.tweenChange(bird_1.node, {x: -100, y: -cc.winSize.height / 2 + bird_2.node.height + 10}, 0.5, ()=>{
birdAniFly_1.node.opacity = 0;
birdStatic_1.node.opacity = 255;
if(callback) { if(callback) {
callback() callback()
} }
...@@ -559,7 +654,8 @@ export default class GameLogic { ...@@ -559,7 +654,8 @@ export default class GameLogic {
} }
bird_2.flyTo = (cardIndex, callback)=>{ bird_2.flyTo = (cardIndex, callback)=>{
let card = this.g_cartoon.getCartoonElement(`card_${cardIndex+1}`) let card = this.g_cartoon.getCartoonElement(`card_${cardIndex+1}`)
card.node.setSiblingIndex(100) card.node.setSiblingIndex(100)
const worldPos = cc.find("Canvas").convertToWorldSpaceAR(cc.v2(bird_2.node.x, bird_2.node.y)); const worldPos = cc.find("Canvas").convertToWorldSpaceAR(cc.v2(bird_2.node.x, bird_2.node.y));
...@@ -568,8 +664,12 @@ export default class GameLogic { ...@@ -568,8 +664,12 @@ export default class GameLogic {
bird_2.node.x = localPos.x; bird_2.node.x = localPos.x;
bird_2.node.y = localPos.y; bird_2.node.y = localPos.y;
bird_2.node.parent = card.node; bird_2.node.parent = card.node;
birdAniFly_2.node.opacity = 255;
this.g_cartoon.tweenChange(bird_2.node, {x: 80, y: 90}, 0.5, ()=>{ birdStatic_2.node.opacity = 0;
this.g_cartoon.tweenChange(bird_2.node, {x: 80, y: 90}, 2, ()=>{
birdAniFly_2.node.opacity = 0;
birdStatic_2.node.opacity = 255;
if(callback) { if(callback) {
callback() callback()
} }
...@@ -583,14 +683,39 @@ export default class GameLogic { ...@@ -583,14 +683,39 @@ export default class GameLogic {
bird_2.node.x = localPos.x; bird_2.node.x = localPos.x;
bird_2.node.y = localPos.y; bird_2.node.y = localPos.y;
bird_2.node.parent = cc.find("Canvas"); bird_2.node.parent = cc.find("Canvas");
birdAniFly_2.node.opacity = 255;
birdStatic_2.node.opacity = 0;
this.g_cartoon.tweenChange(bird_2.node, {x: 105, y: -cc.winSize.height / 2 + bird_2.node.height}, 0.5, ()=>{ this.g_cartoon.tweenChange(bird_2.node, {x: 105, y: -cc.winSize.height / 2 + bird_2.node.height}, 0.5, ()=>{
birdAniFly_2.node.opacity = 0;
birdStatic_2.node.opacity = 255;
if(callback) { if(callback) {
callback() callback()
} }
}) })
} }
bird_1.wrong = ()=>{
birdAniWrong_1.node.opacity = 255;
birdStatic_1.node.opacity = 0;
birdAudio.switchAni(1)
setTimeout(() => {
birdAniWrong_1.node.opacity = 0;
birdStatic_1.node.opacity = 255;
birdAudio.switchAni(0)
}, 1000);
}
bird_2.wrong = ()=>{
birdAniWrong_2.node.opacity = 255;
birdStatic_2.node.opacity = 0;
setTimeout(() => {
birdAniWrong_2.node.opacity = 0;
birdStatic_2.node.opacity = 255;
}, 1000);
}
bird_1.node.y = -cc.winSize.height / 2 + bird_1.node.height + 10 bird_1.node.y = -cc.winSize.height / 2 + bird_1.node.height + 10
bird_2.node.y = -cc.winSize.height / 2 + bird_2.node.height bird_2.node.y = -cc.winSize.height / 2 + bird_2.node.height
birdAudio.node.y = -cc.winSize.height / 2 + bird_2.node.height + 20 birdAudio.node.y = -cc.winSize.height / 2 + bird_2.node.height + 20
...@@ -600,17 +725,16 @@ export default class GameLogic { ...@@ -600,17 +725,16 @@ export default class GameLogic {
// bird_1.node.zIndex = 20 // bird_1.node.zIndex = 20
// bird_2.node.zIndex = 20 // bird_2.node.zIndex = 20
this.g_cartoon.subscribeTouchEvent(birdAudio.key, ()=>{ this.g_cartoon.subscribeTouchEvent(birdAudioClickTarget.key, ()=>{
if(birdAudio.audioID) { if(birdAudio.audioID) {
cc.audioEngine.stop(birdAudio.audioID); cc.audioEngine.stop(birdAudio.audioID);
birdAudio.audioID = null; birdAudio.audioID = null;
birdAudio.node.getChildByName("play").opacity = 255;
} }
if(this.g_formData.dataArray[this.m_currentQuestion].audio_url) { if(this.m_currentQuestion!=-1 && this.g_formData.dataArray[this.m_currentQuestion].audio_url) {
birdAudio.node.getChildByName("play").opacity = 0; birdAudio.switchAni(2)
this.g_cartoon.playAudio(this.g_formData.dataArray[this.m_currentQuestion].audio_url, ()=>{ this.g_cartoon.playAudio(this.g_formData.dataArray[this.m_currentQuestion].audio_url, ()=>{
birdAudio.node.getChildByName("play").opacity = 255; birdAudio.switchAni(0)
}).then(audio_id=>{ }).then(audio_id=>{
birdAudio.audioID = audio_id birdAudio.audioID = audio_id
}) })
......
...@@ -92,9 +92,9 @@ cc.Class({ ...@@ -92,9 +92,9 @@ cc.Class({
getDefaultData() { getDefaultData() {
// const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"TEstd","questionAudio_url":"","dataArray":[{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/06cc843598a912921f6ca3acfde6220b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/571974922f6678111348a5643dba7e20.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/78579114773af12a7aec6723e3b9d475.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/c99e82e1c3f087c6dc0469e30c624f70.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/5b45c89ac9e899d76522767219b1346b.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/2e28eae8f0e0f01193da6f3677379ed3.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/fad2dac4f8b59a185dc30d42617c2ca8.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/6c3fca11052464102407f173e4a83db9.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ec82c796af801486548ae98623f614d2.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ac4b9422df1556f80ac5c3058cd3d670.png"}]}}' // const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"TEstd","questionAudio_url":"","dataArray":[{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/06cc843598a912921f6ca3acfde6220b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/571974922f6678111348a5643dba7e20.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/78579114773af12a7aec6723e3b9d475.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/c99e82e1c3f087c6dc0469e30c624f70.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/5b45c89ac9e899d76522767219b1346b.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/2e28eae8f0e0f01193da6f3677379ed3.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/fad2dac4f8b59a185dc30d42617c2ca8.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/6c3fca11052464102407f173e4a83db9.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ec82c796af801486548ae98623f614d2.png"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ac4b9422df1556f80ac5c3058cd3d670.png"}]}}'
const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"http://staging-teach.cdn.ireadabc.com/ad58bae62ea02cf215ce7dee22df306f.mp3","titleText":"TEstd","questionAudio_url":"http://staging-teach.cdn.ireadabc.com/2bf96923b83ee0c5f20930386ce07384.mp3","dataArray":[{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/06cc843598a912921f6ca3acfde6220b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/571974922f6678111348a5643dba7e20.png","audio_url":"http://staging-teach.cdn.ireadabc.com/ae7c0930a45d0ffc9f13182298e2be71.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/78579114773af12a7aec6723e3b9d475.png","audio_url":"http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/c99e82e1c3f087c6dc0469e30c624f70.png","audio_url":"http://staging-teach.cdn.ireadabc.com/135c628899396df62c14567f46d61f3f.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/5b45c89ac9e899d76522767219b1346b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/2e28eae8f0e0f01193da6f3677379ed3.png","audio_url":"http://staging-teach.cdn.ireadabc.com/cb0ac1d1bcdfdaf768f0a06d3fff37a3.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/fad2dac4f8b59a185dc30d42617c2ca8.png","audio_url":"http://staging-teach.cdn.ireadabc.com/9df3f14bc88bcffc49b6717c40428ed8.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/6c3fca11052464102407f173e4a83db9.png","audio_url":"http://staging-teach.cdn.ireadabc.com/d5a5ac2f45431a8a15492cb9f78e0396.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ec82c796af801486548ae98623f614d2.png","audio_url":"http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ac4b9422df1556f80ac5c3058cd3d670.png","audio_url":"http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3"}]}}' // const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"http://staging-teach.cdn.ireadabc.com/ad58bae62ea02cf215ce7dee22df306f.mp3","titleText":"TEstd","questionAudio_url":"http://staging-teach.cdn.ireadabc.com/2bf96923b83ee0c5f20930386ce07384.mp3","dataArray":[{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/06cc843598a912921f6ca3acfde6220b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/571974922f6678111348a5643dba7e20.png","audio_url":"http://staging-teach.cdn.ireadabc.com/ae7c0930a45d0ffc9f13182298e2be71.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/78579114773af12a7aec6723e3b9d475.png","audio_url":"http://staging-teach.cdn.ireadabc.com/c14938125a52096dc0be9fbbf6638cb2.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/c99e82e1c3f087c6dc0469e30c624f70.png","audio_url":"http://staging-teach.cdn.ireadabc.com/135c628899396df62c14567f46d61f3f.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/5b45c89ac9e899d76522767219b1346b.png","audio_url":"http://staging-teach.cdn.ireadabc.com/3b5540cc95a006dff8c41dba7537075a.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/2e28eae8f0e0f01193da6f3677379ed3.png","audio_url":"http://staging-teach.cdn.ireadabc.com/cb0ac1d1bcdfdaf768f0a06d3fff37a3.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/fad2dac4f8b59a185dc30d42617c2ca8.png","audio_url":"http://staging-teach.cdn.ireadabc.com/9df3f14bc88bcffc49b6717c40428ed8.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/6c3fca11052464102407f173e4a83db9.png","audio_url":"http://staging-teach.cdn.ireadabc.com/d5a5ac2f45431a8a15492cb9f78e0396.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ec82c796af801486548ae98623f614d2.png","audio_url":"http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3"},{"text":"","image_url":"http://staging-teach.cdn.ireadabc.com/ac4b9422df1556f80ac5c3058cd3d670.png","audio_url":"http://staging-teach.cdn.ireadabc.com/fb08783926362bf64232e2ec6966011d.mp3"}]}}'
// const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"TEST","questionAudio_url":"","dataArray":[{"text":"","image_url":"","dragonBones":{"texPngData":{"url":"","name":""},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/70f2284f40825f812603c2302ca23607.json","name":"鸟飞_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/813eea2f97e13533a47ba94edd0a9f22.json","name":"鸟飞_ske.json"}}},{"text":"","image_url":"","dragonBones":{"texPngData":{"url":"","name":""},"texJsonData":{"url":"","name":""},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/813eea2f97e13533a47ba94edd0a9f22.json","name":"鸟飞_ske.json"}}}],"birdDragonBones_1":{"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/3fa1882c54e339da6dd269c97f04bb2a.png","name":"bird1_tex.png"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/59b30e639be3a22584acec712dd78574.json","name":"bird1_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/decfe2180607b27160bd34d07448898c.json","name":"bird1_ske.json"}},"birdDragonBones_2":{"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/09ff5666c731f45808e1c0f3d0bfc124.png","name":"bird2_tex.png"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/49231d10601dfadffedb9ee25dac164b.json","name":"bird2_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/c39541350a2828337d5cecb59deac5e8.json","name":"bird2_ske.json"}}}}' // const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"TEST","questionAudio_url":"","dataArray":[{"text":"","image_url":"","dragonBones":{"texPngData":{"url":"","name":""},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/70f2284f40825f812603c2302ca23607.json","name":"鸟飞_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/813eea2f97e13533a47ba94edd0a9f22.json","name":"鸟飞_ske.json"}}},{"text":"","image_url":"","dragonBones":{"texPngData":{"url":"","name":""},"texJsonData":{"url":"","name":""},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/813eea2f97e13533a47ba94edd0a9f22.json","name":"鸟飞_ske.json"}}}],"birdDragonBones_1":{"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/3fa1882c54e339da6dd269c97f04bb2a.png","name":"bird1_tex.png"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/59b30e639be3a22584acec712dd78574.json","name":"bird1_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/decfe2180607b27160bd34d07448898c.json","name":"bird1_ske.json"}},"birdDragonBones_2":{"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/09ff5666c731f45808e1c0f3d0bfc124.png","name":"bird2_tex.png"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/49231d10601dfadffedb9ee25dac164b.json","name":"bird2_tex.json"},"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/c39541350a2828337d5cecb59deac5e8.json","name":"bird2_ske.json"}}}}'
// const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"","questionAudio_url":"","dataArray":[]}}' const dataJson = '{"contentObj":{"version":"1.0","key":"DataKey_Sbox_FT_08","bgMusic":"","titleText":"","questionAudio_url":"","dataArray":[]}}'
const data = JSON.parse(dataJson); const data = JSON.parse(dataJson);
return data; return data;
}, },
......
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