diff --git a/play/assets/OP15/scene/OP15.fire b/play/assets/OP15/scene/OP15.fire index 5b35e712fa1c42c0e27a41758fbf608de4de43e1..41503665c5c81c058ea7b9d97027997e7040c45f 100644 --- a/play/assets/OP15/scene/OP15.fire +++ b/play/assets/OP15/scene/OP15.fire @@ -78,28 +78,28 @@ "__id__": 7 }, { - "__id__": 16 + "__id__": 21 }, { - "__id__": 20 + "__id__": 25 }, { - "__id__": 27 + "__id__": 32 }, { - "__id__": 37 + "__id__": 42 } ], "_active": true, "_components": [ { - "__id__": 39 + "__id__": 44 }, { - "__id__": 40 + "__id__": 45 }, { - "__id__": 41 + "__id__": 46 } ], "_prefab": null, @@ -354,13 +354,13 @@ "__id__": 8 }, { - "__id__": 10 + "__id__": 11 }, { - "__id__": 12 + "__id__": 14 }, { - "__id__": 14 + "__id__": 16 } ], "_active": true, @@ -425,6 +425,9 @@ "_components": [ { "__id__": 9 + }, + { + "__id__": 10 } ], "_prefab": null, @@ -450,8 +453,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -404.448, - 298.226, + -405.75, + 297.5, 0, 0, 0, @@ -515,6 +518,35 @@ "_N$enableBatch": false, "_id": "9bFG+c22BD2a/Z4z+3Qphb" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 8 + }, + "_enabled": true, + "alignMode": 1, + "_target": { + "__id__": 2 + }, + "_alignFlags": 9, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "d3fxA0xUBCQqpM8+W9JIlR" + }, { "__type__": "cc.Node", "_name": "m2", @@ -526,7 +558,10 @@ "_active": true, "_components": [ { - "__id__": 11 + "__id__": 12 + }, + { + "__id__": 13 } ], "_prefab": null, @@ -552,8 +587,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 522.398, - -327.701, + 521.5, + -327.5, 0, 0, 0, @@ -582,7 +617,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 10 + "__id__": 11 }, "_enabled": true, "_materials": [ @@ -617,6 +652,35 @@ "_N$enableBatch": false, "_id": "69jETD7JlCaKfYf6/U52mJ" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 11 + }, + "_enabled": true, + "alignMode": 1, + "_target": { + "__id__": 2 + }, + "_alignFlags": 36, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "2cJ0vdiOhGdbb730A5TGW3" + }, { "__type__": "cc.Node", "_name": "frame", @@ -628,7 +692,7 @@ "_active": true, "_components": [ { - "__id__": 13 + "__id__": 15 } ], "_prefab": null, @@ -684,7 +748,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 12 + "__id__": 14 }, "_enabled": true, "_materials": [ @@ -718,11 +782,80 @@ "_parent": { "__id__": 7 }, + "_children": [ + { + "__id__": 17 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 600, + "height": 796 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -4, + -15, + 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": "4cweWAxLhJZ6Y+paziXBfG" + }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "_parent": { + "__id__": 16 + }, "_children": [], "_active": true, "_components": [ { - "__id__": 15 + "__id__": 18 + }, + { + "__id__": 19 } ], "_prefab": null, @@ -771,14 +904,41 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "4cweWAxLhJZ6Y+paziXBfG" + "_id": "d94nPP8idNGr6q03hbqMzO" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 17 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "1d8sQxg/NNSp25adAamNWy" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 14 + "__id__": 17 }, "_enabled": true, "_materials": [ @@ -792,7 +952,7 @@ "__uuid__": "6b28d0ff-52cf-4358-8954-6382cbd08d5f" }, "_type": 0, - "_sizeMode": 0, + "_sizeMode": 1, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -803,7 +963,27 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "6bNsM74g1AwrXEO/dpul55" + "_id": "043OXqPFtE/ojMMjdM9l7i" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 16 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "adtMnEJZhHZ5+mqSoGphlG" }, { "__type__": "cc.Node", @@ -814,13 +994,13 @@ }, "_children": [ { - "__id__": 17 + "__id__": 22 } ], "_active": true, "_components": [ { - "__id__": 19 + "__id__": 24 } ], "_prefab": null, @@ -876,13 +1056,13 @@ "_name": "cat", "_objFlags": 0, "_parent": { - "__id__": 16 + "__id__": 21 }, "_children": [], "_active": true, "_components": [ { - "__id__": 18 + "__id__": 23 } ], "_prefab": null, @@ -938,7 +1118,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 17 + "__id__": 22 }, "_enabled": true, "_materials": [ @@ -947,7 +1127,7 @@ } ], "_armatureName": "Armature", - "_animationName": "", + "_animationName": "normal", "_preCacheMode": 0, "_cacheMode": 0, "playTimes": -1, @@ -966,7 +1146,7 @@ "__uuid__": "d502f83c-26e4-4742-9c98-f2ec226a3926" }, "_N$_defaultArmatureIndex": 0, - "_N$_animationIndex": 0, + "_N$_animationIndex": 3, "_N$_defaultCacheMode": 0, "_N$timeScale": 1, "_N$debugBones": false, @@ -978,7 +1158,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 16 + "__id__": 21 }, "_enabled": true, "alignMode": 1, @@ -1009,10 +1189,10 @@ }, "_children": [ { - "__id__": 21 + "__id__": 26 }, { - "__id__": 24 + "__id__": 29 } ], "_active": false, @@ -1070,16 +1250,16 @@ "_name": "btn_left", "_objFlags": 0, "_parent": { - "__id__": 20 + "__id__": 25 }, "_children": [], "_active": true, "_components": [ { - "__id__": 22 + "__id__": 27 }, { - "__id__": 23 + "__id__": 28 } ], "_prefab": null, @@ -1135,7 +1315,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 21 + "__id__": 26 }, "_enabled": true, "_materials": [ @@ -1167,7 +1347,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 21 + "__id__": 26 }, "_enabled": true, "_normalMaterial": null, @@ -1235,16 +1415,16 @@ "_name": "btn_right", "_objFlags": 0, "_parent": { - "__id__": 20 + "__id__": 25 }, "_children": [], "_active": true, "_components": [ { - "__id__": 25 + "__id__": 30 }, { - "__id__": 26 + "__id__": 31 } ], "_prefab": null, @@ -1300,7 +1480,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 24 + "__id__": 29 }, "_enabled": true, "_materials": [ @@ -1332,7 +1512,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 24 + "__id__": 29 }, "_enabled": true, "_normalMaterial": null, @@ -1404,13 +1584,13 @@ }, "_children": [ { - "__id__": 28 + "__id__": 33 }, { - "__id__": 31 + "__id__": 36 }, { - "__id__": 34 + "__id__": 39 } ], "_active": false, @@ -1468,11 +1648,11 @@ "_name": "font", "_objFlags": 0, "_parent": { - "__id__": 27 + "__id__": 32 }, "_children": [ { - "__id__": 29 + "__id__": 34 } ], "_active": true, @@ -1530,13 +1710,13 @@ "_name": "BRLNSDB", "_objFlags": 0, "_parent": { - "__id__": 28 + "__id__": 33 }, "_children": [], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 35 } ], "_prefab": null, @@ -1592,7 +1772,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 29 + "__id__": 34 }, "_enabled": true, "_materials": [], @@ -1623,11 +1803,11 @@ "_name": "img", "_objFlags": 0, "_parent": { - "__id__": 27 + "__id__": 32 }, "_children": [ { - "__id__": 32 + "__id__": 37 } ], "_active": true, @@ -1685,13 +1865,13 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 31 + "__id__": 36 }, "_children": [], "_active": true, "_components": [ { - "__id__": 33 + "__id__": 38 } ], "_prefab": null, @@ -1747,7 +1927,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 32 + "__id__": 37 }, "_enabled": true, "_materials": [], @@ -1775,11 +1955,11 @@ "_name": "audio", "_objFlags": 0, "_parent": { - "__id__": 27 + "__id__": 32 }, "_children": [ { - "__id__": 35 + "__id__": 40 } ], "_active": true, @@ -1837,13 +2017,13 @@ "_name": "btn", "_objFlags": 0, "_parent": { - "__id__": 34 + "__id__": 39 }, "_children": [], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 41 } ], "_prefab": null, @@ -1899,7 +2079,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 35 + "__id__": 40 }, "_enabled": true, "_clip": { @@ -1924,7 +2104,7 @@ "_active": false, "_components": [ { - "__id__": 38 + "__id__": 43 } ], "_prefab": null, @@ -1980,7 +2160,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 37 + "__id__": 42 }, "_enabled": true, "_materials": [ @@ -2069,6 +2249,9 @@ "wrongAudio": { "__uuid__": "73a669bb-5d2b-4085-a40c-3a5d4564e32c" }, + "logoCat": { + "__id__": 22 + }, "_id": "e687yyoRBIzZAOVRL8Sseh" } ] \ No newline at end of file diff --git a/play/assets/OP15/scene/OP15.js b/play/assets/OP15/scene/OP15.js index 8ba90a47559359e0fcb1e0952726a4e0719438a3..4b2f324f4f5cd54dbe98b84b358d2fef089804ff 100644 --- a/play/assets/OP15/scene/OP15.js +++ b/play/assets/OP15/scene/OP15.js @@ -69,6 +69,10 @@ cc.Class({ default: null, type: cc.AudioClip, }, + logoCat: { + default: null, + type: cc.Node + } }, @@ -80,6 +84,11 @@ cc.Class({ var dragonDisplay = node.getComponent(dragonBones.ArmatureDisplay); const state = dragonDisplay.playAnimation(name, times); + // dragonDisplay.addEventListener(dragonBones.EventObject.COMPLETE, (event) => { + // //TODO 这里写触å‘事件 + // //event.name为事件åç§° + // console.log(event.name) + // }, this); // animationDisplay.addEventListener(dragonBones.EventObject.COMPLETE, completeCallback); return state; }, @@ -240,6 +249,12 @@ cc.Class({ an.active = true; const dragonDisplay = an.getComponent(dragonBones.ArmatureDisplay); dragonDisplay.playAnimation('normal', 0); + const ddLogoCat = this.logoCat.getComponent(dragonBones.ArmatureDisplay) + ddLogoCat.playAnimation('right', 1) + ddLogoCat.once(dragonBones.EventObject.COMPLETE, function() { + this.logoCat.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', 0) + }, this) + playAudioByUrl(this.rightAudio, () => { resolve() }) @@ -263,6 +278,11 @@ cc.Class({ this._lastFingerPosition.dirty = false; return new Promise((resolve, reject) => { console.log('answer wrong', context.questionPlayTimes , context.maxQuestionTryTimes); + const ddLogoCat = this.logoCat.getComponent(dragonBones.ArmatureDisplay) + ddLogoCat.playAnimation('wrong', 1) + ddLogoCat.once(dragonBones.EventObject.COMPLETE, function() { + this.logoCat.getComponent(dragonBones.ArmatureDisplay).playAnimation('normal', 0) + }, this) playAudioByUrl(this.wrongAudio, () => { if (context.questionPlayTimes >= context.maxQuestionTryTimes) { const an = context.questions[context.questionIndex].node; @@ -339,6 +359,8 @@ cc.Class({ if(window.courseware && window.courseware.openOsmoFingerRead) { window.courseware.openOsmoFingerRead() } + var dragonDisplay = this.logoCat.getComponent(dragonBones.ArmatureDisplay); + const state = dragonDisplay.playAnimation('begin', 0); return new Promise((resolve,reject) => { playAudioByUrl(this.data.begin_audio, () => { console.log('game begin audio finish'); @@ -353,6 +375,8 @@ cc.Class({ playing: { entry: (ctx) => { console.log('entry play stage'); + var dragonDisplay = this.logoCat.getComponent(dragonBones.ArmatureDisplay); + const state = dragonDisplay.playAnimation('normal', 0); cc.assetManager.loadRemote(this.data.playing_audio, (err, audioClip) => { cc.audioEngine.playMusic(audioClip, true, 0.8); }); @@ -371,9 +395,10 @@ cc.Class({ ...QuestionsArrayStatus }, end: { - entry: (ctx, event) => { console.log('game end', ctx, event); + var dragonDisplay = this.logoCat.getComponent(dragonBones.ArmatureDisplay); + const state = dragonDisplay.playAnimation('end', 0); if(window.courseware && window.courseware.closeOsmoFingerRead) { window.courseware.closeOsmoFingerRead() } @@ -402,6 +427,12 @@ cc.Class({ // cc.tween(t).to(.8, {scale: .3}).to(.8, {scale: .25}).start(); const dragonDisplay = t.getComponent(dragonBones.ArmatureDisplay); dragonDisplay.playAnimation('enlarge', 1); + dragonDisplay.addEventListener(dragonBones.EventObject.COMPLETE, (event) => { + //TODO 这里写触å‘事件 + //event.name为事件åç§° + event.armature.animation.play('normal', 0); + console.log(event.animationState.name) + }, this); } } } @@ -537,19 +568,28 @@ cc.Class({ }, (err, data) => { console.log(err, data); const ground = cc.find(`Canvas/frame-border/ground`); - + const groundBg = cc.find(`Canvas/frame-border/ground/bg`); + groundBg.active = false; const baseRect = this.data.bgItem.rect; getSpriteFrimeByUrl(this.data.bgItem.url, (sf) => { - const gs = ground.getComponent(cc.Sprite); + const gs = groundBg.getComponent(cc.Sprite); gs.spriteFrame = sf; + groundBg.active = true; }); + let dbCount = 0; + let finishDbCount = 0 + for(const block of this.data.hotZoneItemArr) { + if (block.gIdx == '0' || block.gIdx == '1') { + dbCount++; + } + } for(const block of this.data.hotZoneItemArr) { if (block.gIdx == '2') { const s1 = ((ground.width / block.imgSizeW) + (ground.height / block.imgSizeH)) / 2 const node = new cc.Node(); - node.parent = ground; + node.parent = groundBg; const spr = node.addComponent(cc.Sprite); getSpriteFrimeByUrl(block.pic_url, (sf) => { spr.spriteFrame = sf; @@ -561,7 +601,8 @@ cc.Class({ const n = new cc.Node(); n.scale = 0.25; const db = n.addComponent(dragonBones.ArmatureDisplay); - + n.parent = ground; + n.active = false; loadDragonBones(db, { tex: block.texPngData.url, atlas: block.texJsonData.url, @@ -569,8 +610,13 @@ cc.Class({ }).then(({width, height}) => { n.width = width; n.height = height; - n.parent = ground; + n.active = true; db.playAnimation('normal', 0); + finishDbCount++; + console.log(finishDbCount, dbCount) + if (finishDbCount == dbCount) { + this.loadEnd(); + } }); if (block.gIdx == '0') { const rectInfo = { @@ -600,7 +646,7 @@ cc.Class({ // console.log(this.data); console.log('resource perload finish'); - this.loadEnd(); + if (window && window["air"] && window["air"].hideAirClassLoading) { window["air"].hideAirClassLoading(); } diff --git a/play/assets/OP15/script/defaultData.js b/play/assets/OP15/script/defaultData.js index 146802a1721bb01f120916fa5884a03d8cd186cd..a73df09a9d0b8eb44b122a9113c00e7da2b46d4c 100644 --- a/play/assets/OP15/script/defaultData.js +++ b/play/assets/OP15/script/defaultData.js @@ -1 +1,476 @@ -export const defaultData = {"begin_audio":"http://staging-teach.cdn.ireadabc.com/ce8446cedac3c367f4625c5a9b2c6095.mp3","playing_audio":"http://staging-teach.cdn.ireadabc.com/5a653a762babdfb2499d10a5efa8e837.mp3","end_audio":"http://staging-teach.cdn.ireadabc.com/0436231aed1f91741e0d67b235240df6.mp3","bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/adcccbd26e2cfa259920e24df01d4b92.png","rect":{"x":463.2,"y":0,"width":361.6,"height":480}},"hotZoneItemArr":[{"id":"1637913558655","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/7f150f68beaab13a9c06a1abbac69015.png","itemType":"pic","fontScale":1.00625,"imgScale":0.29020556227327693,"imgSizeW":1246,"imgSizeH":1654,"mapScale":1.00625,"dragDot":{"x":644,"y":240},"gIdx":"2","rect":{"x":0,"y":0,"width":361.6,"height":480}},{"id":"1637913875818","index":1,"audio_url":"http://staging-teach.cdn.ireadabc.com/2656b72aec7f6def07713fbc99309168.mp3","itemType":"rect","fontScale":1.00625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.00625,"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/20cbf3d186a197baaed38204dd017f51.json","name":"猫_ske.json"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/d7de5a32de3ee1ad660dc509ba8adf1d.json","name":"猫_tex.json"},"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/af86e967aab8632cd0b26d60a62f0675.png","name":"猫_tex.png"},"dragDot":{"x":644,"y":240},"gIdx":"0","labelText":"2","posX":513,"posY":305.9974318091834,"rect":{"x":4.8,"y":229,"width":90,"height":153.99}},{"id":"1637913918464","index":2,"audio_url":"http://staging-teach.cdn.ireadabc.com/323feb19d153069702ffd21097f18f79.mp3","itemType":"rect","fontScale":1.00625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.00625,"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/cd7c7a756c0f79d28f419576e3b85b0c.json","name":"é¸å_ske.json"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/7613f30893a5f64773a77723c1d67f0d.json","name":"é¸å_tex.json"},"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/59b2293ef4eea9d64ff9821bc5d69a6d.png","name":"é¸å_tex.png"},"dragDot":{"x":644,"y":240},"gIdx":"0","labelText":"4","posX":658,"posY":320.9974318091834,"rect":{"x":158.8,"y":275,"width":72,"height":91.99}},{"id":"1637913962077","index":3,"audio_url":"http://staging-teach.cdn.ireadabc.com/9bbf8ba2fa7f96ea5a95c27a384414a2.mp3","itemType":"rect","fontScale":1.00625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.00625,"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/d8506ebddb29c8d08b4b93376b45f5c9.json","name":"鸟_ske.json"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/9fad47c99025b7b229df52afb797ec5c.json","name":"鸟_tex.json"},"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/e86b136b9706768c5ca0dba3dc0aab21.png","name":"鸟_tex.png"},"dragDot":{"x":644,"y":240},"gIdx":"0","labelText":"6","posX":717,"posY":67.99743180918341,"rect":{"x":153.8,"y":45,"width":200,"height":45.99}},{"id":"1637914000998","index":4,"audio_url":"http://staging-teach.cdn.ireadabc.com/bf1924c502ca1a4ac928a31e7c8aa70e.mp3","itemType":"rect","fontScale":1.00625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.00625,"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/bd3c2cc93b1593433a58d8482972ff66.json","name":"苹果_ske.json"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/bd3c2cc93b1593433a58d8482972ff66.json","name":"苹果_ske.json"},"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/734ac06a7ef018b457e7ac7692789ffa.png","name":"苹果_tex.png"},"dragDot":{"x":644,"y":240},"gIdx":"0","posX":521,"posY":146.9974318091834,"rect":{"x":7.8,"y":109,"width":100,"height":75.99}},{"id":"1637914070798","index":5,"itemType":"rect","fontScale":1.00625,"imgScale":1,"imgSizeW":0,"imgSizeH":0,"mapScale":1.00625,"skeJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/b9fa85c227daa6539f12cab5a5058052.json","name":"鸡蛋_ske.json"},"texJsonData":{"url":"http://staging-teach.cdn.ireadabc.com/99aa8de7b69000ac6c5e0fb6a508b692.json","name":"鸡蛋_tex.json"},"texPngData":{"url":"http://staging-teach.cdn.ireadabc.com/09bd0a34a4508613fd7c167724e4a969.png","name":"鸡蛋_tex.png"},"dragDot":{"x":644,"y":240},"gIdx":"1","rect":{"x":80.8,"y":140,"width":200,"height":200}}]} \ No newline at end of file +export const defaultData = { + "playing_audio": "https://staging-teach.cdn.ireadabc.com/f6d5fc748e8491320bcff0a29a78efd9.mp3", + "begin_audio": "https://staging-teach.cdn.ireadabc.com/b1e5378083adac9950839772c7b67f34.mp3", + "end_audio": "https://staging-teach.cdn.ireadabc.com/cfceb637e79c80ef73428cc5d711129c.mp3", + "bgItem": { + "url": "https://staging-teach.cdn.ireadabc.com/adcccbd26e2cfa259920e24df01d4b92.png", + "rect": { + "x": 505.99, + "y": 0, + "width": 400.02, + "height": 531 + } + }, + "hotZoneItemArr": [{ + "id": "1637989476417", + "index": 0, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/c5c6cd890660a3c22fde393a3770458f.json", + "name": "å°æ±½è½¦_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/cea107517406463474d907e306163226.json", + "name": "å°æ±½è½¦_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/84bce64cd4259e604a458d08ddd75bec.png", + "name": "å°æ±½è½¦_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637989503084", + "index": 1, + "pic_url": "https://staging-teach.cdn.ireadabc.com/6c46921facf36b9f7d590faed1aac69c.png", + "itemType": "pic", + "fontScale": 1.103125, + "imgScale": 0.3210399032648126, + "imgSizeW": 1246, + "imgSizeH": 1654, + "mapScale": 1.103125, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "2", + "rect": { + "x": 1, + "y": 0, + "width": 400.02, + "height": 531 + } + }, { + "id": "1637989527254", + "index": 2, + "audio_url": "https://staging-teach.cdn.ireadabc.com/e31c3b1914837a611d4d3bb1ceb00773.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/d2d7de9f8079f36e8354d16e4ca26476.json", + "name": "房å_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/204ea18018a352a30fd233a46f9a0a1a.json", + "name": "房å_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/cf8da0ab00a7d9f34bdf8f490c29dcbf.png", + "name": "房å_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "13", + "posX": 799, + "posY": 199.4971589389092, + "rect": { + "x": 198.01, + "y": 132, + "width": 190, + "height": 134.99 + } + }, { + "id": "1637989873000", + "index": 3, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/ed2ac4931a9c00ff6c4298381722676e.json", + "name": "牛_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/0e153093ee7265b6a843847543d6110b.json", + "name": "牛_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/631661e13616eea6cde9f9e6610f5008.png", + "name": "牛_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637989920132", + "index": 4, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/1d4b251caf0c0b8245fb17cd8445672c.json", + "name": "农夫_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/1fdd04cacb6d543cf05ce64e8124a6ff.json", + "name": "农夫_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/8f582cb39eb349da08e06289b0ce6c16.png", + "name": "农夫_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637989946959", + "index": 5, + "audio_url": "https://staging-teach.cdn.ireadabc.com/bf1924c502ca1a4ac928a31e7c8aa70e.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/bd3c2cc93b1593433a58d8482972ff66.json", + "name": "苹果_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/1f54df317a8c86271e29d6db3ffb55ce.json", + "name": "苹果_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/734ac06a7ef018b457e7ac7692789ffa.png", + "name": "苹果_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "6", + "posX": 577, + "posY": 178.5, + "rect": { + "x": 2.01, + "y": 124, + "width": 138, + "height": 109 + } + }, { + "id": "1637990008894", + "index": 6, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/4503721901880d0b6c3ad6d4261e958b.json", + "name": "å°å¥³å©_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/fc4fd0b2f672dff7c7b2148830164090.json", + "name": "å°å¥³å©_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/4be41c15972caf99eef956ba48759c91.png", + "name": "å°å¥³å©_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637990039605", + "index": 7, + "audio_url": "https://staging-teach.cdn.ireadabc.com/323feb19d153069702ffd21097f18f79.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/cd7c7a756c0f79d28f419576e3b85b0c.json", + "name": "é¸å_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/7613f30893a5f64773a77723c1d67f0d.json", + "name": "é¸å_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/59b2293ef4eea9d64ff9821bc5d69a6d.png", + "name": "é¸å_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "12", + "posX": 756, + "posY": 309.5, + "rect": { + "x": 169.01, + "y": 267, + "width": 162, + "height": 85 + } + }, { + "id": "1637990077830", + "index": 8, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/55951c794b414ab58cca023642819e37.json", + "name": "æ¯é¸¡_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/47b93323b1d1e1e6020704c537f46820.json", + "name": "æ¯é¸¡_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/dd66021ff860b02a559d59817c71e27f.png", + "name": "æ¯é¸¡_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637990112530", + "index": 9, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/357fef8204228afb43d0ce73746228e5.json", + "name": "é±¼_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/f694e5442095a317fc7d8b1390e630c7.json", + "name": "é±¼_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/f566cca10fd83f62a465b144ac73d483.png", + "name": "é±¼_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637990135223", + "index": 10, + "audio_url": "https://staging-teach.cdn.ireadabc.com/b903b174f09107517b5d6f8934b73447.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/b9fa85c227daa6539f12cab5a5058052.json", + "name": "鸡蛋_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/99aa8de7b69000ac6c5e0fb6a508b692.json", + "name": "鸡蛋_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/09bd0a34a4508613fd7c167724e4a969.png", + "name": "鸡蛋_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "7", + "posX": 651, + "posY": 386.5, + "rect": { + "x": 99.01, + "y": 352, + "width": 92, + "height": 69 + } + }, { + "id": "1637990214160", + "index": 11, + "audio_url": "https://staging-teach.cdn.ireadabc.com/2656b72aec7f6def07713fbc99309168.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/20cbf3d186a197baaed38204dd017f51.json", + "name": "猫_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/d7de5a32de3ee1ad660dc509ba8adf1d.json", + "name": "猫_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/af86e967aab8632cd0b26d60a62f0675.png", + "name": "猫_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "10", + "posX": 554, + "posY": 369.5, + "rect": { + "x": 3.01, + "y": 314, + "width": 90, + "height": 111 + } + }, { + "id": "1637990319579", + "index": 12, + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/3d1d49e583d97cd5097d08102265b1c6.json", + "name": "èš‚èš_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/9a3a5c871b288aebb1e6920f1e9709f8.json", + "name": "èš‚èš_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/1fad62f313b6ff72a642cb4b15aeaf04.png", + "name": "èš‚èš_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "1", + "rect": { + "x": 100.01, + "y": 165.5, + "width": 200, + "height": 200 + } + }, { + "id": "1637990911365", + "index": 13, + "audio_url": "https://staging-teach.cdn.ireadabc.com/9bbf8ba2fa7f96ea5a95c27a384414a2.mp3", + "itemType": "rect", + "fontScale": 1.103125, + "imgScale": 1, + "imgSizeW": 0, + "imgSizeH": 0, + "mapScale": 1.103125, + "skeJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/d8506ebddb29c8d08b4b93376b45f5c9.json", + "name": "鸟_ske.json" + }, + "texJsonData": { + "url": "https://staging-teach.cdn.ireadabc.com/9fad47c99025b7b229df52afb797ec5c.json", + "name": "鸟_tex.json" + }, + "texPngData": { + "url": "https://staging-teach.cdn.ireadabc.com/e86b136b9706768c5ca0dba3dc0aab21.png", + "name": "鸟_tex.png" + }, + "dragDot": { + "x": 706, + "y": 265.5 + }, + "gIdx": "0", + "labelText": "8", + "posX": 757, + "posY": 104.5, + "rect": { + "x": 148.01, + "y": 81, + "width": 206, + "height": 47 + } + }] +} \ No newline at end of file