Commit dd9e991f authored by Tt's avatar Tt

换皮提交

parent 3d36cbfc
{
"ver": "1.1.2",
"uuid": "e6840f39-c6ab-4977-bdf9-d3cca21bfa17",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "cb9fa4ea-66ca-45af-ad31-e445c7b0ef32", "uuid": "b04344df-5566-435c-ae06-997e5428c445",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "2.0.1", "ver": "2.0.1",
"uuid": "f0680ae0-c079-45ef-abd7-9e63d90b982b", "uuid": "dc4a5cb1-0a74-4322-a347-2bb49e307153",
"downloadMode": 0, "downloadMode": 0,
"duration": 0.130612, "duration": 7.74,
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "95742fc5-29f5-4cf9-83e6-d041bd9f405c",
"downloadMode": 0,
"duration": 10.944,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "30d05a79-add7-472a-8350-a2c8a99abd6a",
"downloadMode": 0,
"duration": 0.972,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "31547167-85e1-4105-8450-65e5631bcd40",
"downloadMode": 0,
"duration": 1.188,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "4c97a8d3-590a-4a38-b0d6-6478fbde9b33",
"downloadMode": 0,
"duration": 0.287347,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "76ad46d2-6402-4e61-87bc-a9897ecf2e54",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "8c669b36-cc85-4095-be04-0d87817feb0e",
"downloadMode": 0,
"duration": 0.966531,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "c10bb914-177e-463b-820d-321c912b543b",
"downloadMode": 0,
"duration": 0.626939,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "6525618b-7542-48b0-95e2-4fc1a9185851",
"downloadMode": 0,
"duration": 0.168,
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "fbb71b8a-556c-4dfe-9f09-bb591df6fc69",
"downloadMode": 0,
"duration": 0.39185,
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "0853721c-3f55-4eb2-873d-e3081cfadd4b", "uuid": "584b3cce-a735-4e6f-9e5f-e5387027a491",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"ver": "1.1.2",
"uuid": "a531a3f6-27ca-4bf6-9c45-6d222eb8fb56",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "577ebe90-dd96-4810-9534-ad861e375cd0",
"subMetas": {}
}
\ No newline at end of file
{"name":"mao","imagePath":"mao_tex.png","SubTexture":[{"name":"猫01/影子","x":1,"height":66,"y":343,"width":337},{"name":"猫01/尾巴","x":1,"height":109,"y":188,"width":175},{"name":"猫01/右腿","x":178,"height":117,"y":188,"width":104},{"name":"猫01/左腿","x":1,"height":115,"y":569,"width":64},{"name":"猫01/右手","x":427,"height":122,"y":590,"width":69},{"name":"猫01/左手","x":301,"height":74,"y":590,"width":124},{"name":"猫01伸/左手伸直","x":299,"height":169,"y":1,"width":168},{"name":"猫01伸/右手伸直","x":299,"height":169,"y":172,"width":168},{"name":"猫01/身体","x":340,"height":180,"y":343,"width":122},{"name":"猫01/领带","x":1,"height":156,"y":411,"width":120},{"name":"猫01/右耳","x":155,"height":76,"y":602,"width":90},{"name":"猫01/左耳","x":67,"height":85,"y":602,"width":86},{"name":"猫01/组_1","x":1,"height":185,"y":1,"width":296},{"name":"猫01/右眼","x":1,"height":60,"y":686,"width":59},{"name":"猫01/右眉毛","x":67,"height":5,"y":595,"width":33},{"name":"猫01/左眼","x":247,"height":60,"y":666,"width":59},{"name":"猫01/左眉毛","x":247,"height":12,"y":602,"width":31},{"name":"猫01/眼镜","x":301,"height":63,"y":525,"width":170},{"name":"猫01/胡子","x":123,"height":85,"y":515,"width":176},{"name":"猫01/鼻子","x":67,"height":24,"y":569,"width":28},{"name":"猫01/嘴","x":1,"height":30,"y":299,"width":65},{"name":"猫01/帽子","x":123,"height":102,"y":411,"width":158}],"height":1024,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4facbb57-eefd-491f-a5d3-494be707d6bb",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f710f319-92a9-4c3b-bf3b-92b07839f1ca",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"mao_tex": {
"ver": "1.0.4",
"uuid": "2b916dee-a237-4ace-91dc-abc9f361e8f3",
"rawTextureUuid": "f710f319-92a9-4c3b-bf3b-92b07839f1ca",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7.5,
"offsetY": 138.5,
"trimX": 1,
"trimY": 1,
"width": 495,
"height": 745,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "9063b81a-fc97-4b88-aacf-e53bda40c137",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.0.1",
"uuid": "61093c89-beca-449b-9a42-772b772cef78",
"subMetas": {}
}
\ No newline at end of file
{"name":"star","SubTexture":[{"name":"从中间往四周炸星星停留1s后消失/发光星星","x":1,"height":123,"y":313,"width":127},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_13","x":418,"height":69,"y":497,"width":72},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_17","x":80,"height":44,"y":438,"width":46},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_18","x":1,"height":44,"y":518,"width":46},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_19","x":418,"height":44,"y":568,"width":46},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_20","x":80,"height":44,"y":484,"width":46},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_14","x":1,"height":74,"y":438,"width":77},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝","x":1,"height":154,"y":157,"width":159},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_2","x":323,"height":154,"y":157,"width":159},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_3","x":130,"height":120,"y":313,"width":124},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_15","x":256,"height":82,"y":434,"width":85},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_16","x":343,"height":71,"y":497,"width":73},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_5","x":381,"height":90,"y":405,"width":93},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_6","x":381,"height":90,"y":313,"width":93},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_7","x":130,"height":75,"y":435,"width":78},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_12","x":162,"height":154,"y":157,"width":159},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_9","x":1,"height":154,"y":1,"width":159},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_10","x":256,"height":119,"y":313,"width":123},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_11","x":323,"height":154,"y":1,"width":159},{"name":"从中间往四周炸星星停留1s后消失/发光星星_拷贝_8","x":162,"height":154,"y":1,"width":159}],"imagePath":"star_tex.png","height":1024,"width":512}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "4b0ae7ca-4852-424a-8748-cdccaaf73f5a",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "b7def1fb-ce30-45c4-978c-ce23cabed87a",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 512,
"height": 1024,
"platformSettings": {},
"subMetas": {
"star_tex": {
"ver": "1.0.4",
"uuid": "6d85dc6e-896c-47dc-8140-8d7a1a32f2a7",
"rawTextureUuid": "b7def1fb-ce30-45c4-978c-ce23cabed87a",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -10.5,
"offsetY": 205.5,
"trimX": 1,
"trimY": 1,
"width": 489,
"height": 611,
"rawWidth": 512,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "ab166a39-a2a8-4ee4-831e-80f62d8ace9a",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"两个云","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"armatureName","aabb":{"x":-598,"y":-137,"width":1205,"height":121},"bone":[{"name":"root"},{"length":52,"name":"云2","parent":"root","transform":{"x":-533.1,"y":-92.4}},{"length":46,"name":"云1","parent":"root","transform":{"x":533.1,"y":-64.35,"skX":2.0454,"skY":2.0454}}],"slot":[{"name":"云1","parent":"云1"},{"name":"云2","parent":"云2"}],"skin":[{"slot":[{"name":"云1","display":[{"name":"云1","transform":{"x":2.88,"y":-0.75,"skX":-2.05,"skY":-2.05}}]},{"name":"云2","display":[{"name":"云2","transform":{"x":2.6,"y":-3.6}}]}]}],"animation":[{"duration":240,"playTimes":0,"name":"云飘动","bone":[{"name":"云2","translateFrame":[{"duration":120,"tweenEasing":0,"x":-231.06},{"duration":120,"tweenEasing":0,"x":523.23},{"duration":0,"x":1277.52}]},{"name":"云1","translateFrame":[{"duration":119,"tweenEasing":0,"x":-529.55},{"tweenEasing":0,"x":217.62},{"duration":120,"tweenEasing":0,"x":-1269.74},{"duration":0,"x":-529.55}]}],"slot":[{"name":"云1","colorFrame":[{"duration":116,"tweenEasing":0},{"tweenEasing":0},{"duration":3,"tweenEasing":0,"value":{"aM":0}},{"tweenEasing":0,"value":{"aM":0}},{"duration":119}]},{"name":"云2","colorFrame":[{"duration":2,"tweenEasing":0,"value":{"aM":0}},{"duration":236,"tweenEasing":0},{"duration":2,"tweenEasing":0},{"duration":0,"value":{"aM":0}}]}]}],"defaultActions":[{"gotoAndPlay":"云飘动"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "e3e3bb46-f2d0-43ee-baab-efca9d36ea46",
"subMetas": {}
}
\ No newline at end of file
{"width":256,"SubTexture":[{"width":142,"y":1,"height":98,"name":"云1","x":1},{"width":135,"y":101,"height":82,"name":"云2","x":1}],"height":256,"name":"两个云","imagePath":"两个云_tex.png"}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "1d8274b4-bec6-415c-b328-23fb705033a1",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "9721dc51-ad98-4a92-b84d-7ae070574eb6",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 256,
"height": 256,
"platformSettings": {},
"subMetas": {
"两个云_tex": {
"ver": "1.0.4",
"uuid": "f18536d4-92c6-4a40-ae68-77b41bcd3e00",
"rawTextureUuid": "9721dc51-ad98-4a92-b84d-7ae070574eb6",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -56,
"offsetY": 36,
"trimX": 1,
"trimY": 1,
"width": 142,
"height": 182,
"rawWidth": 256,
"rawHeight": 256,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "7b3523d7-b1b9-4dab-9870-368293346000",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{"frameRate":24,"name":"烟花","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-57.5,"y":-420,"width":152,"height":97},"bone":[{"name":"root"},{"length":84,"name":"烟花","parent":"root","transform":{"x":-3,"y":-332,"skX":-91.3639,"skY":-91.3639}}],"slot":[{"name":"烟花","parent":"烟花"},{"displayIndex":-1,"name":"1","parent":"root"}],"skin":[{"slot":[{"name":"烟花","display":[{"name":"烟花/烟花","transform":{"x":38.98,"y":22.43,"skX":91.36,"skY":91.36}}]},{"name":"1","display":[{"name":"烟花/1","transform":{"x":-3,"y":-385.5}},{"name":"烟花/2","transform":{"x":-2,"y":-406}},{"name":"烟花/3","transform":{"y":-425.5}},{"name":"烟花/4","transform":{"x":-6,"y":-434}},{"name":"烟花/5","transform":{"x":-7.5,"y":-439.5}},{"name":"烟花/6","transform":{"x":-11,"y":-439.5}},{"name":"烟花/7","transform":{"x":-15.5,"y":-431.5}},{"name":"烟花/8","transform":{"x":-5,"y":-425.5}},{"name":"烟花/9","transform":{"y":-420}}]}]}],"animation":[{"duration":30,"playTimes":0,"name":"normal","bone":[{"name":"烟花","translateFrame":[{"duration":10,"tweenEasing":0,"y":421.44},{"duration":20}]}],"slot":[{"name":"烟花","displayFrame":[{"duration":12},{"duration":18,"value":-1}]},{"name":"1","displayFrame":[{"duration":12,"value":-1},{"duration":2},{"duration":2,"value":1},{"duration":2,"value":2},{"duration":2,"value":3},{"duration":2,"value":4},{"duration":2,"value":5},{"duration":2,"value":6},{"duration":2,"value":7},{"duration":2,"value":8},{"duration":0,"value":-1}]}]}],"defaultActions":[{"gotoAndPlay":"normal"}]}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "2e65bd52-8647-4416-85dd-f3c57418c803",
"subMetas": {}
}
\ No newline at end of file
{"width":1024,"imagePath":"烟花_tex.png","height":1024,"name":"烟花","SubTexture":[{"width":152,"y":605,"height":97,"name":"烟花/烟花","x":323},{"width":167,"y":645,"height":65,"name":"烟花/1","x":1},{"width":267,"y":505,"height":98,"name":"烟花/4","x":323},{"width":456,"y":264,"height":239,"name":"烟花/7","x":528},{"width":193,"y":505,"height":54,"name":"烟花/2","x":592},{"width":493,"y":1,"height":261,"name":"烟花/8","x":528},{"width":409,"y":275,"height":211,"name":"烟花/6","x":1},{"width":320,"y":488,"height":155,"name":"烟花/5","x":1},{"width":525,"y":1,"height":272,"name":"烟花/9","x":1},{"width":203,"y":505,"height":33,"name":"烟花/3","x":787}]}
\ No newline at end of file
{
"ver": "1.0.1",
"uuid": "303cc181-36b6-4528-ac58-8c599f58b152",
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "8e8b43db-e723-4ba9-91ca-507086907437",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1024,
"height": 1024,
"platformSettings": {},
"subMetas": {
"烟花_tex": {
"ver": "1.0.4",
"uuid": "7716b050-3de3-49bf-ae8b-0edec992e04f",
"rawTextureUuid": "8e8b43db-e723-4ba9-91ca-507086907437",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -1,
"offsetY": 156.5,
"trimX": 1,
"trimY": 1,
"width": 1020,
"height": 709,
"rawWidth": 1024,
"rawHeight": 1024,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "20185448-a1ca-4de2-8b37-7bf6cdfccbae", "uuid": "191dd958-be66-44c6-8f2b-5b11e8196c7e",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.1.0", "ver": "1.1.0",
"uuid": "c551970e-b095-45f3-9f1d-25cde8b8deb1", "uuid": "6b2a0b6d-3fff-436e-92b7-74021afee100",
"subMetas": {} "subMetas": {}
} }
\ No newline at end of file
{
"ver": "1.1.0",
"uuid": "be8fecdd-560a-42e7-a7df-d877dbfa3ce5",
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "e8bd16b0-3804-45a9-a8ca-f52c02224f55", "uuid": "25c8e3a0-09ac-4ca3-9210-e5b4d00e40d4",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{ {
"ver": "1.2.9", "ver": "1.2.9",
"uuid": "0737ce42-24f0-45c6-8e1a-8bdab4f74ba3", "uuid": "5dc21127-af15-406f-853a-179c0e5faf12",
"asyncLoadAssets": false, "asyncLoadAssets": false,
"autoReleaseAssets": true, "autoReleaseAssets": true,
"subMetas": {} "subMetas": {}
......
This diff is collapsed.
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "f8b451ff-857c-4ca8-9870-866bc5154a29", "uuid": "be84c8db-c20a-4d8c-a5d3-84fc68577e49",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "b0c008bc-cf92-463b-8360-0984e13c2e4d", "uuid": "8880342f-b3e0-4f9e-805e-f7e817ddc929",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
export const defaultData = {
"maxWrongNumber": 4,
"startAudio": "http://staging-teach.cdn.ireadabc.com/17edcaecd09a72a64a77480673cdc232.mp3",
"endAudio": "http://staging-teach.cdn.ireadabc.com/fd8a2b8eeb4abbe7683d30e728ece184.mp3",
"question_arr": [
{
"question_audio_url": "",
"option_arr": [
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/5ba43828aef85c585743a0c898b43c42.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
"is_right": true
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/d69dee492fd35b3c066207c3fc8e3258.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/48ecba3519b1d58a1fa434ae694fc831.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/44464e706225cfe43e918bf1167a2ac1.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/251667ae3d4921582392f6bc42bd2a96.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f4e0925dec2f24505872b1c367343a6e.mp3",
"is_right": false
}
],
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"desc1": "fg",
"desc2": "bn",
},
{
"question_audio_url": "",
"option_arr": [
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/5ba43828aef85c585743a0c898b43c42.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/ce3337620f22232dd15c29c66af57736.mp3",
"is_right": true
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/d69dee492fd35b3c066207c3fc8e3258.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/48ecba3519b1d58a1fa434ae694fc831.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/44464e706225cfe43e918bf1167a2ac1.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"is_right": false
},
{
"pic_url": "http://staging-teach.cdn.ireadabc.com/251667ae3d4921582392f6bc42bd2a96.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f4e0925dec2f24505872b1c367343a6e.mp3",
"is_right": false
}
],
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"desc1": "OG",
"desc2": "TSM",
}]
}
\ No newline at end of file
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "c41b0e51-55d7-443c-af3a-b22c3dd9b9e5", "uuid": "cb195ef1-2c7a-497a-bbcd-5e9e612b16cc",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "b54300af-b8e5-4b4e-aa2f-9ac1cef7b598", "uuid": "2076f9e4-9c0e-4b59-8084-e6b9e3970f33",
"isPlugin": true, "isPlugin": true,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
...@@ -165,7 +165,7 @@ export function getSprNodeByUrl(url, cb) { ...@@ -165,7 +165,7 @@ export function getSprNodeByUrl(url, cb) {
export function playAudio(audioClip, cb = null) { export function playAudio(audioClip, cb = null) {
if (audioClip) { if (audioClip) {
const audioId = cc.audioEngine.playEffect(audioClip, false); const audioId = cc.audioEngine.playEffect(audioClip, false, 0.8);
if (cb) { if (cb) {
cc.audioEngine.setFinishCallback(audioId, () => { cc.audioEngine.setFinishCallback(audioId, () => {
cb(); cb();
...@@ -177,85 +177,15 @@ export function playAudio(audioClip, cb = null) { ...@@ -177,85 +177,15 @@ export function playAudio(audioClip, cb = null) {
export async function asyncDelay(time) { export async function asyncDelay(time) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
try { try {
cc.tween(cc.find('Canvas')) setTimeout(() => {
.delay(time) resolve();
.call(()=>{ }, time * 1000);
resolve(null);
})
.start();
} catch (e) { } catch (e) {
reject(e); reject(e);
} }
}) })
} }
export async function asyncLoadDragonBoneAnime(node, { skeJsonData: { url: skeJsonDataUrl }, texJsonData: { url: texJsonDataUrl }, texPngData: { url: texPngDataUrl } }) {
if (!texPngDataUrl || !texJsonDataUrl || !texPngDataUrl
|| texPngDataUrl == '' || texJsonDataUrl == '' || texPngDataUrl == '') {
return;
}
return new Promise((resolve, reject) => {
if (node.animaNode) {
node.animaNode.removeFromParent();
}
const animaNode = new cc.Node();
animaNode.name = 'animaNode';
animaNode.parent = node;
animaNode.active = true;
node.animaNode = animaNode;
const dragonDisplay = animaNode.addComponent(dragonBones.ArmatureDisplay);
const loadTexture = new Promise((resolve, reject) => {
cc.assetManager.loadRemote(texPngDataUrl, (error, texture) => {
if (error) {
reject(error);
}
resolve(texture);
});
});
const loadTexJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: texJsonDataUrl }, (error, atlasJson) => {
if (error) {
reject(error);
}
resolve(atlasJson);
});
});
const loadSkeJsonData = new Promise((resolve, reject) => {
cc.assetManager.loadAny({ url: skeJsonDataUrl }, (error, dragonBonesJson) => {
if (error) {
reject(error);
}
resolve(dragonBonesJson);
});
});
Promise.all([loadTexture, loadTexJsonData, loadSkeJsonData]).then(([texture, atlasJson, dragonBonesJson]) => {
const atlas = new dragonBones.DragonBonesAtlasAsset();
atlas.atlasJson = JSON.stringify(atlasJson);
atlas.texture = texture;
const asset = new dragonBones.DragonBonesAsset();
asset.dragonBonesJson = JSON.stringify(dragonBonesJson);
dragonDisplay.dragonAtlasAsset = atlas;
dragonDisplay.dragonAsset = asset;
let armatureNames = dragonBonesJson.armature.map(data => data.name);
if (armatureNames.length > 0) {
dragonDisplay.armatureName = armatureNames[0];
}
resolve(animaNode);
});
});
}
export class FireworkSettings { export class FireworkSettings {
baseNode; // 父节点 baseNode; // 父节点
nodeList; // 火花节点的array nodeList; // 火花节点的array
...@@ -366,7 +296,7 @@ export async function asyncTweenTo(node, duration, obj, ease = undefined) { ...@@ -366,7 +296,7 @@ export async function asyncTweenTo(node, duration, obj, ease = undefined) {
cc.tween(node) cc.tween(node)
.to(duration, obj, ease) .to(duration, obj, ease)
.call(() => { .call(() => {
resolve(null); resolve();
}) })
.start(); .start();
} catch (e) { } catch (e) {
...@@ -381,7 +311,7 @@ export async function asyncTweenBy(node, duration, obj, ease = undefined) { ...@@ -381,7 +311,7 @@ export async function asyncTweenBy(node, duration, obj, ease = undefined) {
cc.tween(node) cc.tween(node)
.by(duration, obj, ease) .by(duration, obj, ease)
.call(() => { .call(() => {
resolve(null); resolve();
}) })
.start(); .start();
} catch (e) { } catch (e) {
...@@ -422,3 +352,37 @@ export function onHomeworkFinish() { ...@@ -422,3 +352,37 @@ export function onHomeworkFinish() {
console.log('onHomeworkFinish'); console.log('onHomeworkFinish');
} }
} }
export async function asyncPlayDragonBoneAnimation(node, animationName, time = 1, onFrameEvent = null) {
return new Promise((resolve, reject) => {
const armatureDisplay = node.getComponent(dragonBones.ArmatureDisplay);
armatureDisplay.timeScale = 1;
armatureDisplay.once(dragonBones.EventObject.COMPLETE, () => {
resolve();
});
armatureDisplay.on(dragonBones.EventObject.FRAME_EVENT, (event) => {
if (onFrameEvent) {
onFrameEvent(event);
}
});
armatureDisplay.playAnimation(animationName, time);
});
}
export function playDragonBoneAnimation(node, animationName, time = 1, onFinish = null, onFrameEvent = null) {
const armatureDisplay = node.getComponent(dragonBones.ArmatureDisplay);
armatureDisplay.timeScale = 1;
armatureDisplay.once(dragonBones.EventObject.COMPLETE, () => {
if (onFinish) {
onFinish();
}
});
armatureDisplay.on(dragonBones.EventObject.FRAME_EVENT, (event) => {
if (onFrameEvent) {
onFrameEvent(event);
}
});
armatureDisplay.playAnimation(animationName, time);
}
{ {
"ver": "1.0.8", "ver": "1.0.8",
"uuid": "ade7af40-d56d-4087-bbc6-2888fef55353", "uuid": "79bfaf99-fcb7-4de4-aa5d-f8702d328b38",
"isPlugin": false, "isPlugin": false,
"loadPluginInWeb": true, "loadPluginInWeb": true,
"loadPluginInNative": true, "loadPluginInNative": true,
......
{ {
"ver": "1.1.2", "ver": "1.1.2",
"uuid": "8ba21262-178f-4fa5-afc9-2c1dd50ba3ab", "uuid": "fae73a8e-7761-412e-a1c3-ee97dc23832d",
"isBundle": false, "isBundle": false,
"bundleName": "", "bundleName": "",
"priority": 1, "priority": 1,
......
{
"ver": "2.3.5",
"uuid": "451d25c1-894d-4230-b660-8b6a9204251f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2176,
"height": 1074,
"platformSettings": {},
"subMetas": {
"bg_bg": {
"ver": "1.0.4",
"uuid": "628db47e-05e8-4180-8283-a64b0d4e7af5",
"rawTextureUuid": "451d25c1-894d-4230-b660-8b6a9204251f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2176,
"height": 1074,
"rawWidth": 2176,
"rawHeight": 1074,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "cb25dd8b-586a-4405-aed7-60f1509f3234",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1244,
"height": 792,
"platformSettings": {},
"subMetas": {
"bg_box_behind": {
"ver": "1.0.4",
"uuid": "e596569c-5694-4d47-a0f4-746d4fd0c385",
"rawTextureUuid": "cb25dd8b-586a-4405-aed7-60f1509f3234",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 1,
"offsetY": 189.5,
"trimX": 2,
"trimY": 0,
"width": 1242,
"height": 413,
"rawWidth": 1244,
"rawHeight": 792,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "eb50e7db-2858-4733-956d-895c4db93873",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1244,
"height": 792,
"platformSettings": {},
"subMetas": {
"bg_box_front": {
"ver": "1.0.4",
"uuid": "026a4590-bf81-401b-840d-e450336d0034",
"rawTextureUuid": "eb50e7db-2858-4733-956d-895c4db93873",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": -47,
"trimX": 0,
"trimY": 98,
"width": 1244,
"height": 690,
"rawWidth": 1244,
"rawHeight": 792,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "uuid": "53c71758-29e0-48e6-83db-fe67854899b3",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
"premultiplyAlpha": false, "premultiplyAlpha": false,
"genMipmaps": false, "genMipmaps": false,
"packable": true, "packable": true,
"width": 366, "width": 409,
"height": 336, "height": 409,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"1orange": { "bg_circle": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "43d1e79d-6de8-4dcb-b8ce-d767df7913aa", "uuid": "61f1b220-77d4-419b-b8b4-dab2f7c1870b",
"rawTextureUuid": "efa5fa09-a4dd-4bfc-ab7e-17c19f85408f", "rawTextureUuid": "53c71758-29e0-48e6-83db-fe67854899b3",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": 0,
"offsetY": -0.5, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 1, "trimY": 0,
"width": 366, "width": 409,
"height": 335, "height": 409,
"rawWidth": 366, "rawWidth": 409,
"rawHeight": 336, "rawHeight": 409,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "939b5c9a-901d-4d39-b5ce-f92f588afe38",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2176,
"height": 798,
"platformSettings": {},
"subMetas": {
"bg_deck": {
"ver": "1.0.4",
"uuid": "e2ecfdd1-53e5-47ac-9f70-24de792f9b13",
"rawTextureUuid": "939b5c9a-901d-4d39-b5ce-f92f588afe38",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2176,
"height": 798,
"rawWidth": 2176,
"rawHeight": 798,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6be269cc-025c-4c7a-af6a-16f5f39f3b20",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": true,
"genMipmaps": false,
"packable": true,
"width": 209,
"height": 146,
"platformSettings": {},
"subMetas": {
"btn_next": {
"ver": "1.0.4",
"uuid": "584e2c74-98ef-4827-84aa-5248f77130d7",
"rawTextureUuid": "6be269cc-025c-4c7a-af6a-16f5f39f3b20",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 207,
"height": 144,
"rawWidth": 209,
"rawHeight": 146,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "734fa86e-b71f-44d1-af8b-db46d16997fa",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 262,
"height": 268,
"platformSettings": {},
"subMetas": {
"btn_replay": {
"ver": "1.0.4",
"uuid": "a6be6111-0a2f-435a-b756-50465d4f1294",
"rawTextureUuid": "734fa86e-b71f-44d1-af8b-db46d16997fa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 262,
"height": 268,
"rawWidth": 262,
"rawHeight": 268,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
This diff is collapsed.
{
"ver": "1.1.2",
"uuid": "e18fde34-af44-4704-9964-3c166312d243",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{ {
"ver": "2.3.5", "ver": "2.3.5",
"uuid": "e1b4d971-9876-4832-803a-5a321964a78b", "uuid": "f9bf2e83-ee86-48eb-95a7-ee25fb1eb327",
"type": "sprite", "type": "sprite",
"wrapMode": "clamp", "wrapMode": "clamp",
"filterMode": "bilinear", "filterMode": "bilinear",
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
"height": 720, "height": 720,
"platformSettings": {}, "platformSettings": {},
"subMetas": { "subMetas": {
"bg": { "bg_bg": {
"ver": "1.0.4", "ver": "1.0.4",
"uuid": "8288e3d4-4c75-4b27-8f01-f7014417f4dd", "uuid": "7d1dcca9-d680-4c80-bc65-2eb79ca79014",
"rawTextureUuid": "e1b4d971-9876-4832-803a-5a321964a78b", "rawTextureUuid": "f9bf2e83-ee86-48eb-95a7-ee25fb1eb327",
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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