Commit 144337b0 authored by limingzhe's avatar limingzhe

fix: 点击播放音频 返回音效

parent 6227a63f
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,12 +2,32 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1066b0c4-930a-4bd6-9ddd-3f8f036e226e" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/../.idea/cc_mz_003.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/../.idea/encodings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/../.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/../.idea/modules.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/../.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/../.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/../.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/../.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/mz_003/scene/scene.fire" beforeDir="false" afterPath="$PROJECT_DIR$/assets/mz_003/scene/scene.fire" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/mz_003/script/scene.js" beforeDir="false" afterPath="$PROJECT_DIR$/assets/mz_003/script/scene.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/web-desktop/assets/main/config.json" beforeDir="false" afterPath="$PROJECT_DIR$/build/web-desktop/assets/main/config.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/build/web-desktop/assets/main/import/0c/0cd3ee167.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/build/web-desktop/assets/main/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/build/web-desktop/assets/main/index.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/library/imports/33/335fe6b8-2b52-45a9-a9c9-cb3b54014251.js" beforeDir="false" afterPath="$PROJECT_DIR$/library/imports/33/335fe6b8-2b52-45a9-a9c9-cb3b54014251.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/library/imports/33/335fe6b8-2b52-45a9-a9c9-cb3b54014251.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/library/imports/33/335fe6b8-2b52-45a9-a9c9-cb3b54014251.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/library/imports/c3/c3f18614-c716-4f1f-899f-09f073ac6c43.json" beforeDir="false" afterPath="$PROJECT_DIR$/library/imports/c3/c3f18614-c716-4f1f-899f-09f073ac6c43.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/library/uuid-to-mtime.json" beforeDir="false" afterPath="$PROJECT_DIR$/library/uuid-to-mtime.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/local/layout.editor.json" beforeDir="false" afterPath="$PROJECT_DIR$/local/layout.editor.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/local/node-tree-state.json" beforeDir="false" afterPath="$PROJECT_DIR$/local/node-tree-state.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package/Archive.zip" beforeDir="false" afterPath="$PROJECT_DIR$/package/Archive.zip" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package/play/assets/main/config.json" beforeDir="false" afterPath="$PROJECT_DIR$/package/play/assets/main/config.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package/play/assets/main/import/0c/0cd3ee167.json" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/package/play/assets/main/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/package/play/assets/main/index.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/settings/project.json" beforeDir="false" afterPath="$PROJECT_DIR$/settings/project.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/BackupAssets/assets/mz_003/scene/scene.fire" beforeDir="false" afterPath="$PROJECT_DIR$/temp/BackupAssets/assets/mz_003/scene/scene.fire" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/dst/__file_stats__.json" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/dst/__file_stats__.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/dst/__qc_bundle__.js" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/dst/__qc_bundle__.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/dst/__quick_compile__.js" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/dst/__quick_compile__.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/dst/assets/mz_003/script/scene.js" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/dst/assets/mz_003/script/scene.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/src/assets/mz_003/script/scene.js" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/src/assets/mz_003/script/scene.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/quick-scripts/src/assets/mz_003/script/scene.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/temp/quick-scripts/src/assets/mz_003/script/scene.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/temp/startup.json" beforeDir="false" afterPath="$PROJECT_DIR$/temp/startup.json" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" />
......@@ -23,8 +43,8 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/assets/mz_003/script/scene.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="406">
<caret line="745" selection-start-line="745" selection-end-line="745" />
<state relative-caret-position="200">
<caret line="852" column="36" selection-start-line="852" selection-start-column="36" selection-end-line="852" selection-end-column="36" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
......@@ -44,8 +64,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/creator.d.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="61980">
<caret line="4132" column="4" selection-start-line="4132" selection-start-column="4" selection-end-line="4132" selection-end-column="4" />
<state relative-caret-position="1568">
<caret line="13608" column="4" selection-start-line="13608" selection-start-column="4" selection-end-line="13608" selection-end-column="4" />
</state>
</provider>
</entry>
......@@ -65,7 +85,7 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/../../cocos_mz_001/play/assets/mz_001/script/scene.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6900">
<state relative-caret-position="668">
<caret line="460" column="2" selection-start-line="460" selection-start-column="2" selection-end-line="482" selection-end-column="3" />
<folding>
<element signature="n#!!doc" expanded="true" />
......@@ -78,13 +98,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>gidx</find>
<find>setonep</find>
<find>setone</find>
<find>seto</find>
<find>audio</find>
<find>item_click</find>
<find>canvasClick</find>
<find>_curShowItem =</find>
<find>Event</find>
<find>_dragLayer</find>
......@@ -107,8 +120,19 @@
<find>item</find>
<find>addCom</find>
<find>_curShowItem</find>
<find>touchend</find>
<find>setOnePic</find>
<find>audioClip</find>
<find>dragEnd</find>
<find>dragging</find>
<find>isDrag</find>
<find>itemAppear</find>
<find>_wrongAudioSource</find>
</findStrings>
<replaceStrings>
<replace>dragging</replace>
<replace>isDrag</replace>
</replaceStrings>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
......@@ -134,7 +158,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<expand>
......@@ -171,6 +194,7 @@
<select />
</subPane>
</pane>
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -204,11 +228,12 @@
<updated>1597213672621</updated>
<workItem from="1597213674034" duration="10942000" />
<workItem from="1597284452866" duration="1542000" />
<workItem from="1597368337011" duration="2818000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="12484000" />
<option name="totallyTimeSpent" value="15302000" />
</component>
<component name="ToolWindowManager">
<frame x="0" y="0" width="1680" height="1050" extended-state="0" />
......@@ -218,7 +243,7 @@
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Find" order="1" weight="0.32959184" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
......@@ -227,7 +252,7 @@
<window_info anchor="bottom" id="Version Control" order="7" />
<window_info anchor="bottom" id="Docker" order="8" show_stripe_button="false" />
<window_info anchor="bottom" id="TypeScript" order="9" />
<window_info active="true" anchor="bottom" id="Terminal" order="10" visible="true" weight="0.23979592" />
<window_info anchor="bottom" id="Terminal" order="10" weight="0.23979592" />
<window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
......@@ -248,16 +273,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/assets/mz_003/script/scene.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="406">
<caret line="745" selection-start-line="745" selection-end-line="745" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/assets/mz_003/script/util.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1110">
......@@ -265,13 +280,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/creator.d.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="61980">
<caret line="4132" column="4" selection-start-line="4132" selection-start-column="4" selection-end-line="4132" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/assets/mz_003/prefab/bgBottom.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4230">
......@@ -284,7 +292,7 @@
</entry>
<entry file="file://$PROJECT_DIR$/../../cocos_mz_001/play/assets/mz_001/script/scene.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="6900">
<state relative-caret-position="668">
<caret line="460" column="2" selection-start-line="460" selection-start-column="2" selection-end-line="482" selection-end-column="3" />
<folding>
<element signature="n#!!doc" expanded="true" />
......@@ -292,5 +300,22 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/creator.d.ts">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1568">
<caret line="13608" column="4" selection-start-line="13608" selection-start-column="4" selection-end-line="13608" selection-end-column="4" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/assets/mz_003/script/scene.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="852" column="36" selection-start-line="852" selection-start-column="36" selection-end-line="852" selection-end-column="36" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
{
"ver": "1.1.2",
"uuid": "4fd428f3-cf22-467b-8ae4-09dfc1fa94c2",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}
\ No newline at end of file
{
"ver": "2.0.1",
"uuid": "d36dd89b-a002-4dc6-8383-ea534341830e",
"downloadMode": 0,
"duration": 1.802449,
"subMetas": {}
}
\ No newline at end of file
......@@ -90,16 +90,16 @@
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 54
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 54
"__id__": 56
},
{
"__id__": 55
"__id__": 57
}
],
"_prefab": null,
......@@ -1888,12 +1888,15 @@
},
{
"__id__": 49
},
{
"__id__": 51
}
],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 53
}
],
"_prefab": null,
......@@ -2132,6 +2135,86 @@
"_atlas": null,
"_id": "735KnSkDlGq7CTWO843StW"
},
{
"__type__": "cc.Node",
"_name": "wrong_audio",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "79Y7ITmj5FDq00IFEjMEnj"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_clip": {
"__uuid__": "d36dd89b-a002-4dc6-8383-ea534341830e"
},
"_volume": 0.4,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": true,
"_id": "e4FqxYDQ5DMavcb/jH9rzz"
},
{
"__type__": "cc.Sprite",
"_name": "",
......
......@@ -195,9 +195,15 @@ cc.Class({
loadEnd() {
this.initView();
this.initAudio();
this.initListener();
},
_wrongAudioSource: null,
initAudio() {
this._wrongAudioSource = cc.find('Canvas/res/wrong_audio').getComponent(cc.AudioSource);
},
initListener() {
const bgBottom = cc.find('Canvas/bgBottom');
// bgBottom.on('item_click', (item) => {
......@@ -739,9 +745,11 @@ cc.Class({
touchStartItem(item) {
if (item.data.dragEnd) {
if (item.data.isDrag) {
return;
}
item.data.isDrag = true;
const circleSmallNode = cc.find('Canvas/res/circle_bg_small')
......@@ -822,7 +830,6 @@ cc.Class({
circle.active = false;
this._curShowItem.active = false;
circle.data.dragEnd = true;
cc.tween(this._curShowItem.data.pic)
.to(3, {opacity: 255}, {easing: 'cubicOut'})
......@@ -836,14 +843,27 @@ cc.Class({
itemBack() {
const startPos = cc.v2(this._curShowItem.x, this._curShowItem.y);
const endPos = cc.v2(this._curShowItem.baseX, this._curShowItem.baseY);
let distance = startPos.sub(endPos).mag();
if (distance <= 20 && this._curShowItem.data.audioClip) {
cc.audioEngine.stopAll();
cc.audioEngine.play(this._curShowItem.data.audioClip, false, 0.8);
} else {
this._wrongAudioSource.play();
}
const backItem = this._curShowItem;
cc.tween(backItem)
.to(0.3, {x: backItem.baseX, y: backItem.baseY}, {easing: 'elasticOut'})
.call(( ) => {
backItem.bgBottomItem.opacity = 255;
backItem.removeFromParent();
backItem.data.isDrag = false;
})
.start();
},
......
{"paths":{},"types":[],"uuids":["c38YYUxxZPH4mfCfBzrGxD","02delMVqdBD70a/HSD99FK","10jEphdBFOu6ZZQmSeBs3z","1ejl+z0StELb2mEvEiZ6vl","2cft3BKilLWYRehZ1Q6yQk","35MdfsfclJvb6Ukmd9ybfA","3dKPHJglZBzI+eAcfj4Tcf","43dIM3eEVID7q17+J3if3y","47IBQCBJVA+JgCZj8hhYJe","58amK658xERYqfswqnS0cS","715WE7gFNIGbQtzftIwBVD","7fzFsTopZEqKXU6N7lZOLJ","82nQe40gpGGLBfTRrGc7FO","8bAJ+sKehJ1J1k2EgZ9QAz","8e8ut3kpRBhpKmX4dq0oBB","8fjHmUGH5DnrGqgruYvYar","99k7fI5ORLSIkinFX0I72z","9bvaMerUlDyary99mJa6xp","a2MjXRFdtLlYQ5ouAFv/+R","a61QWNTm1PcKeDbmxqviuz","a8ok1LbyZDWKL7JK1OVhjE","abBAGcwMFDC6xD0tMtsFUn","b8nYBWqRFFm6W9ONFNUD7C","c8Gskh2AlF1Zhou/3P22sh","d8HsitJHxOYqo801xBk8ev","d9dporjeBOSIy7GiRYxWEt","e5N4U/fdJDP7EIQ6GrCaVv","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/mz_003/scene/scene.fire":0},"redirect":[1,0,27,0],"deps":["internal"],"packs":{"04d1e4274":[3,4,5,6,7,8,11,13,19,23,24],"0cd3ee167":[2,9,10,12,14,15,16,17,18,20,21,22,0,25,26]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true}
\ No newline at end of file
{"paths":{},"types":[],"uuids":["c38YYUxxZPH4mfCfBzrGxD","02delMVqdBD70a/HSD99FK","10jEphdBFOu6ZZQmSeBs3z","1ejl+z0StELb2mEvEiZ6vl","2cft3BKilLWYRehZ1Q6yQk","35MdfsfclJvb6Ukmd9ybfA","3dKPHJglZBzI+eAcfj4Tcf","43dIM3eEVID7q17+J3if3y","47IBQCBJVA+JgCZj8hhYJe","58amK658xERYqfswqnS0cS","715WE7gFNIGbQtzftIwBVD","7fzFsTopZEqKXU6N7lZOLJ","82nQe40gpGGLBfTRrGc7FO","8bAJ+sKehJ1J1k2EgZ9QAz","8e8ut3kpRBhpKmX4dq0oBB","8fjHmUGH5DnrGqgruYvYar","99k7fI5ORLSIkinFX0I72z","9bvaMerUlDyary99mJa6xp","a2MjXRFdtLlYQ5ouAFv/+R","a61QWNTm1PcKeDbmxqviuz","a8ok1LbyZDWKL7JK1OVhjE","abBAGcwMFDC6xD0tMtsFUn","b8nYBWqRFFm6W9ONFNUD7C","c8Gskh2AlF1Zhou/3P22sh","d3bdiboAJNxoOD6lNDQYMO","d8HsitJHxOYqo801xBk8ev","d9dporjeBOSIy7GiRYxWEt","e5N4U/fdJDP7EIQ6GrCaVv","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/mz_003/scene/scene.fire":0},"redirect":[1,0,28,0],"deps":["internal"],"packs":{"04d1e4274":[3,4,5,6,7,8,11,13,19,23,25],"084ae3525":[2,9,10,12,14,15,16,17,18,20,21,22,0,24,26,27]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true}
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"white_bg","texture":"47IBQCBJVA+JgCZj8hhYJe","rect":[0,0,1280,640],"offset":[0,0],"originalSize":[1280,640],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg","texture":"35MdfsfclJvb6Ukmd9ybfA","rect":[0,0,715,715],"offset":[0,0],"originalSize":[715,715],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg","texture":"2cft3BKilLWYRehZ1Q6yQk","rect":[0,0,620,630],"offset":[0,0],"originalSize":[620,630],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"page_down","texture":"c8Gskh2AlF1Zhou/3P22sh","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},{"__type__":"cc.TTFFont","_name":"KGMissKindyMarker","_native":"KGMissKindyMarker.ttf"},{"__type__":"cc.SpriteFrame","content":{"name":"page_up","texture":"8bAJ+sKehJ1J1k2EgZ9QAz","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"bgBottom","data":{"__id__":1}},{"__type__":"cc.Node","_name":"bgBottom","_children":[{"__id__":2},{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":7},{"__id__":9}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":1}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":2}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":1},"_children":[{"__id__":6}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":5}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":5},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":1},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":7},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_panel","texture":"d8HsitJHxOYqo801xBk8ev","rect":[0,0,20,20],"offset":[0,0],"originalSize":[20,20],"capInsets":[6,6,6,6]}},{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_bottom","texture":"a61QWNTm1PcKeDbmxqviuz","rect":[0,0,1280,132],"offset":[0,0],"originalSize":[1280,132],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_points","texture":"1ejl+z0StELb2mEvEiZ6vl","rect":[0,0,1279,720],"offset":[-0.5,0],"originalSize":[1280,720],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_down","texture":"43dIM3eEVID7q17+J3if3y","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}},[{"__type__":"cc.SceneAsset","_name":"scene","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_active":false,"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7},{"__id__":16}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1280,"height":720},"_fitHeight":false},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":45},{"__type__":"335fea4K1JFqanJyztUAUJR","node":{"__id__":2}},{"__type__":"cc.Button","node":{"__id__":2}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[640,360,0,0,0,0,1,1,1,1]},"_id":"a5esZu+45LA5mBpvttspPD"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1},{"__type__":"cc.Widget","node":{"__id__":3},"_alignFlags":45,"_originalWidth":1280,"_originalHeight":720}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"58amK658xERYqfswqnS0cS"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"alignMode":2,"_left":282.5,"_top":2.5,"_originalWidth":715,"_originalHeight":715}],"_contentSize":{"__type__":"cc.Size","width":715,"height":715},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgPoint","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"abBAGcwMFDC6xD0tMtsFUn"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":44,"_bottom":-10,"_originalWidth":1280}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-10,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgWhite","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"10jEphdBFOu6ZZQmSeBs3z"}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":640},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,38.789,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgBottom","_parent":{"__id__":2},"_children":[{"__id__":8},{"__id__":9},{"__id__":10},{"__id__":11},{"__id__":13},{"__id__":15}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":8}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,0,0,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":7},"_children":[{"__id__":12}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":11},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":11}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":11},"_components":[{"__type__":"cc.Sprite","node":{"__id__":12},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":7},"_children":[{"__id__":14}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":13},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":13},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":13}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":13},"_components":[{"__type__":"cc.Sprite","node":{"__id__":14},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":7},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"res","_parent":{"__id__":2},"_children":[{"__id__":17},{"__id__":18}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":16},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":17},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg_small","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":18},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"d9dporjeBOSIy7GiRYxWEt"}}],"_contentSize":{"__type__":"cc.Size","width":98,"height":98},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg_small","texture":"7fzFsTopZEqKXU6N7lZOLJ","rect":[0,0,98,98],"offset":[0,0],"originalSize":[98,98],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_up","texture":"3dKPHJglZBzI+eAcfj4Tcf","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"white_bg","texture":"47IBQCBJVA+JgCZj8hhYJe","rect":[0,0,1280,640],"offset":[0,0],"originalSize":[1280,640],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg","texture":"35MdfsfclJvb6Ukmd9ybfA","rect":[0,0,715,715],"offset":[0,0],"originalSize":[715,715],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg","texture":"2cft3BKilLWYRehZ1Q6yQk","rect":[0,0,620,630],"offset":[0,0],"originalSize":[620,630],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"page_down","texture":"c8Gskh2AlF1Zhou/3P22sh","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},{"__type__":"cc.TTFFont","_name":"KGMissKindyMarker","_native":"KGMissKindyMarker.ttf"},{"__type__":"cc.SpriteFrame","content":{"name":"page_up","texture":"8bAJ+sKehJ1J1k2EgZ9QAz","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"bgBottom","data":{"__id__":1}},{"__type__":"cc.Node","_name":"bgBottom","_children":[{"__id__":2},{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":7},{"__id__":9}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":1}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":2}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":1},"_children":[{"__id__":6}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":5}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":5},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":1},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":7},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_panel","texture":"d8HsitJHxOYqo801xBk8ev","rect":[0,0,20,20],"offset":[0,0],"originalSize":[20,20],"capInsets":[6,6,6,6]}},{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_bottom","texture":"a61QWNTm1PcKeDbmxqviuz","rect":[0,0,1280,132],"offset":[0,0],"originalSize":[1280,132],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_points","texture":"1ejl+z0StELb2mEvEiZ6vl","rect":[0,0,1279,720],"offset":[-0.5,0],"originalSize":[1280,720],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_down","texture":"43dIM3eEVID7q17+J3if3y","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}},[{"__type__":"cc.SceneAsset","_name":"scene","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_active":false,"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7},{"__id__":16}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1280,"height":720},"_fitHeight":false},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":45},{"__type__":"335fea4K1JFqanJyztUAUJR","node":{"__id__":2}},{"__type__":"cc.Button","node":{"__id__":2}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[640,360,0,0,0,0,1,1,1,1]},"_id":"a5esZu+45LA5mBpvttspPD"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1},{"__type__":"cc.Widget","node":{"__id__":3},"_alignFlags":45,"_originalWidth":1280,"_originalHeight":720}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"58amK658xERYqfswqnS0cS"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"alignMode":2,"_left":282.5,"_top":2.5,"_originalWidth":715,"_originalHeight":715}],"_contentSize":{"__type__":"cc.Size","width":715,"height":715},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgPoint","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"abBAGcwMFDC6xD0tMtsFUn"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":44,"_bottom":-10,"_originalWidth":1280}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-10,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgWhite","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"10jEphdBFOu6ZZQmSeBs3z"}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":640},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,38.789,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgBottom","_parent":{"__id__":2},"_children":[{"__id__":8},{"__id__":9},{"__id__":10},{"__id__":11},{"__id__":13},{"__id__":15}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":8}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,0,0,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":7},"_children":[{"__id__":12}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":11},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":11}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":11},"_components":[{"__type__":"cc.Sprite","node":{"__id__":12},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":7},"_children":[{"__id__":14}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":13},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":13},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":13}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":13},"_components":[{"__type__":"cc.Sprite","node":{"__id__":14},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":7},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"res","_parent":{"__id__":2},"_children":[{"__id__":17},{"__id__":18},{"__id__":19}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":16},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":17},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg_small","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":18},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"d9dporjeBOSIy7GiRYxWEt"}}],"_contentSize":{"__type__":"cc.Size","width":98,"height":98},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"wrong_audio","_parent":{"__id__":16},"_components":[{"__type__":"cc.AudioSource","node":{"__id__":19},"_clip":{"__uuid__":"d3bdiboAJNxoOD6lNDQYMO"},"_volume":0.4,"preload":true}],"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.AudioClip","_name":"wrong","_native":".mp3","duration":1.802449},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg_small","texture":"7fzFsTopZEqKXU6N7lZOLJ","rect":[0,0,98,98],"offset":[0,0],"originalSize":[98,98],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_up","texture":"3dKPHJglZBzI+eAcfj4Tcf","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
window.__require=function t(e,i,n){function o(c,h){if(!i[c]){if(!e[c]){var r=c.split("/");if(r=r[r.length-1],!e[r]){var s="function"==typeof __require&&__require;if(!h&&s)return s(r,!0);if(a)return a(r,!0);throw new Error("Cannot find module '"+c+"'")}c=r}var d=i[c]={exports:{}};e[c][0].call(d.exports,function(t){return o(e[c][1][t]||t)},d,d.exports,t,e,i,n)}return i[c].exports}for(var a="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({bgBottom:[function(t,e,i){"use strict";cc._RF.push(e,"ff0e9h++NlKOLbC+Bu/RH2+","bgBottom");var n=t("../script/util");cc.Class({extends:cc.Component,properties:{},_canTouch:null,_isTop:null,_arrowUp:null,_arrowDown:null,_pageIndex:null,_maxPage:null,_lineMaxCount:null,_disW:null,onLoad:function(){this._canTouch=!0,this._isTop=!1,this._arrowUp=this.node.getChildByName("arrowUp"),this._arrowDown=this.node.getChildByName("arrowDown"),this.node.zIndex=10,this._itemLen=75,this._pageIndex=0,this._maxPage=0,this._disW=5;this._lineMaxCount=Math.floor(1190/(this._disW+this._itemLen))},start:function(){this._initListener(),this._initItemLayer()},_itemLayer:null,_initItemLayer:function(){this._itemLayer=new cc.Node,this.node.addChild(this._itemLayer)},_initListener:function(){this._initTopBtnListener(),this._initPageBtnListener()},_initTopBtnListener:function(){var t=this;this.node.getChildByName("btn").on("click",function(){if(t._canTouch){t._canTouch=!1;var e=80*t.node.scaleY,i=e;t._isTop&&(i=-e),cc.tween(t.node).by(.5,{y:i}).call(function(){t._canTouch=!0}).start(),t._setTopBtnState(.5),t._isTop=!t._isTop}})},_pageUpBtn:null,_pageDownBtn:null,_initPageBtnListener:function(){var t=this,e=this.node.getChildByName("pageUp");e.on("click",function(){t._canTouch&&(t._pageIndex<=0||(t._pageIndex--,t._refreshPage(),t._showBtnAnima(e)))}),this._pageUpBtn=e;var i=this.node.getChildByName("pageDown");i.on("click",function(){t._canTouch&&(t._pageIndex>=t._maxPage||(t._pageIndex++,t._refreshPage(),t._showBtnAnima(i)))}),this._pageDownBtn=i},_showBtnAnima:function(t){cc.tween(t).to(.08,{scale:1.3},{easing:"sineOut"}).to(.08,{scale:1},{easing:"sineOut"}).start()},_setPageBtnState:function(){0!=this._maxPage?(0==this._pageIndex?this._pageUpBtn.opacity=100:this._pageUpBtn.opacity=255,this._pageIndex==this._maxPage?this._pageDownBtn.opacity=100:this._pageDownBtn.opacity=255):this._pageUpBtn.active=this._pageDownBtn.active=!1},_setTopBtnState:function(t){var e,i;this._isTop?(e=this._arrowDown,i=this._arrowUp):(e=this._arrowUp,i=this._arrowDown),e.scale=1,i.scale=0,cc.tween(e).to(t/2,{scale:0},{easing:"cubicOut"}).start(),cc.tween(i).delay(t/2).to(t/2,{scale:1},{easing:"cubicOut"}).start()},_dataArr:null,setItemData:function(t){console.log(" in setItemData",t),t&&0!=t.length&&(this._dataArr=t,this._maxPage=Math.ceil(t.length/this._lineMaxCount)-1,this._pageIndex=0,this._refreshPage())},_itemLen:null,_addOneItem:function(t){var e=new cc.Node;return e.width=this._itemLen,e.height=this._itemLen,e.data=t,this._addItemPic(e,t.pic_url),this._addItemLabel(e,t.text),this._addItemAudio(e,t.audio_url),this._addItemListener(e),t.isClicked&&(e.opacity=100),e},_addItemPic:function(t,e){var i=this;if(e){var o=.8*this._itemLen;cc.assetManager.loadRemote(e,function(e,a){var c=new cc.Node;t.addChild(c),c.width=a.width,c.height=a.height,c.y=(i._itemLen-o)/2,(0,n.setSprNodeMaxLen)(c,o,o);var h=new cc.SpriteFrame(a);c.addComponent(cc.Sprite).spriteFrame=h})}},_labelFont:null,_addItemLabel:function(t,e){if(e){var i=new cc.Node;i.color=cc.Color.BLACK;var n=i.addComponent(cc.Label);if(n.string=e,t.addChild(i),i.y=.4*-this._itemLen,n.fontSize=16,n.verticalAlign=cc.Label.VerticalAlign.CENTER,!this._labelFont){var o=this.node.getChildByName("font").getComponent(cc.Label);this._labelFont=o.font}n.font=this._labelFont}},_addItemAudio:function(t,e){e&&cc.assetManager.loadRemote(e,function(e,i){t.audioClip=i})},_addItemListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(i){console.log(" in cc.Node.EventType.TOUCH_START"),e.node.emit("item_touch_start",t),console.log("e: ",i)})},_refreshPage:function(){var t=this;this._itemLayer.removeAllChildren();var e=this._dataArr,i=this._disW,n=this._pageIndex*this._lineMaxCount,o=e.slice(n,n+this._lineMaxCount),a=-(i+this._itemLen)*(o.length-1)/2;o.forEach(function(e,n){var o=t._addOneItem(e);t._itemLayer.addChild(o),o.x=a+(i+t._itemLen)*n,o.y=-25}),this._setPageBtnState()}}),cc._RF.pop()},{"../script/util":"util"}],scene:[function(t,e,i){"use strict";cc._RF.push(e,"335fea4K1JFqanJyztUAUJR","scene");t("./util");cc.Class({extends:cc.Component,properties:{baseWidth:{default:1280,type:cc.Integer},baseHeight:{default:720,type:cc.Integer}},onLoad:function(){this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,initSize:function(){this._designSize=cc.view.getDesignResolutionSize()},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.addPreloadAnima(),this.preload()},getData:function(t){t(this.getDefaultData())},getDefaultData:function(){return JSON.parse('{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/3dd0eab42b3c17d7c28d3792f8a985b9.png","rect":{"x":188.28,"y":0,"width":780.44,"height":439}},"hotZoneItemArr":[{"id":"1597212942004","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/8734cd9faae8092a38fff9398330222d.png","text":"aaa","audio_url":"http://staging-teach.cdn.ireadabc.com/f51e3fedc88aa69a99f6ef579f7de047.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":0.375,"mapScale":0.90390625,"gIdx":"0","rect":{"x":4.13,"y":208.1,"width":75,"height":75}},{"id":"1597213039921","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/18f2a029e02d679da8d42746daea228f.png","text":"bbb","audio_url":"http://staging-teach.cdn.ireadabc.com/fbe2f23b9eb191a9330f99800e0d54d5.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":5.119657856821507,"mapScale":0.90390625,"gIdx":"0","rect":{"x":419.85,"y":124,"width":255.98,"height":255.98}}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(e,i){console.log(" preload data, ",i),t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){this.data.bgItem&&this._imageResList.push({url:this.data.bgItem.url})},addPreloadAudio:function(){var t=this;this.data.hotZoneItemArr&&this.data.hotZoneItemArr.forEach(function(e){t._audioResList.push({url:e.audio_url})})},addPreloadAnima:function(){this.data.hotZoneItemArr},loadEnd:function(){this.initView(),this.initListener()},initListener:function(){var t=this;cc.find("Canvas/bgBottom").on("item_touch_start",function(e){t.touchStartItem(e)});var e=cc.find("Canvas");e.on(cc.Node.EventType.TOUCH_MOVE,function(e){t.canvasTouchMove(e)}),e.on(cc.Node.EventType.TOUCH_CANCEL,function(e){t.canvasTouchEnd(e)}),e.on(cc.Node.EventType.TOUCH_END,function(e){t.canvasTouchEnd(e)})},initView:function(){this.initBg(),this.initHotZone()},_cocosScale:null,initBg:function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,i=cc.winSize.height/t.height,n=Math.min(e,i);this._cocosScale=n;var o=cc.find("Canvas/bg");e=t.width/o.width,i=t.height/o.height,o.scale=Math.max(e,i)*n,o.anchorX=1,o.anchorY=0,o.x=t.width/2*n,o.y=-t.height/2*n},initHotZone:function(){this.initHotZoneBg()},hotZoneBg:null,hotzoneCircleArr:null,initHotZoneBg:function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas"),this.hotZoneBg.zIndex=4,this.hotzoneCircleArr=[],this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(e,i){t.addMask(t.hotZoneBg),t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;t.hotZoneBg.getBoundingBox();var n=cc.view.getFrameSize();cc.winSize;console.log("this.hotZoneBg.box: ",t.hotZoneBg.getBoundingBox()),console.log("let visiSize=cc.director.getVisibleSize();: ",cc.view.getVisibleSize()),console.log("lframeSize: ",n);var o=n.width/t._designSize.width,a=n.height/t._designSize.height,c=Math.min(o,a),h=cc.find("Canvas/bgBottom");h.scale=c*t._cocosScale,o=n.width*t._cocosScale/i.width,a=(n.height*t._cocosScale-80*c*t._cocosScale)/i.height;var r=new cc.Node,s=new cc.SpriteFrame(i);r.addComponent(cc.Sprite).spriteFrame=s,r.width=t.hotZoneBg.width,r.height=t.hotZoneBg.height,r.parent=t.hotZoneBg,t.hotZoneBg.scale=Math.min(o,a),t.hotZoneBg.y=n.height/2*t._cocosScale-t.hotZoneBg.height/2*t.hotZoneBg.scaleY;var d=cc.find("Canvas/bgWhite");d.y=t.hotZoneBg.y,d.scaleX=t.hotZoneBg.width*t.hotZoneBg.scaleX/d.width,d.scaleY=t.hotZoneBg.height*t.hotZoneBg.scaleY/d.height;var l=cc.find("Canvas"),u=new cc.Node;u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,l.addChild(u);var g=u.addComponent(cc.Graphics);g.fillColor=cc.Color.BLACK.setA(30),g.fillRect(-d.width/2+8/d.scaleX*t.hotZoneBg.scale,-d.height/2-8/d.scaleX*t.hotZoneBg.scale,d.width,d.height),g.fill(),u.zIndex=1,d.zIndex=2,h.y=-n.height/2*t._cocosScale-15*h.scaleY,t.data.hotZoneItemArr.forEach(function(e){t.setOneCirclePoint(e),t.setOnePic(e)}),t.initBottomPart()})},addMask:function(t){t.addComponent(cc.Mask).type=cc.Mask.Type.RECT},initBottomPart:function(){var t=cc.find("Canvas/bgBottom").getComponent("bgBottom"),e=this.getBottomPicArr();t.setItemData(e)},getBottomPicArr:function(){var t=[];return this.hotzoneCircleArr.forEach(function(e){console.log("item: ",e),t.push(e.data),console.log("arr: ",t)}),console.log("hotzoneCircleArr: ",this.hotzoneCircleArr),console.log("arr: ",t),t},setOneAnima:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Graphics);n.lineWidth=4,n.strokeColor=cc.Color.BLACK,n.fillColor=cc.Color.WHITE.setA(100);var o=e/this.hotZoneBg.scaleY;i.width=t.rect.width*o,i.height=t.rect.height*o,i.x=-this.hotZoneBg.width/2+t.rect.x*o,i.y=this.hotZoneBg.height/2-t.rect.height*o-t.rect.y*o,i.anchorX=i.anchorY=0,this.data.bgItem.isShowDebugLine&&n.rect(0,0,i.width,i.height),n.stroke(),n.fill();var a=new cc.Node;a.name="anima_"+t.index,this.hotZoneBg.addChild(a),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){a.audioClip=e});var c=a.addComponent(dragonBones.ArmatureDisplay),h=t.texPngData.url,r=t.skeJsonData.url,s=t.texJsonData.url;cc.loader.load(h,function(t,e){cc.loader.load({url:s,type:"txt"},function(t,n){cc.loader.load({url:r,type:"txt"},function(t,o){var h=new dragonBones.DragonBonesAtlasAsset;h.atlasJson=n,h.texture=e;var r=new dragonBones.DragonBonesAsset;r.dragonBonesJson=o,c.dragonAtlasAsset=h,c.dragonAsset=r;var s=JSON.parse(r.dragonBonesJson).armature;console.log("armatures: ",s);for(var d=[],l=0;l<s.length;l++)d.push(s[l].name);if(d.length>0){var u=d[0];c.armatureName=u;for(var g=s[0].animation,m=[],_=0;_<g.length;_++)m.push(g[_].name);i.addComponent(cc.Button),i.on("click",function(){i.isClicked,i.isClicked=!0,console.log("clicked"),a.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(a.audioClip,!1,.8)),m.length>0&&c.playAnimation(m[0],1)})}})})})},setOnePic:function(t){var e=this,i=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.data=t,this.hotZoneBg.addChild(n),cc.loader.load({url:t.pic_url},function(o,a){n.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(a);var c=i/e.hotZoneBg.scaleY;n.width=t.rect.width*c,n.height=t.rect.height*c,n.x=-e.hotZoneBg.width/2+t.rect.x*c,n.y=e.hotZoneBg.height/2-t.rect.height*c-t.rect.y*c,n.anchorX=n.anchorY=0,n.opacity=0,t.pic=n})},setOneCirclePoint:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,i.data=t,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Sprite),o=cc.find("Canvas/res/circle_bg_small");n.spriteFrame=o.getComponent(cc.Sprite).spriteFrame;var a=e/this.hotZoneBg.scaleY;i.width=o.width,i.height=o.height,i.x=-this.hotZoneBg.width/2+(t.rect.x+t.rect.width/2)*a,i.y=this.hotZoneBg.height/2-t.rect.height/2*a-t.rect.y*a,i.anchorX=i.anchorY=.5,t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(e,i){t.audioClip=i}),this.hotzoneCircleArr.push(i)},_curShowItem:null,bottomItemClick:function(t){},_toCenterShow:function(t){var e=cc.find("Canvas/bgBottom");cc.tween(t).to(1,{x:0,y:0,scale:e.scale},{easing:"cubicOut"}).call(function(){}).start(),t.isSmall=!1,t.zIndex=11},hideCurShowItem:function(){var t=this.getTargetCircleNode(),e=t.parent.convertToWorldSpaceAR(cc.v2(t.x+t.width/2,t.y+t.height/2)),i=this._curShowItem.parent.convertToNodeSpaceAR(cc.v2(e.x,e.y)),n=t.parent.scaleY*t.height*t.scaleY/this._curShowItem.height,o=this._curShowItem;o.cantouch=!1,cc.tween(this._curShowItem).to(1,{scale:.95*n,x:i.x,y:i.y},{easing:"cubicOut"}).call(function(){o.cantouch=!0}).start(),this._curShowItem.isSmall=!0,this._curShowItem.zIndex=9,this._curShowItem=null},getTargetCircleNode:function(){var t=this._curShowItem.data.index;return this.hotzoneCircleArr.find(function(e){return e.data.index==t})},canvasClick:function(){console.log("canvas click"),this._curShowItem&&this.hideCurShowItem()},touchStartItem:function(t){if(!t.data.dragEnd){var e=cc.find("Canvas/res/circle_bg_small"),i=cc.find("Canvas/bgBottom");t.opacity=0;var n=new cc.Node;n.parent=cc.find("Canvas"),n.zIndex=10,n.opacity=255,n.data=t.data,n.width=e.width,n.height=e.height,n.scale=i.scale*t.scale;var o=t.parent.convertToWorldSpaceAR(cc.v2(t.x,t.y)),a=n.parent.convertToNodeSpaceAR(cc.v2(o.x,o.y));n.x=a.x,n.y=a.y;var c=cc.instantiate(t);c.parent=n,c.opacity=255,c.x=0,c.y=0,c.scale=n.width/c.width,c.removeComponent(cc.Button);var h=t.getBoundingBoxToWorld(),r=n.getBoundingBoxToWorld(),s=h.width/r.width;console.log("worldRect1: ",h),console.log("worldRect2: ",r),console.log("rate: ",s),n.scale*=s,this._curShowItem=n,this._curShowItem.bgBottomItem=t,this._curShowItem.baseX=this._curShowItem.x,this._curShowItem.baseY=this._curShowItem.y}},checkOnTargetCircle:function(t){for(var e=0;e<this.hotzoneCircleArr.length;e++){var i=this.hotzoneCircleArr[e];if(i.data.index==this._curShowItem.data.index){var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(i.getBoundingBoxToWorld().contains(n))return void this.itemAppear(i)}}this.itemBack()},itemAppear:function(t){t.active=!1,this._curShowItem.active=!1,t.data.dragEnd=!0,cc.tween(this._curShowItem.data.pic).to(3,{opacity:255},{easing:"cubicOut"}).start(),t.data.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(t.data.audioClip,!1,.8))},itemBack:function(){var t=this._curShowItem;cc.tween(t).to(.3,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.bgBottomItem.opacity=255,t.removeFromParent()}).start()},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(t){this._curShowItem&&(this.checkOnTargetCircle(t),this._curShowItem=null)}}),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,i){"use strict";cc._RF.push(e,"5ac8b17OKNJaawviu75DIhe","util"),i.__esModule=!0,i.getPosByAngle=function(t,e){var i=t*Math.PI/180,n=Math.sin(i)*e,o=Math.cos(i)*e;return{x:n,y:o}},i.getAngleByPos=function(t,e,i,n){var o=Math.abs(t-i),a=Math.abs(e-n),c=Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),h=a/c,r=Math.acos(h),s=Math.floor(180/(Math.PI/r)*100)/100;i>t&&n>e&&(s=180-s);i===t&&n>e&&(s=180);i>t&&n===e&&(s=90);i<t&&n>e&&(s=180+s);i<t&&n===e&&(s=270);i<t&&n<e&&(s=360-s);return s},i.exchangeNodePos=function(t,e){return t.convertToNodeSpaceAR(e._parent.convertToWorldSpaceAR(cc.v2(e.x,e.y)))},i.RandomInt=function(t,e){void 0===e&&(e=0);var i=Math.max(t,e),n=Math.min(t,e);return Math.floor(Math.random()*(i-n)+n)},i.randomSortByArr=function(t){var e=[],i=t.concat();for(;i.length>0;){var n=Math.floor(i.length*Math.random());e.push(i[n]),i.splice(n,1)}return e},i.setSprNodeMaxLen=function(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);t.scale=Math.round(1e3*a)/1e3},i.localPosTolocalPos=function(t,e){var i=e.parent.convertToWorldSpaceAR(cc.v2(e.x,e.y));return t.parent.convertToNodeSpaceAR(cc.v2(i.x,i.y))},cc._RF.pop()},{}]},{},["bgBottom","scene","util"]);
\ No newline at end of file
window.__require=function t(e,i,n){function o(c,h){if(!i[c]){if(!e[c]){var r=c.split("/");if(r=r[r.length-1],!e[r]){var s="function"==typeof __require&&__require;if(!h&&s)return s(r,!0);if(a)return a(r,!0);throw new Error("Cannot find module '"+c+"'")}c=r}var d=i[c]={exports:{}};e[c][0].call(d.exports,function(t){return o(e[c][1][t]||t)},d,d.exports,t,e,i,n)}return i[c].exports}for(var a="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({bgBottom:[function(t,e,i){"use strict";cc._RF.push(e,"ff0e9h++NlKOLbC+Bu/RH2+","bgBottom");var n=t("../script/util");cc.Class({extends:cc.Component,properties:{},_canTouch:null,_isTop:null,_arrowUp:null,_arrowDown:null,_pageIndex:null,_maxPage:null,_lineMaxCount:null,_disW:null,onLoad:function(){this._canTouch=!0,this._isTop=!1,this._arrowUp=this.node.getChildByName("arrowUp"),this._arrowDown=this.node.getChildByName("arrowDown"),this.node.zIndex=10,this._itemLen=75,this._pageIndex=0,this._maxPage=0,this._disW=5;this._lineMaxCount=Math.floor(1190/(this._disW+this._itemLen))},start:function(){this._initListener(),this._initItemLayer()},_itemLayer:null,_initItemLayer:function(){this._itemLayer=new cc.Node,this.node.addChild(this._itemLayer)},_initListener:function(){this._initTopBtnListener(),this._initPageBtnListener()},_initTopBtnListener:function(){var t=this;this.node.getChildByName("btn").on("click",function(){if(t._canTouch){t._canTouch=!1;var e=80*t.node.scaleY,i=e;t._isTop&&(i=-e),cc.tween(t.node).by(.5,{y:i}).call(function(){t._canTouch=!0}).start(),t._setTopBtnState(.5),t._isTop=!t._isTop}})},_pageUpBtn:null,_pageDownBtn:null,_initPageBtnListener:function(){var t=this,e=this.node.getChildByName("pageUp");e.on("click",function(){t._canTouch&&(t._pageIndex<=0||(t._pageIndex--,t._refreshPage(),t._showBtnAnima(e)))}),this._pageUpBtn=e;var i=this.node.getChildByName("pageDown");i.on("click",function(){t._canTouch&&(t._pageIndex>=t._maxPage||(t._pageIndex++,t._refreshPage(),t._showBtnAnima(i)))}),this._pageDownBtn=i},_showBtnAnima:function(t){cc.tween(t).to(.08,{scale:1.3},{easing:"sineOut"}).to(.08,{scale:1},{easing:"sineOut"}).start()},_setPageBtnState:function(){0!=this._maxPage?(0==this._pageIndex?this._pageUpBtn.opacity=100:this._pageUpBtn.opacity=255,this._pageIndex==this._maxPage?this._pageDownBtn.opacity=100:this._pageDownBtn.opacity=255):this._pageUpBtn.active=this._pageDownBtn.active=!1},_setTopBtnState:function(t){var e,i;this._isTop?(e=this._arrowDown,i=this._arrowUp):(e=this._arrowUp,i=this._arrowDown),e.scale=1,i.scale=0,cc.tween(e).to(t/2,{scale:0},{easing:"cubicOut"}).start(),cc.tween(i).delay(t/2).to(t/2,{scale:1},{easing:"cubicOut"}).start()},_dataArr:null,setItemData:function(t){console.log(" in setItemData",t),t&&0!=t.length&&(this._dataArr=t,this._maxPage=Math.ceil(t.length/this._lineMaxCount)-1,this._pageIndex=0,this._refreshPage())},_itemLen:null,_addOneItem:function(t){var e=new cc.Node;return e.width=this._itemLen,e.height=this._itemLen,e.data=t,this._addItemPic(e,t.pic_url),this._addItemLabel(e,t.text),this._addItemAudio(e,t.audio_url),this._addItemListener(e),t.isClicked&&(e.opacity=100),e},_addItemPic:function(t,e){var i=this;if(e){var o=.8*this._itemLen;cc.assetManager.loadRemote(e,function(e,a){var c=new cc.Node;t.addChild(c),c.width=a.width,c.height=a.height,c.y=(i._itemLen-o)/2,(0,n.setSprNodeMaxLen)(c,o,o);var h=new cc.SpriteFrame(a);c.addComponent(cc.Sprite).spriteFrame=h})}},_labelFont:null,_addItemLabel:function(t,e){if(e){var i=new cc.Node;i.color=cc.Color.BLACK;var n=i.addComponent(cc.Label);if(n.string=e,t.addChild(i),i.y=.4*-this._itemLen,n.fontSize=16,n.verticalAlign=cc.Label.VerticalAlign.CENTER,!this._labelFont){var o=this.node.getChildByName("font").getComponent(cc.Label);this._labelFont=o.font}n.font=this._labelFont}},_addItemAudio:function(t,e){e&&cc.assetManager.loadRemote(e,function(e,i){t.audioClip=i})},_addItemListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(i){console.log(" in cc.Node.EventType.TOUCH_START"),e.node.emit("item_touch_start",t),console.log("e: ",i)})},_refreshPage:function(){var t=this;this._itemLayer.removeAllChildren();var e=this._dataArr,i=this._disW,n=this._pageIndex*this._lineMaxCount,o=e.slice(n,n+this._lineMaxCount),a=-(i+this._itemLen)*(o.length-1)/2;o.forEach(function(e,n){var o=t._addOneItem(e);t._itemLayer.addChild(o),o.x=a+(i+t._itemLen)*n,o.y=-25}),this._setPageBtnState()}}),cc._RF.pop()},{"../script/util":"util"}],scene:[function(t,e,i){"use strict";cc._RF.push(e,"335fea4K1JFqanJyztUAUJR","scene");t("./util");cc.Class({extends:cc.Component,properties:{baseWidth:{default:1280,type:cc.Integer},baseHeight:{default:720,type:cc.Integer}},onLoad:function(){this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,initSize:function(){this._designSize=cc.view.getDesignResolutionSize()},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.addPreloadAnima(),this.preload()},getData:function(t){t(this.getDefaultData())},getDefaultData:function(){return JSON.parse('{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/3dd0eab42b3c17d7c28d3792f8a985b9.png","rect":{"x":188.28,"y":0,"width":780.44,"height":439}},"hotZoneItemArr":[{"id":"1597212942004","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/8734cd9faae8092a38fff9398330222d.png","text":"aaa","audio_url":"http://staging-teach.cdn.ireadabc.com/f51e3fedc88aa69a99f6ef579f7de047.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":0.375,"mapScale":0.90390625,"gIdx":"0","rect":{"x":4.13,"y":208.1,"width":75,"height":75}},{"id":"1597213039921","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/18f2a029e02d679da8d42746daea228f.png","text":"bbb","audio_url":"http://staging-teach.cdn.ireadabc.com/fbe2f23b9eb191a9330f99800e0d54d5.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":5.119657856821507,"mapScale":0.90390625,"gIdx":"0","rect":{"x":419.85,"y":124,"width":255.98,"height":255.98}}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(e,i){console.log(" preload data, ",i),t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){this.data.bgItem&&this._imageResList.push({url:this.data.bgItem.url})},addPreloadAudio:function(){var t=this;this.data.hotZoneItemArr&&this.data.hotZoneItemArr.forEach(function(e){t._audioResList.push({url:e.audio_url})})},addPreloadAnima:function(){this.data.hotZoneItemArr},loadEnd:function(){this.initView(),this.initAudio(),this.initListener()},_wrongAudioSource:null,initAudio:function(){this._wrongAudioSource=cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource)},initListener:function(){var t=this;cc.find("Canvas/bgBottom").on("item_touch_start",function(e){t.touchStartItem(e)});var e=cc.find("Canvas");e.on(cc.Node.EventType.TOUCH_MOVE,function(e){t.canvasTouchMove(e)}),e.on(cc.Node.EventType.TOUCH_CANCEL,function(e){t.canvasTouchEnd(e)}),e.on(cc.Node.EventType.TOUCH_END,function(e){t.canvasTouchEnd(e)})},initView:function(){this.initBg(),this.initHotZone()},_cocosScale:null,initBg:function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,i=cc.winSize.height/t.height,n=Math.min(e,i);this._cocosScale=n;var o=cc.find("Canvas/bg");e=t.width/o.width,i=t.height/o.height,o.scale=Math.max(e,i)*n,o.anchorX=1,o.anchorY=0,o.x=t.width/2*n,o.y=-t.height/2*n},initHotZone:function(){this.initHotZoneBg()},hotZoneBg:null,hotzoneCircleArr:null,initHotZoneBg:function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas"),this.hotZoneBg.zIndex=4,this.hotzoneCircleArr=[],this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(e,i){t.addMask(t.hotZoneBg),t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;t.hotZoneBg.getBoundingBox();var n=cc.view.getFrameSize();cc.winSize;console.log("this.hotZoneBg.box: ",t.hotZoneBg.getBoundingBox()),console.log("let visiSize=cc.director.getVisibleSize();: ",cc.view.getVisibleSize()),console.log("lframeSize: ",n);var o=n.width/t._designSize.width,a=n.height/t._designSize.height,c=Math.min(o,a),h=cc.find("Canvas/bgBottom");h.scale=c*t._cocosScale,o=n.width*t._cocosScale/i.width,a=(n.height*t._cocosScale-80*c*t._cocosScale)/i.height;var r=new cc.Node,s=new cc.SpriteFrame(i);r.addComponent(cc.Sprite).spriteFrame=s,r.width=t.hotZoneBg.width,r.height=t.hotZoneBg.height,r.parent=t.hotZoneBg,t.hotZoneBg.scale=Math.min(o,a),t.hotZoneBg.y=n.height/2*t._cocosScale-t.hotZoneBg.height/2*t.hotZoneBg.scaleY;var d=cc.find("Canvas/bgWhite");d.y=t.hotZoneBg.y,d.scaleX=t.hotZoneBg.width*t.hotZoneBg.scaleX/d.width,d.scaleY=t.hotZoneBg.height*t.hotZoneBg.scaleY/d.height;var l=cc.find("Canvas"),u=new cc.Node;u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,l.addChild(u);var g=u.addComponent(cc.Graphics);g.fillColor=cc.Color.BLACK.setA(30),g.fillRect(-d.width/2+8/d.scaleX*t.hotZoneBg.scale,-d.height/2-8/d.scaleX*t.hotZoneBg.scale,d.width,d.height),g.fill(),u.zIndex=1,d.zIndex=2,h.y=-n.height/2*t._cocosScale-15*h.scaleY,t.data.hotZoneItemArr.forEach(function(e){t.setOneCirclePoint(e),t.setOnePic(e)}),t.initBottomPart()})},addMask:function(t){t.addComponent(cc.Mask).type=cc.Mask.Type.RECT},initBottomPart:function(){var t=cc.find("Canvas/bgBottom").getComponent("bgBottom"),e=this.getBottomPicArr();t.setItemData(e)},getBottomPicArr:function(){var t=[];return this.hotzoneCircleArr.forEach(function(e){console.log("item: ",e),t.push(e.data),console.log("arr: ",t)}),console.log("hotzoneCircleArr: ",this.hotzoneCircleArr),console.log("arr: ",t),t},setOneAnima:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Graphics);n.lineWidth=4,n.strokeColor=cc.Color.BLACK,n.fillColor=cc.Color.WHITE.setA(100);var o=e/this.hotZoneBg.scaleY;i.width=t.rect.width*o,i.height=t.rect.height*o,i.x=-this.hotZoneBg.width/2+t.rect.x*o,i.y=this.hotZoneBg.height/2-t.rect.height*o-t.rect.y*o,i.anchorX=i.anchorY=0,this.data.bgItem.isShowDebugLine&&n.rect(0,0,i.width,i.height),n.stroke(),n.fill();var a=new cc.Node;a.name="anima_"+t.index,this.hotZoneBg.addChild(a),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){a.audioClip=e});var c=a.addComponent(dragonBones.ArmatureDisplay),h=t.texPngData.url,r=t.skeJsonData.url,s=t.texJsonData.url;cc.loader.load(h,function(t,e){cc.loader.load({url:s,type:"txt"},function(t,n){cc.loader.load({url:r,type:"txt"},function(t,o){var h=new dragonBones.DragonBonesAtlasAsset;h.atlasJson=n,h.texture=e;var r=new dragonBones.DragonBonesAsset;r.dragonBonesJson=o,c.dragonAtlasAsset=h,c.dragonAsset=r;var s=JSON.parse(r.dragonBonesJson).armature;console.log("armatures: ",s);for(var d=[],l=0;l<s.length;l++)d.push(s[l].name);if(d.length>0){var u=d[0];c.armatureName=u;for(var g=s[0].animation,m=[],_=0;_<g.length;_++)m.push(g[_].name);i.addComponent(cc.Button),i.on("click",function(){i.isClicked,i.isClicked=!0,console.log("clicked"),a.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(a.audioClip,!1,.8)),m.length>0&&c.playAnimation(m[0],1)})}})})})},setOnePic:function(t){var e=this,i=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.data=t,this.hotZoneBg.addChild(n),cc.loader.load({url:t.pic_url},function(o,a){n.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(a);var c=i/e.hotZoneBg.scaleY;n.width=t.rect.width*c,n.height=t.rect.height*c,n.x=-e.hotZoneBg.width/2+t.rect.x*c,n.y=e.hotZoneBg.height/2-t.rect.height*c-t.rect.y*c,n.anchorX=n.anchorY=0,n.opacity=0,t.pic=n})},setOneCirclePoint:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,i.data=t,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Sprite),o=cc.find("Canvas/res/circle_bg_small");n.spriteFrame=o.getComponent(cc.Sprite).spriteFrame;var a=e/this.hotZoneBg.scaleY;i.width=o.width,i.height=o.height,i.x=-this.hotZoneBg.width/2+(t.rect.x+t.rect.width/2)*a,i.y=this.hotZoneBg.height/2-t.rect.height/2*a-t.rect.y*a,i.anchorX=i.anchorY=.5,t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(e,i){t.audioClip=i}),this.hotzoneCircleArr.push(i)},_curShowItem:null,bottomItemClick:function(t){},_toCenterShow:function(t){var e=cc.find("Canvas/bgBottom");cc.tween(t).to(1,{x:0,y:0,scale:e.scale},{easing:"cubicOut"}).call(function(){}).start(),t.isSmall=!1,t.zIndex=11},hideCurShowItem:function(){var t=this.getTargetCircleNode(),e=t.parent.convertToWorldSpaceAR(cc.v2(t.x+t.width/2,t.y+t.height/2)),i=this._curShowItem.parent.convertToNodeSpaceAR(cc.v2(e.x,e.y)),n=t.parent.scaleY*t.height*t.scaleY/this._curShowItem.height,o=this._curShowItem;o.cantouch=!1,cc.tween(this._curShowItem).to(1,{scale:.95*n,x:i.x,y:i.y},{easing:"cubicOut"}).call(function(){o.cantouch=!0}).start(),this._curShowItem.isSmall=!0,this._curShowItem.zIndex=9,this._curShowItem=null},getTargetCircleNode:function(){var t=this._curShowItem.data.index;return this.hotzoneCircleArr.find(function(e){return e.data.index==t})},canvasClick:function(){console.log("canvas click"),this._curShowItem&&this.hideCurShowItem()},touchStartItem:function(t){if(!t.data.isDrag){t.data.isDrag=!0;var e=cc.find("Canvas/res/circle_bg_small"),i=cc.find("Canvas/bgBottom");t.opacity=0;var n=new cc.Node;n.parent=cc.find("Canvas"),n.zIndex=10,n.opacity=255,n.data=t.data,n.width=e.width,n.height=e.height,n.scale=i.scale*t.scale;var o=t.parent.convertToWorldSpaceAR(cc.v2(t.x,t.y)),a=n.parent.convertToNodeSpaceAR(cc.v2(o.x,o.y));n.x=a.x,n.y=a.y;var c=cc.instantiate(t);c.parent=n,c.opacity=255,c.x=0,c.y=0,c.scale=n.width/c.width,c.removeComponent(cc.Button);var h=t.getBoundingBoxToWorld(),r=n.getBoundingBoxToWorld(),s=h.width/r.width;console.log("worldRect1: ",h),console.log("worldRect2: ",r),console.log("rate: ",s),n.scale*=s,this._curShowItem=n,this._curShowItem.bgBottomItem=t,this._curShowItem.baseX=this._curShowItem.x,this._curShowItem.baseY=this._curShowItem.y}},checkOnTargetCircle:function(t){for(var e=0;e<this.hotzoneCircleArr.length;e++){var i=this.hotzoneCircleArr[e];if(i.data.index==this._curShowItem.data.index){var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(i.getBoundingBoxToWorld().contains(n))return void this.itemAppear(i)}}this.itemBack()},itemAppear:function(t){t.active=!1,this._curShowItem.active=!1,cc.tween(this._curShowItem.data.pic).to(3,{opacity:255},{easing:"cubicOut"}).start(),t.data.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(t.data.audioClip,!1,.8))},itemBack:function(){var t=cc.v2(this._curShowItem.x,this._curShowItem.y),e=cc.v2(this._curShowItem.baseX,this._curShowItem.baseY);t.sub(e).mag()<=20&&this._curShowItem.data.audioClip?(cc.audioEngine.stopAll(),cc.audioEngine.play(this._curShowItem.data.audioClip,!1,.8)):this._wrongAudioSource.play();var i=this._curShowItem;cc.tween(i).to(.3,{x:i.baseX,y:i.baseY},{easing:"elasticOut"}).call(function(){i.bgBottomItem.opacity=255,i.removeFromParent(),i.data.isDrag=!1}).start()},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(t){this._curShowItem&&(this.checkOnTargetCircle(t),this._curShowItem=null)}}),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,i){"use strict";cc._RF.push(e,"5ac8b17OKNJaawviu75DIhe","util"),i.__esModule=!0,i.getPosByAngle=function(t,e){var i=t*Math.PI/180,n=Math.sin(i)*e,o=Math.cos(i)*e;return{x:n,y:o}},i.getAngleByPos=function(t,e,i,n){var o=Math.abs(t-i),a=Math.abs(e-n),c=Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),h=a/c,r=Math.acos(h),s=Math.floor(180/(Math.PI/r)*100)/100;i>t&&n>e&&(s=180-s);i===t&&n>e&&(s=180);i>t&&n===e&&(s=90);i<t&&n>e&&(s=180+s);i<t&&n===e&&(s=270);i<t&&n<e&&(s=360-s);return s},i.exchangeNodePos=function(t,e){return t.convertToNodeSpaceAR(e._parent.convertToWorldSpaceAR(cc.v2(e.x,e.y)))},i.RandomInt=function(t,e){void 0===e&&(e=0);var i=Math.max(t,e),n=Math.min(t,e);return Math.floor(Math.random()*(i-n)+n)},i.randomSortByArr=function(t){var e=[],i=t.concat();for(;i.length>0;){var n=Math.floor(i.length*Math.random());e.push(i[n]),i.splice(n,1)}return e},i.setSprNodeMaxLen=function(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);t.scale=Math.round(1e3*a)/1e3},i.localPosTolocalPos=function(t,e){var i=e.parent.convertToWorldSpaceAR(cc.v2(e.x,e.y));return t.parent.convertToNodeSpaceAR(cc.v2(i.x,i.y))},cc._RF.pop()},{}]},{},["bgBottom","scene","util"]);
\ No newline at end of file
......@@ -186,8 +186,13 @@ cc.Class({
},
loadEnd: function loadEnd() {
this.initView();
this.initAudio();
this.initListener();
},
_wrongAudioSource: null,
initAudio: function initAudio() {
this._wrongAudioSource = cc.find('Canvas/res/wrong_audio').getComponent(cc.AudioSource);
},
initListener: function initListener() {
var _this4 = this;
......@@ -628,10 +633,11 @@ cc.Class({
this.hideCurShowItem();
},
touchStartItem: function touchStartItem(item) {
if (item.data.dragEnd) {
if (item.data.isDrag) {
return;
}
item.data.isDrag = true;
var circleSmallNode = cc.find('Canvas/res/circle_bg_small');
var bgBottom = cc.find('Canvas/bgBottom');
item.opacity = 0;
......@@ -689,7 +695,6 @@ cc.Class({
itemAppear: function itemAppear(circle) {
circle.active = false;
this._curShowItem.active = false;
circle.data.dragEnd = true;
cc.tween(this._curShowItem.data.pic).to(3, {
opacity: 255
}, {
......@@ -702,6 +707,17 @@ cc.Class({
}
},
itemBack: function itemBack() {
var startPos = cc.v2(this._curShowItem.x, this._curShowItem.y);
var endPos = cc.v2(this._curShowItem.baseX, this._curShowItem.baseY);
var distance = startPos.sub(endPos).mag();
if (distance <= 20 && this._curShowItem.data.audioClip) {
cc.audioEngine.stopAll();
cc.audioEngine.play(this._curShowItem.data.audioClip, false, 0.8);
} else {
this._wrongAudioSource.play();
}
var backItem = this._curShowItem;
cc.tween(backItem).to(0.3, {
x: backItem.baseX,
......@@ -711,6 +727,7 @@ cc.Class({
}).call(function () {
backItem.bgBottomItem.opacity = 255;
backItem.removeFromParent();
backItem.data.isDrag = false;
}).start();
},
canvasTouchMove: function canvasTouchMove(e) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -91,16 +91,16 @@
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 54
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 54
"__id__": 56
},
{
"__id__": 55
"__id__": 57
}
],
"_prefab": null,
......@@ -1889,12 +1889,15 @@
},
{
"__id__": 49
},
{
"__id__": 51
}
],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 53
}
],
"_prefab": null,
......@@ -2133,6 +2136,86 @@
"_atlas": null,
"_id": "735KnSkDlGq7CTWO843StW"
},
{
"__type__": "cc.Node",
"_name": "wrong_audio",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "79Y7ITmj5FDq00IFEjMEnj"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_clip": {
"__uuid__": "d36dd89b-a002-4dc6-8383-ea534341830e"
},
"_volume": 0.4,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": true,
"_id": "e4FqxYDQ5DMavcb/jH9rzz"
},
{
"__type__": "cc.Sprite",
"_name": "",
......
{
"__type__": "cc.AudioClip",
"_name": "wrong",
"_objFlags": 0,
"_native": ".mp3",
"duration": 1.802449,
"loadMode": 0
}
\ No newline at end of file
......@@ -515,13 +515,13 @@
"relativePath": "mz_003/scene"
},
"c3f18614-c716-4f1f-899f-09f073ac6c43": {
"asset": 1597227117683,
"meta": 1597227117689,
"asset": 1597370954795,
"meta": 1597370954802,
"relativePath": "mz_003/scene/scene.fire"
},
"b5c6439b-d99b-428f-9454-22f767de4a02": {
"asset": 1597227114157,
"meta": 1597283962188,
"asset": 1597368895290,
"meta": 1597368919166,
"relativePath": "mz_003/script"
},
"3531d7ec-7dc9-49bd-be94-92677dc9b7c0": {
......@@ -599,9 +599,19 @@
"meta": 1597226532515,
"relativePath": "mz_003/prefab/bgBottom.js"
},
"4fd428f3-cf22-467b-8ae4-09dfc1fa94c2": {
"asset": 1597369244594,
"meta": 1597369244595,
"relativePath": "mz_003/audio"
},
"d36dd89b-a002-4dc6-8383-ea534341830e": {
"asset": 1597369249347,
"meta": 1597369249939,
"relativePath": "mz_003/audio/wrong.mp3"
},
"335fe6b8-2b52-45a9-a9c9-cb3b54014251": {
"asset": 1597284541361,
"meta": 1597284544320,
"asset": 1597370866564,
"meta": 1597370869301,
"relativePath": "mz_003/script/scene.js"
}
}
\ No newline at end of file
......@@ -18,7 +18,7 @@
"children": [
"hierarchy"
],
"height": 295.828125,
"height": 296.6875,
"type": "panel",
"width": 306
},
......@@ -28,12 +28,12 @@
"assets",
"cloud-function"
],
"height": 559.671875,
"height": 561.3125,
"type": "panel",
"width": 306
}
],
"height": 858.5,
"height": 861,
"type": "dock-v",
"width": 306
},
......@@ -46,7 +46,7 @@
"children": [
"scene"
],
"height": 587.65625,
"height": 589.375,
"type": "panel",
"width": 701.984375
},
......@@ -55,12 +55,12 @@
"children": [
"node-library"
],
"height": 587.65625,
"height": 589.375,
"type": "panel",
"width": 264
}
],
"height": 587.65625,
"height": 589.375,
"type": "dock-h",
"width": 969
},
......@@ -71,12 +71,12 @@
"timeline",
"game-window"
],
"height": 267.84375,
"height": 268.625,
"type": "panel",
"width": 969
}
],
"height": 858.5,
"height": 861,
"type": "dock-v",
"width": 969
},
......@@ -86,7 +86,7 @@
"inspector",
"cocos-services"
],
"height": 858.5,
"height": 861,
"type": "panel",
"width": 399
}
......@@ -106,8 +106,7 @@
"cocos-services"
]
},
"window-1597286493869": {},
"worker": {}
"window-1597372045932": {}
},
"panels": {
"sprite-editor": {
......
......@@ -35,6 +35,8 @@
"39Y15OWDlFc76I4DuYwljw",
"3bOMn6N4hJP5WlpEgN1tyP",
"3fjtSSnnNNBb9Db9xNkttL",
"5aAwYeWN5GlpJJBm6cMCUR"
"5aAwYeWN5GlpJJBm6cMCUR",
"2daSEONptJQLYU9aq8TOd+",
"01Xreos21IrrsAvhvN44JE"
]
}
No preview for this file type
{"paths":{},"types":[],"uuids":["c38YYUxxZPH4mfCfBzrGxD","02delMVqdBD70a/HSD99FK","10jEphdBFOu6ZZQmSeBs3z","1ejl+z0StELb2mEvEiZ6vl","2cft3BKilLWYRehZ1Q6yQk","35MdfsfclJvb6Ukmd9ybfA","3dKPHJglZBzI+eAcfj4Tcf","43dIM3eEVID7q17+J3if3y","47IBQCBJVA+JgCZj8hhYJe","58amK658xERYqfswqnS0cS","715WE7gFNIGbQtzftIwBVD","7fzFsTopZEqKXU6N7lZOLJ","82nQe40gpGGLBfTRrGc7FO","8bAJ+sKehJ1J1k2EgZ9QAz","8e8ut3kpRBhpKmX4dq0oBB","8fjHmUGH5DnrGqgruYvYar","99k7fI5ORLSIkinFX0I72z","9bvaMerUlDyary99mJa6xp","a2MjXRFdtLlYQ5ouAFv/+R","a61QWNTm1PcKeDbmxqviuz","a8ok1LbyZDWKL7JK1OVhjE","abBAGcwMFDC6xD0tMtsFUn","b8nYBWqRFFm6W9ONFNUD7C","c8Gskh2AlF1Zhou/3P22sh","d8HsitJHxOYqo801xBk8ev","d9dporjeBOSIy7GiRYxWEt","e5N4U/fdJDP7EIQ6GrCaVv","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/mz_003/scene/scene.fire":0},"redirect":[1,0,27,0],"deps":["internal"],"packs":{"04d1e4274":[3,4,5,6,7,8,11,13,19,23,24],"0cd3ee167":[2,9,10,12,14,15,16,17,18,20,21,22,0,25,26]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true}
\ No newline at end of file
{"paths":{},"types":[],"uuids":["c38YYUxxZPH4mfCfBzrGxD","02delMVqdBD70a/HSD99FK","10jEphdBFOu6ZZQmSeBs3z","1ejl+z0StELb2mEvEiZ6vl","2cft3BKilLWYRehZ1Q6yQk","35MdfsfclJvb6Ukmd9ybfA","3dKPHJglZBzI+eAcfj4Tcf","43dIM3eEVID7q17+J3if3y","47IBQCBJVA+JgCZj8hhYJe","58amK658xERYqfswqnS0cS","715WE7gFNIGbQtzftIwBVD","7fzFsTopZEqKXU6N7lZOLJ","82nQe40gpGGLBfTRrGc7FO","8bAJ+sKehJ1J1k2EgZ9QAz","8e8ut3kpRBhpKmX4dq0oBB","8fjHmUGH5DnrGqgruYvYar","99k7fI5ORLSIkinFX0I72z","9bvaMerUlDyary99mJa6xp","a2MjXRFdtLlYQ5ouAFv/+R","a61QWNTm1PcKeDbmxqviuz","a8ok1LbyZDWKL7JK1OVhjE","abBAGcwMFDC6xD0tMtsFUn","b8nYBWqRFFm6W9ONFNUD7C","c8Gskh2AlF1Zhou/3P22sh","d3bdiboAJNxoOD6lNDQYMO","d8HsitJHxOYqo801xBk8ev","d9dporjeBOSIy7GiRYxWEt","e5N4U/fdJDP7EIQ6GrCaVv","ecpdLyjvZBwrvm+cedCcQy"],"scenes":{"db://assets/mz_003/scene/scene.fire":0},"redirect":[1,0,28,0],"deps":["internal"],"packs":{"04d1e4274":[3,4,5,6,7,8,11,13,19,23,25],"084ae3525":[2,9,10,12,14,15,16,17,18,20,21,22,0,24,26,27]},"name":"main","importBase":"import","nativeBase":"native","debug":false,"isZip":false,"encrypted":true}
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"white_bg","texture":"47IBQCBJVA+JgCZj8hhYJe","rect":[0,0,1280,640],"offset":[0,0],"originalSize":[1280,640],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg","texture":"35MdfsfclJvb6Ukmd9ybfA","rect":[0,0,715,715],"offset":[0,0],"originalSize":[715,715],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg","texture":"2cft3BKilLWYRehZ1Q6yQk","rect":[0,0,620,630],"offset":[0,0],"originalSize":[620,630],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"page_down","texture":"c8Gskh2AlF1Zhou/3P22sh","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},{"__type__":"cc.TTFFont","_name":"KGMissKindyMarker","_native":"KGMissKindyMarker.ttf"},{"__type__":"cc.SpriteFrame","content":{"name":"page_up","texture":"8bAJ+sKehJ1J1k2EgZ9QAz","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"bgBottom","data":{"__id__":1}},{"__type__":"cc.Node","_name":"bgBottom","_children":[{"__id__":2},{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":7},{"__id__":9}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":1}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":2}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":1},"_children":[{"__id__":6}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":5}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":5},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":1},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":7},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_panel","texture":"d8HsitJHxOYqo801xBk8ev","rect":[0,0,20,20],"offset":[0,0],"originalSize":[20,20],"capInsets":[6,6,6,6]}},{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_bottom","texture":"a61QWNTm1PcKeDbmxqviuz","rect":[0,0,1280,132],"offset":[0,0],"originalSize":[1280,132],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_points","texture":"1ejl+z0StELb2mEvEiZ6vl","rect":[0,0,1279,720],"offset":[-0.5,0],"originalSize":[1280,720],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_down","texture":"43dIM3eEVID7q17+J3if3y","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}},[{"__type__":"cc.SceneAsset","_name":"scene","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_active":false,"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7},{"__id__":16}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1280,"height":720},"_fitHeight":false},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":45},{"__type__":"335fea4K1JFqanJyztUAUJR","node":{"__id__":2}},{"__type__":"cc.Button","node":{"__id__":2}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[640,360,0,0,0,0,1,1,1,1]},"_id":"a5esZu+45LA5mBpvttspPD"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1},{"__type__":"cc.Widget","node":{"__id__":3},"_alignFlags":45,"_originalWidth":1280,"_originalHeight":720}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"58amK658xERYqfswqnS0cS"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"alignMode":2,"_left":282.5,"_top":2.5,"_originalWidth":715,"_originalHeight":715}],"_contentSize":{"__type__":"cc.Size","width":715,"height":715},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgPoint","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"abBAGcwMFDC6xD0tMtsFUn"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":44,"_bottom":-10,"_originalWidth":1280}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-10,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgWhite","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"10jEphdBFOu6ZZQmSeBs3z"}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":640},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,38.789,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgBottom","_parent":{"__id__":2},"_children":[{"__id__":8},{"__id__":9},{"__id__":10},{"__id__":11},{"__id__":13},{"__id__":15}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":8}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,0,0,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":7},"_children":[{"__id__":12}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":11},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":11}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":11},"_components":[{"__type__":"cc.Sprite","node":{"__id__":12},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":7},"_children":[{"__id__":14}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":13},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":13},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":13}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":13},"_components":[{"__type__":"cc.Sprite","node":{"__id__":14},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":7},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"res","_parent":{"__id__":2},"_children":[{"__id__":17},{"__id__":18}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":16},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":17},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg_small","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":18},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"d9dporjeBOSIy7GiRYxWEt"}}],"_contentSize":{"__type__":"cc.Size","width":98,"height":98},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg_small","texture":"7fzFsTopZEqKXU6N7lZOLJ","rect":[0,0,98,98],"offset":[0,0],"originalSize":[98,98],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_up","texture":"3dKPHJglZBzI+eAcfj4Tcf","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
[{"__type__":"cc.SpriteFrame","content":{"name":"white_bg","texture":"47IBQCBJVA+JgCZj8hhYJe","rect":[0,0,1280,640],"offset":[0,0],"originalSize":[1280,640],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg","texture":"35MdfsfclJvb6Ukmd9ybfA","rect":[0,0,715,715],"offset":[0,0],"originalSize":[715,715],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg","texture":"2cft3BKilLWYRehZ1Q6yQk","rect":[0,0,620,630],"offset":[0,0],"originalSize":[620,630],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"page_down","texture":"c8Gskh2AlF1Zhou/3P22sh","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},{"__type__":"cc.TTFFont","_name":"KGMissKindyMarker","_native":"KGMissKindyMarker.ttf"},{"__type__":"cc.SpriteFrame","content":{"name":"page_up","texture":"8bAJ+sKehJ1J1k2EgZ9QAz","rect":[0,0,22,23],"offset":[0,0],"originalSize":[22,23],"capInsets":[0,0,0,0]}},[{"__type__":"cc.Prefab","_name":"bgBottom","data":{"__id__":1}},{"__type__":"cc.Node","_name":"bgBottom","_children":[{"__id__":2},{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":7},{"__id__":9}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":1},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":1}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":2},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":2}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":1},"_components":[{"__type__":"cc.Sprite","node":{"__id__":3},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":1},"_children":[{"__id__":6}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":5}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":5},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":1},"_children":[{"__id__":8}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":7},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":1},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":1},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.SpriteFrame","content":{"name":"default_panel","texture":"d8HsitJHxOYqo801xBk8ev","rect":[0,0,20,20],"offset":[0,0],"originalSize":[20,20],"capInsets":[6,6,6,6]}},{"__type__":"cc.SpriteFrame","content":{"name":"default_sprite_splash","texture":"02delMVqdBD70a/HSD99FK","rect":[0,0,2,2],"offset":[0,0],"originalSize":[2,2],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_bottom","texture":"a61QWNTm1PcKeDbmxqviuz","rect":[0,0,1280,132],"offset":[0,0],"originalSize":[1280,132],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"bg_points","texture":"1ejl+z0StELb2mEvEiZ6vl","rect":[0,0,1279,720],"offset":[-0.5,0],"originalSize":[1280,720],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_down","texture":"43dIM3eEVID7q17+J3if3y","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}},[{"__type__":"cc.SceneAsset","_name":"scene","scene":{"__id__":1},"asyncLoadAssets":null},{"__type__":"cc.Scene","_name":"New Node","_children":[{"__id__":2}],"_active":false,"_anchorPoint":{"__type__":"cc.Vec2"},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"Canvas","_parent":{"__id__":1},"_children":[{"__id__":3},{"__id__":4},{"__id__":5},{"__id__":6},{"__id__":7},{"__id__":16}],"_components":[{"__type__":"cc.Canvas","node":{"__id__":2},"_designResolution":{"__type__":"cc.Size","width":1280,"height":720},"_fitHeight":false},{"__type__":"cc.Widget","node":{"__id__":2},"_alignFlags":45},{"__type__":"335fea4K1JFqanJyztUAUJR","node":{"__id__":2}},{"__type__":"cc.Button","node":{"__id__":2}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[640,360,0,0,0,0,1,1,1,1]},"_id":"a5esZu+45LA5mBpvttspPD"},{"__type__":"cc.Node","_name":"Main Camera","_parent":{"__id__":2},"_components":[{"__type__":"cc.Camera","node":{"__id__":3},"_clearFlags":7,"_depth":-1},{"__type__":"cc.Widget","node":{"__id__":3},"_alignFlags":45,"_originalWidth":1280,"_originalHeight":720}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bg","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":4},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"58amK658xERYqfswqnS0cS"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":4},"alignMode":2,"_left":282.5,"_top":2.5,"_originalWidth":715,"_originalHeight":715}],"_contentSize":{"__type__":"cc.Size","width":715,"height":715},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgPoint","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":5},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"abBAGcwMFDC6xD0tMtsFUn"},"_sizeMode":0},{"__type__":"cc.Widget","node":{"__id__":5},"_alignFlags":44,"_bottom":-10,"_originalWidth":1280}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":720},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-10,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgWhite","_parent":{"__id__":2},"_components":[{"__type__":"cc.Sprite","node":{"__id__":6},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"10jEphdBFOu6ZZQmSeBs3z"}}],"_contentSize":{"__type__":"cc.Size","width":1280,"height":640},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,38.789,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"bgBottom","_parent":{"__id__":2},"_children":[{"__id__":8},{"__id__":9},{"__id__":10},{"__id__":11},{"__id__":13},{"__id__":15}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":7},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a8ok1LbyZDWKL7JK1OVhjE"},"_sizeMode":0},{"__type__":"ff0e9h++NlKOLbC+Bu/RH2+","node":{"__id__":7}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"b4DhAnBsxPoJbGH3BcGt5i"},"_contentSize":{"__type__":"cc.Size","width":1280,"height":132},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-360,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"btn","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":8},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"a2MjXRFdtLlYQ5ouAFv/+R"},"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":8}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"084fApz9JAurWaytg+oJAF"},"_opacity":0,"_contentSize":{"__type__":"cc.Size","width":70,"height":50},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[1.55,33.325,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowUp","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":9},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"e5N4U/fdJDP7EIQ6GrCaVv"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"edRAfQIkFF1YKIsDN8VNAl"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"arrowDown","_parent":{"__id__":7},"_components":[{"__type__":"cc.Sprite","node":{"__id__":10},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"b8nYBWqRFFm6W9ONFNUD7C"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"d7byJPt2FE3KHHfVE1bP90"},"_contentSize":{"__type__":"cc.Size","width":24,"height":18},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,33,0,0,0,0,1,0,0,1]}},{"__type__":"cc.Node","_name":"pageUp","_parent":{"__id__":7},"_children":[{"__id__":12}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":11},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Button","node":{"__id__":11}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"a9Fom8DbRPSZOeMw0Jqr8X"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-2.429,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":11},"_components":[{"__type__":"cc.Sprite","node":{"__id__":12},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"8fjHmUGH5DnrGqgruYvYar"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"7aCx+Zp2ROf6cAIGRgh4ap"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,-3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"pageDown","_parent":{"__id__":7},"_children":[{"__id__":14}],"_components":[{"__type__":"cc.Sprite","node":{"__id__":13},"_enabled":false,"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"9bvaMerUlDyary99mJa6xp"},"_type":1,"_sizeMode":0},{"__type__":"cc.Layout","node":{"__id__":13},"_enabled":false,"_layoutSize":{"__type__":"cc.Size","width":40,"height":40}},{"__type__":"cc.Button","node":{"__id__":13}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"295OcbmFNPGKH4Ej0r/d1D"},"_contentSize":{"__type__":"cc.Size","width":40,"height":40},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[618.054,-43.563,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"spr","_parent":{"__id__":13},"_components":[{"__type__":"cc.Sprite","node":{"__id__":14},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"82nQe40gpGGLBfTRrGc7FO"}}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"acNVn9rVVHIrqRc23p2mf8"},"_contentSize":{"__type__":"cc.Size","width":22,"height":23},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,3,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"font","_parent":{"__id__":7},"_active":false,"_components":[{"__type__":"cc.Label","node":{"__id__":15},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_useOriginalSize":false,"_string":"Label","_N$string":"Label","_N$file":{"__uuid__":"8e8ut3kpRBhpKmX4dq0oBB"},"_isSystemFontUsed":false,"_N$horizontalAlign":1,"_N$verticalAlign":1}],"_prefab":{"__type__":"cc.PrefabInfo","root":{"__id__":7},"asset":{"__uuid__":"99k7fI5ORLSIkinFX0I72z"},"fileId":"352OaAKCxOMYj+KGjjLk/4"},"_contentSize":{"__type__":"cc.Size","width":122.85,"height":50.4},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"res","_parent":{"__id__":2},"_children":[{"__id__":17},{"__id__":18},{"__id__":19}],"_active":false,"_components":[{"__type__":"cc.Sprite","node":{"__id__":16},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":17},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"715WE7gFNIGbQtzftIwBVD"}}],"_contentSize":{"__type__":"cc.Size","width":620,"height":630},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"circle_bg_small","_parent":{"__id__":16},"_components":[{"__type__":"cc.Sprite","node":{"__id__":18},"_materials":[{"__uuid__":"ecpdLyjvZBwrvm+cedCcQy"}],"_spriteFrame":{"__uuid__":"d9dporjeBOSIy7GiRYxWEt"}}],"_contentSize":{"__type__":"cc.Size","width":98,"height":98},"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}},{"__type__":"cc.Node","_name":"wrong_audio","_parent":{"__id__":16},"_components":[{"__type__":"cc.AudioSource","node":{"__id__":19},"_clip":{"__uuid__":"d3bdiboAJNxoOD6lNDQYMO"},"_volume":0.4,"preload":true}],"_trs":{"__type__":"TypedArray","ctor":"Float64Array","array":[0,0,0,0,0,0,1,1,1,1]}}],{"__type__":"cc.AudioClip","_name":"wrong","_native":".mp3","duration":1.802449},{"__type__":"cc.SpriteFrame","content":{"name":"circle_bg_small","texture":"7fzFsTopZEqKXU6N7lZOLJ","rect":[0,0,98,98],"offset":[0,0],"originalSize":[98,98],"capInsets":[0,0,0,0]}},{"__type__":"cc.SpriteFrame","content":{"name":"arrow_up","texture":"3dKPHJglZBzI+eAcfj4Tcf","rect":[0,0,24,18],"offset":[0,0],"originalSize":[24,18],"capInsets":[0,0,0,0]}}]
\ No newline at end of file
window.__require=function t(e,i,n){function o(c,h){if(!i[c]){if(!e[c]){var r=c.split("/");if(r=r[r.length-1],!e[r]){var s="function"==typeof __require&&__require;if(!h&&s)return s(r,!0);if(a)return a(r,!0);throw new Error("Cannot find module '"+c+"'")}c=r}var d=i[c]={exports:{}};e[c][0].call(d.exports,function(t){return o(e[c][1][t]||t)},d,d.exports,t,e,i,n)}return i[c].exports}for(var a="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({bgBottom:[function(t,e,i){"use strict";cc._RF.push(e,"ff0e9h++NlKOLbC+Bu/RH2+","bgBottom");var n=t("../script/util");cc.Class({extends:cc.Component,properties:{},_canTouch:null,_isTop:null,_arrowUp:null,_arrowDown:null,_pageIndex:null,_maxPage:null,_lineMaxCount:null,_disW:null,onLoad:function(){this._canTouch=!0,this._isTop=!1,this._arrowUp=this.node.getChildByName("arrowUp"),this._arrowDown=this.node.getChildByName("arrowDown"),this.node.zIndex=10,this._itemLen=75,this._pageIndex=0,this._maxPage=0,this._disW=5;this._lineMaxCount=Math.floor(1190/(this._disW+this._itemLen))},start:function(){this._initListener(),this._initItemLayer()},_itemLayer:null,_initItemLayer:function(){this._itemLayer=new cc.Node,this.node.addChild(this._itemLayer)},_initListener:function(){this._initTopBtnListener(),this._initPageBtnListener()},_initTopBtnListener:function(){var t=this;this.node.getChildByName("btn").on("click",function(){if(t._canTouch){t._canTouch=!1;var e=80*t.node.scaleY,i=e;t._isTop&&(i=-e),cc.tween(t.node).by(.5,{y:i}).call(function(){t._canTouch=!0}).start(),t._setTopBtnState(.5),t._isTop=!t._isTop}})},_pageUpBtn:null,_pageDownBtn:null,_initPageBtnListener:function(){var t=this,e=this.node.getChildByName("pageUp");e.on("click",function(){t._canTouch&&(t._pageIndex<=0||(t._pageIndex--,t._refreshPage(),t._showBtnAnima(e)))}),this._pageUpBtn=e;var i=this.node.getChildByName("pageDown");i.on("click",function(){t._canTouch&&(t._pageIndex>=t._maxPage||(t._pageIndex++,t._refreshPage(),t._showBtnAnima(i)))}),this._pageDownBtn=i},_showBtnAnima:function(t){cc.tween(t).to(.08,{scale:1.3},{easing:"sineOut"}).to(.08,{scale:1},{easing:"sineOut"}).start()},_setPageBtnState:function(){0!=this._maxPage?(0==this._pageIndex?this._pageUpBtn.opacity=100:this._pageUpBtn.opacity=255,this._pageIndex==this._maxPage?this._pageDownBtn.opacity=100:this._pageDownBtn.opacity=255):this._pageUpBtn.active=this._pageDownBtn.active=!1},_setTopBtnState:function(t){var e,i;this._isTop?(e=this._arrowDown,i=this._arrowUp):(e=this._arrowUp,i=this._arrowDown),e.scale=1,i.scale=0,cc.tween(e).to(t/2,{scale:0},{easing:"cubicOut"}).start(),cc.tween(i).delay(t/2).to(t/2,{scale:1},{easing:"cubicOut"}).start()},_dataArr:null,setItemData:function(t){console.log(" in setItemData",t),t&&0!=t.length&&(this._dataArr=t,this._maxPage=Math.ceil(t.length/this._lineMaxCount)-1,this._pageIndex=0,this._refreshPage())},_itemLen:null,_addOneItem:function(t){var e=new cc.Node;return e.width=this._itemLen,e.height=this._itemLen,e.data=t,this._addItemPic(e,t.pic_url),this._addItemLabel(e,t.text),this._addItemAudio(e,t.audio_url),this._addItemListener(e),t.isClicked&&(e.opacity=100),e},_addItemPic:function(t,e){var i=this;if(e){var o=.8*this._itemLen;cc.assetManager.loadRemote(e,function(e,a){var c=new cc.Node;t.addChild(c),c.width=a.width,c.height=a.height,c.y=(i._itemLen-o)/2,(0,n.setSprNodeMaxLen)(c,o,o);var h=new cc.SpriteFrame(a);c.addComponent(cc.Sprite).spriteFrame=h})}},_labelFont:null,_addItemLabel:function(t,e){if(e){var i=new cc.Node;i.color=cc.Color.BLACK;var n=i.addComponent(cc.Label);if(n.string=e,t.addChild(i),i.y=.4*-this._itemLen,n.fontSize=16,n.verticalAlign=cc.Label.VerticalAlign.CENTER,!this._labelFont){var o=this.node.getChildByName("font").getComponent(cc.Label);this._labelFont=o.font}n.font=this._labelFont}},_addItemAudio:function(t,e){e&&cc.assetManager.loadRemote(e,function(e,i){t.audioClip=i})},_addItemListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(i){console.log(" in cc.Node.EventType.TOUCH_START"),e.node.emit("item_touch_start",t),console.log("e: ",i)})},_refreshPage:function(){var t=this;this._itemLayer.removeAllChildren();var e=this._dataArr,i=this._disW,n=this._pageIndex*this._lineMaxCount,o=e.slice(n,n+this._lineMaxCount),a=-(i+this._itemLen)*(o.length-1)/2;o.forEach(function(e,n){var o=t._addOneItem(e);t._itemLayer.addChild(o),o.x=a+(i+t._itemLen)*n,o.y=-25}),this._setPageBtnState()}}),cc._RF.pop()},{"../script/util":"util"}],scene:[function(t,e,i){"use strict";cc._RF.push(e,"335fea4K1JFqanJyztUAUJR","scene");t("./util");cc.Class({extends:cc.Component,properties:{baseWidth:{default:1280,type:cc.Integer},baseHeight:{default:720,type:cc.Integer}},onLoad:function(){this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,initSize:function(){this._designSize=cc.view.getDesignResolutionSize()},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.addPreloadAnima(),this.preload()},getData:function(t){t(this.getDefaultData())},getDefaultData:function(){return JSON.parse('{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/3dd0eab42b3c17d7c28d3792f8a985b9.png","rect":{"x":188.28,"y":0,"width":780.44,"height":439}},"hotZoneItemArr":[{"id":"1597212942004","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/8734cd9faae8092a38fff9398330222d.png","text":"aaa","audio_url":"http://staging-teach.cdn.ireadabc.com/f51e3fedc88aa69a99f6ef579f7de047.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":0.375,"mapScale":0.90390625,"gIdx":"0","rect":{"x":4.13,"y":208.1,"width":75,"height":75}},{"id":"1597213039921","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/18f2a029e02d679da8d42746daea228f.png","text":"bbb","audio_url":"http://staging-teach.cdn.ireadabc.com/fbe2f23b9eb191a9330f99800e0d54d5.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":5.119657856821507,"mapScale":0.90390625,"gIdx":"0","rect":{"x":419.85,"y":124,"width":255.98,"height":255.98}}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(e,i){console.log(" preload data, ",i),t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){this.data.bgItem&&this._imageResList.push({url:this.data.bgItem.url})},addPreloadAudio:function(){var t=this;this.data.hotZoneItemArr&&this.data.hotZoneItemArr.forEach(function(e){t._audioResList.push({url:e.audio_url})})},addPreloadAnima:function(){this.data.hotZoneItemArr},loadEnd:function(){this.initView(),this.initListener()},initListener:function(){var t=this;cc.find("Canvas/bgBottom").on("item_touch_start",function(e){t.touchStartItem(e)});var e=cc.find("Canvas");e.on(cc.Node.EventType.TOUCH_MOVE,function(e){t.canvasTouchMove(e)}),e.on(cc.Node.EventType.TOUCH_CANCEL,function(e){t.canvasTouchEnd(e)}),e.on(cc.Node.EventType.TOUCH_END,function(e){t.canvasTouchEnd(e)})},initView:function(){this.initBg(),this.initHotZone()},_cocosScale:null,initBg:function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,i=cc.winSize.height/t.height,n=Math.min(e,i);this._cocosScale=n;var o=cc.find("Canvas/bg");e=t.width/o.width,i=t.height/o.height,o.scale=Math.max(e,i)*n,o.anchorX=1,o.anchorY=0,o.x=t.width/2*n,o.y=-t.height/2*n},initHotZone:function(){this.initHotZoneBg()},hotZoneBg:null,hotzoneCircleArr:null,initHotZoneBg:function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas"),this.hotZoneBg.zIndex=4,this.hotzoneCircleArr=[],this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(e,i){t.addMask(t.hotZoneBg),t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;t.hotZoneBg.getBoundingBox();var n=cc.view.getFrameSize();cc.winSize;console.log("this.hotZoneBg.box: ",t.hotZoneBg.getBoundingBox()),console.log("let visiSize=cc.director.getVisibleSize();: ",cc.view.getVisibleSize()),console.log("lframeSize: ",n);var o=n.width/t._designSize.width,a=n.height/t._designSize.height,c=Math.min(o,a),h=cc.find("Canvas/bgBottom");h.scale=c*t._cocosScale,o=n.width*t._cocosScale/i.width,a=(n.height*t._cocosScale-80*c*t._cocosScale)/i.height;var r=new cc.Node,s=new cc.SpriteFrame(i);r.addComponent(cc.Sprite).spriteFrame=s,r.width=t.hotZoneBg.width,r.height=t.hotZoneBg.height,r.parent=t.hotZoneBg,t.hotZoneBg.scale=Math.min(o,a),t.hotZoneBg.y=n.height/2*t._cocosScale-t.hotZoneBg.height/2*t.hotZoneBg.scaleY;var d=cc.find("Canvas/bgWhite");d.y=t.hotZoneBg.y,d.scaleX=t.hotZoneBg.width*t.hotZoneBg.scaleX/d.width,d.scaleY=t.hotZoneBg.height*t.hotZoneBg.scaleY/d.height;var l=cc.find("Canvas"),u=new cc.Node;u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,l.addChild(u);var g=u.addComponent(cc.Graphics);g.fillColor=cc.Color.BLACK.setA(30),g.fillRect(-d.width/2+8/d.scaleX*t.hotZoneBg.scale,-d.height/2-8/d.scaleX*t.hotZoneBg.scale,d.width,d.height),g.fill(),u.zIndex=1,d.zIndex=2,h.y=-n.height/2*t._cocosScale-15*h.scaleY,t.data.hotZoneItemArr.forEach(function(e){t.setOneCirclePoint(e),t.setOnePic(e)}),t.initBottomPart()})},addMask:function(t){t.addComponent(cc.Mask).type=cc.Mask.Type.RECT},initBottomPart:function(){var t=cc.find("Canvas/bgBottom").getComponent("bgBottom"),e=this.getBottomPicArr();t.setItemData(e)},getBottomPicArr:function(){var t=[];return this.hotzoneCircleArr.forEach(function(e){console.log("item: ",e),t.push(e.data),console.log("arr: ",t)}),console.log("hotzoneCircleArr: ",this.hotzoneCircleArr),console.log("arr: ",t),t},setOneAnima:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Graphics);n.lineWidth=4,n.strokeColor=cc.Color.BLACK,n.fillColor=cc.Color.WHITE.setA(100);var o=e/this.hotZoneBg.scaleY;i.width=t.rect.width*o,i.height=t.rect.height*o,i.x=-this.hotZoneBg.width/2+t.rect.x*o,i.y=this.hotZoneBg.height/2-t.rect.height*o-t.rect.y*o,i.anchorX=i.anchorY=0,this.data.bgItem.isShowDebugLine&&n.rect(0,0,i.width,i.height),n.stroke(),n.fill();var a=new cc.Node;a.name="anima_"+t.index,this.hotZoneBg.addChild(a),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){a.audioClip=e});var c=a.addComponent(dragonBones.ArmatureDisplay),h=t.texPngData.url,r=t.skeJsonData.url,s=t.texJsonData.url;cc.loader.load(h,function(t,e){cc.loader.load({url:s,type:"txt"},function(t,n){cc.loader.load({url:r,type:"txt"},function(t,o){var h=new dragonBones.DragonBonesAtlasAsset;h.atlasJson=n,h.texture=e;var r=new dragonBones.DragonBonesAsset;r.dragonBonesJson=o,c.dragonAtlasAsset=h,c.dragonAsset=r;var s=JSON.parse(r.dragonBonesJson).armature;console.log("armatures: ",s);for(var d=[],l=0;l<s.length;l++)d.push(s[l].name);if(d.length>0){var u=d[0];c.armatureName=u;for(var g=s[0].animation,m=[],_=0;_<g.length;_++)m.push(g[_].name);i.addComponent(cc.Button),i.on("click",function(){i.isClicked,i.isClicked=!0,console.log("clicked"),a.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(a.audioClip,!1,.8)),m.length>0&&c.playAnimation(m[0],1)})}})})})},setOnePic:function(t){var e=this,i=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.data=t,this.hotZoneBg.addChild(n),cc.loader.load({url:t.pic_url},function(o,a){n.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(a);var c=i/e.hotZoneBg.scaleY;n.width=t.rect.width*c,n.height=t.rect.height*c,n.x=-e.hotZoneBg.width/2+t.rect.x*c,n.y=e.hotZoneBg.height/2-t.rect.height*c-t.rect.y*c,n.anchorX=n.anchorY=0,n.opacity=0,t.pic=n})},setOneCirclePoint:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,i.data=t,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Sprite),o=cc.find("Canvas/res/circle_bg_small");n.spriteFrame=o.getComponent(cc.Sprite).spriteFrame;var a=e/this.hotZoneBg.scaleY;i.width=o.width,i.height=o.height,i.x=-this.hotZoneBg.width/2+(t.rect.x+t.rect.width/2)*a,i.y=this.hotZoneBg.height/2-t.rect.height/2*a-t.rect.y*a,i.anchorX=i.anchorY=.5,t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(e,i){t.audioClip=i}),this.hotzoneCircleArr.push(i)},_curShowItem:null,bottomItemClick:function(t){},_toCenterShow:function(t){var e=cc.find("Canvas/bgBottom");cc.tween(t).to(1,{x:0,y:0,scale:e.scale},{easing:"cubicOut"}).call(function(){}).start(),t.isSmall=!1,t.zIndex=11},hideCurShowItem:function(){var t=this.getTargetCircleNode(),e=t.parent.convertToWorldSpaceAR(cc.v2(t.x+t.width/2,t.y+t.height/2)),i=this._curShowItem.parent.convertToNodeSpaceAR(cc.v2(e.x,e.y)),n=t.parent.scaleY*t.height*t.scaleY/this._curShowItem.height,o=this._curShowItem;o.cantouch=!1,cc.tween(this._curShowItem).to(1,{scale:.95*n,x:i.x,y:i.y},{easing:"cubicOut"}).call(function(){o.cantouch=!0}).start(),this._curShowItem.isSmall=!0,this._curShowItem.zIndex=9,this._curShowItem=null},getTargetCircleNode:function(){var t=this._curShowItem.data.index;return this.hotzoneCircleArr.find(function(e){return e.data.index==t})},canvasClick:function(){console.log("canvas click"),this._curShowItem&&this.hideCurShowItem()},touchStartItem:function(t){if(!t.data.dragEnd){var e=cc.find("Canvas/res/circle_bg_small"),i=cc.find("Canvas/bgBottom");t.opacity=0;var n=new cc.Node;n.parent=cc.find("Canvas"),n.zIndex=10,n.opacity=255,n.data=t.data,n.width=e.width,n.height=e.height,n.scale=i.scale*t.scale;var o=t.parent.convertToWorldSpaceAR(cc.v2(t.x,t.y)),a=n.parent.convertToNodeSpaceAR(cc.v2(o.x,o.y));n.x=a.x,n.y=a.y;var c=cc.instantiate(t);c.parent=n,c.opacity=255,c.x=0,c.y=0,c.scale=n.width/c.width,c.removeComponent(cc.Button);var h=t.getBoundingBoxToWorld(),r=n.getBoundingBoxToWorld(),s=h.width/r.width;console.log("worldRect1: ",h),console.log("worldRect2: ",r),console.log("rate: ",s),n.scale*=s,this._curShowItem=n,this._curShowItem.bgBottomItem=t,this._curShowItem.baseX=this._curShowItem.x,this._curShowItem.baseY=this._curShowItem.y}},checkOnTargetCircle:function(t){for(var e=0;e<this.hotzoneCircleArr.length;e++){var i=this.hotzoneCircleArr[e];if(i.data.index==this._curShowItem.data.index){var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(i.getBoundingBoxToWorld().contains(n))return void this.itemAppear(i)}}this.itemBack()},itemAppear:function(t){t.active=!1,this._curShowItem.active=!1,t.data.dragEnd=!0,cc.tween(this._curShowItem.data.pic).to(3,{opacity:255},{easing:"cubicOut"}).start(),t.data.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(t.data.audioClip,!1,.8))},itemBack:function(){var t=this._curShowItem;cc.tween(t).to(.3,{x:t.baseX,y:t.baseY},{easing:"elasticOut"}).call(function(){t.bgBottomItem.opacity=255,t.removeFromParent()}).start()},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(t){this._curShowItem&&(this.checkOnTargetCircle(t),this._curShowItem=null)}}),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,i){"use strict";cc._RF.push(e,"5ac8b17OKNJaawviu75DIhe","util"),i.__esModule=!0,i.getPosByAngle=function(t,e){var i=t*Math.PI/180,n=Math.sin(i)*e,o=Math.cos(i)*e;return{x:n,y:o}},i.getAngleByPos=function(t,e,i,n){var o=Math.abs(t-i),a=Math.abs(e-n),c=Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),h=a/c,r=Math.acos(h),s=Math.floor(180/(Math.PI/r)*100)/100;i>t&&n>e&&(s=180-s);i===t&&n>e&&(s=180);i>t&&n===e&&(s=90);i<t&&n>e&&(s=180+s);i<t&&n===e&&(s=270);i<t&&n<e&&(s=360-s);return s},i.exchangeNodePos=function(t,e){return t.convertToNodeSpaceAR(e._parent.convertToWorldSpaceAR(cc.v2(e.x,e.y)))},i.RandomInt=function(t,e){void 0===e&&(e=0);var i=Math.max(t,e),n=Math.min(t,e);return Math.floor(Math.random()*(i-n)+n)},i.randomSortByArr=function(t){var e=[],i=t.concat();for(;i.length>0;){var n=Math.floor(i.length*Math.random());e.push(i[n]),i.splice(n,1)}return e},i.setSprNodeMaxLen=function(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);t.scale=Math.round(1e3*a)/1e3},i.localPosTolocalPos=function(t,e){var i=e.parent.convertToWorldSpaceAR(cc.v2(e.x,e.y));return t.parent.convertToNodeSpaceAR(cc.v2(i.x,i.y))},cc._RF.pop()},{}]},{},["bgBottom","scene","util"]);
\ No newline at end of file
window.__require=function t(e,i,n){function o(c,h){if(!i[c]){if(!e[c]){var r=c.split("/");if(r=r[r.length-1],!e[r]){var s="function"==typeof __require&&__require;if(!h&&s)return s(r,!0);if(a)return a(r,!0);throw new Error("Cannot find module '"+c+"'")}c=r}var d=i[c]={exports:{}};e[c][0].call(d.exports,function(t){return o(e[c][1][t]||t)},d,d.exports,t,e,i,n)}return i[c].exports}for(var a="function"==typeof __require&&__require,c=0;c<n.length;c++)o(n[c]);return o}({bgBottom:[function(t,e,i){"use strict";cc._RF.push(e,"ff0e9h++NlKOLbC+Bu/RH2+","bgBottom");var n=t("../script/util");cc.Class({extends:cc.Component,properties:{},_canTouch:null,_isTop:null,_arrowUp:null,_arrowDown:null,_pageIndex:null,_maxPage:null,_lineMaxCount:null,_disW:null,onLoad:function(){this._canTouch=!0,this._isTop=!1,this._arrowUp=this.node.getChildByName("arrowUp"),this._arrowDown=this.node.getChildByName("arrowDown"),this.node.zIndex=10,this._itemLen=75,this._pageIndex=0,this._maxPage=0,this._disW=5;this._lineMaxCount=Math.floor(1190/(this._disW+this._itemLen))},start:function(){this._initListener(),this._initItemLayer()},_itemLayer:null,_initItemLayer:function(){this._itemLayer=new cc.Node,this.node.addChild(this._itemLayer)},_initListener:function(){this._initTopBtnListener(),this._initPageBtnListener()},_initTopBtnListener:function(){var t=this;this.node.getChildByName("btn").on("click",function(){if(t._canTouch){t._canTouch=!1;var e=80*t.node.scaleY,i=e;t._isTop&&(i=-e),cc.tween(t.node).by(.5,{y:i}).call(function(){t._canTouch=!0}).start(),t._setTopBtnState(.5),t._isTop=!t._isTop}})},_pageUpBtn:null,_pageDownBtn:null,_initPageBtnListener:function(){var t=this,e=this.node.getChildByName("pageUp");e.on("click",function(){t._canTouch&&(t._pageIndex<=0||(t._pageIndex--,t._refreshPage(),t._showBtnAnima(e)))}),this._pageUpBtn=e;var i=this.node.getChildByName("pageDown");i.on("click",function(){t._canTouch&&(t._pageIndex>=t._maxPage||(t._pageIndex++,t._refreshPage(),t._showBtnAnima(i)))}),this._pageDownBtn=i},_showBtnAnima:function(t){cc.tween(t).to(.08,{scale:1.3},{easing:"sineOut"}).to(.08,{scale:1},{easing:"sineOut"}).start()},_setPageBtnState:function(){0!=this._maxPage?(0==this._pageIndex?this._pageUpBtn.opacity=100:this._pageUpBtn.opacity=255,this._pageIndex==this._maxPage?this._pageDownBtn.opacity=100:this._pageDownBtn.opacity=255):this._pageUpBtn.active=this._pageDownBtn.active=!1},_setTopBtnState:function(t){var e,i;this._isTop?(e=this._arrowDown,i=this._arrowUp):(e=this._arrowUp,i=this._arrowDown),e.scale=1,i.scale=0,cc.tween(e).to(t/2,{scale:0},{easing:"cubicOut"}).start(),cc.tween(i).delay(t/2).to(t/2,{scale:1},{easing:"cubicOut"}).start()},_dataArr:null,setItemData:function(t){console.log(" in setItemData",t),t&&0!=t.length&&(this._dataArr=t,this._maxPage=Math.ceil(t.length/this._lineMaxCount)-1,this._pageIndex=0,this._refreshPage())},_itemLen:null,_addOneItem:function(t){var e=new cc.Node;return e.width=this._itemLen,e.height=this._itemLen,e.data=t,this._addItemPic(e,t.pic_url),this._addItemLabel(e,t.text),this._addItemAudio(e,t.audio_url),this._addItemListener(e),t.isClicked&&(e.opacity=100),e},_addItemPic:function(t,e){var i=this;if(e){var o=.8*this._itemLen;cc.assetManager.loadRemote(e,function(e,a){var c=new cc.Node;t.addChild(c),c.width=a.width,c.height=a.height,c.y=(i._itemLen-o)/2,(0,n.setSprNodeMaxLen)(c,o,o);var h=new cc.SpriteFrame(a);c.addComponent(cc.Sprite).spriteFrame=h})}},_labelFont:null,_addItemLabel:function(t,e){if(e){var i=new cc.Node;i.color=cc.Color.BLACK;var n=i.addComponent(cc.Label);if(n.string=e,t.addChild(i),i.y=.4*-this._itemLen,n.fontSize=16,n.verticalAlign=cc.Label.VerticalAlign.CENTER,!this._labelFont){var o=this.node.getChildByName("font").getComponent(cc.Label);this._labelFont=o.font}n.font=this._labelFont}},_addItemAudio:function(t,e){e&&cc.assetManager.loadRemote(e,function(e,i){t.audioClip=i})},_addItemListener:function(t){var e=this;t.on(cc.Node.EventType.TOUCH_START,function(i){console.log(" in cc.Node.EventType.TOUCH_START"),e.node.emit("item_touch_start",t),console.log("e: ",i)})},_refreshPage:function(){var t=this;this._itemLayer.removeAllChildren();var e=this._dataArr,i=this._disW,n=this._pageIndex*this._lineMaxCount,o=e.slice(n,n+this._lineMaxCount),a=-(i+this._itemLen)*(o.length-1)/2;o.forEach(function(e,n){var o=t._addOneItem(e);t._itemLayer.addChild(o),o.x=a+(i+t._itemLen)*n,o.y=-25}),this._setPageBtnState()}}),cc._RF.pop()},{"../script/util":"util"}],scene:[function(t,e,i){"use strict";cc._RF.push(e,"335fea4K1JFqanJyztUAUJR","scene");t("./util");cc.Class({extends:cc.Component,properties:{baseWidth:{default:1280,type:cc.Integer},baseHeight:{default:720,type:cc.Integer}},onLoad:function(){this.initSceneData(),this.initSize()},initSceneData:function(){this._imageResList=[],this._audioResList=[],this._animaResList=[]},_designSize:null,initSize:function(){this._designSize=cc.view.getDesignResolutionSize()},start:function(){var t=this,e=this.getData.bind(this);window&&window.courseware&&(e=window.courseware.getData),e(function(e){console.log("data:",e),t.data=e||t.getDefaultData(),t.preloadItem()})},_imageResList:null,_audioResList:null,_animaResList:null,preloadItem:function(){this.addPreloadImage(),this.addPreloadAudio(),this.addPreloadAnima(),this.preload()},getData:function(t){t(this.getDefaultData())},getDefaultData:function(){return JSON.parse('{"bgItem":{"url":"http://staging-teach.cdn.ireadabc.com/3dd0eab42b3c17d7c28d3792f8a985b9.png","rect":{"x":188.28,"y":0,"width":780.44,"height":439}},"hotZoneItemArr":[{"id":"1597212942004","index":0,"pic_url":"http://staging-teach.cdn.ireadabc.com/8734cd9faae8092a38fff9398330222d.png","text":"aaa","audio_url":"http://staging-teach.cdn.ireadabc.com/f51e3fedc88aa69a99f6ef579f7de047.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":0.375,"mapScale":0.90390625,"gIdx":"0","rect":{"x":4.13,"y":208.1,"width":75,"height":75}},{"id":"1597213039921","index":1,"pic_url":"http://staging-teach.cdn.ireadabc.com/18f2a029e02d679da8d42746daea228f.png","text":"bbb","audio_url":"http://staging-teach.cdn.ireadabc.com/fbe2f23b9eb191a9330f99800e0d54d5.mp3","itemType":"pic","fontScale":0.90390625,"imgScale":5.119657856821507,"mapScale":0.90390625,"gIdx":"0","rect":{"x":419.85,"y":124,"width":255.98,"height":255.98}}]}')},preload:function(){var t=this,e=this._imageResList.concat(this._audioResList).concat(this._animaResList);cc.assetManager.loadAny(e,null,null,function(e,i){console.log(" preload data, ",i),t.loadEnd(),window&&window.air&&window.air.hideAirClassLoading()})},addPreloadImage:function(){this.data.bgItem&&this._imageResList.push({url:this.data.bgItem.url})},addPreloadAudio:function(){var t=this;this.data.hotZoneItemArr&&this.data.hotZoneItemArr.forEach(function(e){t._audioResList.push({url:e.audio_url})})},addPreloadAnima:function(){this.data.hotZoneItemArr},loadEnd:function(){this.initView(),this.initAudio(),this.initListener()},_wrongAudioSource:null,initAudio:function(){this._wrongAudioSource=cc.find("Canvas/res/wrong_audio").getComponent(cc.AudioSource)},initListener:function(){var t=this;cc.find("Canvas/bgBottom").on("item_touch_start",function(e){t.touchStartItem(e)});var e=cc.find("Canvas");e.on(cc.Node.EventType.TOUCH_MOVE,function(e){t.canvasTouchMove(e)}),e.on(cc.Node.EventType.TOUCH_CANCEL,function(e){t.canvasTouchEnd(e)}),e.on(cc.Node.EventType.TOUCH_END,function(e){t.canvasTouchEnd(e)})},initView:function(){this.initBg(),this.initHotZone()},_cocosScale:null,initBg:function(){var t=cc.view.getFrameSize(),e=cc.winSize.width/t.width,i=cc.winSize.height/t.height,n=Math.min(e,i);this._cocosScale=n;var o=cc.find("Canvas/bg");e=t.width/o.width,i=t.height/o.height,o.scale=Math.max(e,i)*n,o.anchorX=1,o.anchorY=0,o.x=t.width/2*n,o.y=-t.height/2*n},initHotZone:function(){this.initHotZoneBg()},hotZoneBg:null,hotzoneCircleArr:null,initHotZoneBg:function(){var t=this;this.hotZoneBg=new cc.Node,this.hotZoneBg.name="hotZoneBg",this.hotZoneBg.parent=cc.find("Canvas"),this.hotZoneBg.zIndex=4,this.hotzoneCircleArr=[],this.data.bgItem&&cc.loader.load({url:this.data.bgItem.url},function(e,i){t.addMask(t.hotZoneBg),t.hotZoneBg.width=i.width,t.hotZoneBg.height=i.height;t.hotZoneBg.getBoundingBox();var n=cc.view.getFrameSize();cc.winSize;console.log("this.hotZoneBg.box: ",t.hotZoneBg.getBoundingBox()),console.log("let visiSize=cc.director.getVisibleSize();: ",cc.view.getVisibleSize()),console.log("lframeSize: ",n);var o=n.width/t._designSize.width,a=n.height/t._designSize.height,c=Math.min(o,a),h=cc.find("Canvas/bgBottom");h.scale=c*t._cocosScale,o=n.width*t._cocosScale/i.width,a=(n.height*t._cocosScale-80*c*t._cocosScale)/i.height;var r=new cc.Node,s=new cc.SpriteFrame(i);r.addComponent(cc.Sprite).spriteFrame=s,r.width=t.hotZoneBg.width,r.height=t.hotZoneBg.height,r.parent=t.hotZoneBg,t.hotZoneBg.scale=Math.min(o,a),t.hotZoneBg.y=n.height/2*t._cocosScale-t.hotZoneBg.height/2*t.hotZoneBg.scaleY;var d=cc.find("Canvas/bgWhite");d.y=t.hotZoneBg.y,d.scaleX=t.hotZoneBg.width*t.hotZoneBg.scaleX/d.width,d.scaleY=t.hotZoneBg.height*t.hotZoneBg.scaleY/d.height;var l=cc.find("Canvas"),u=new cc.Node;u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,l.addChild(u);var g=u.addComponent(cc.Graphics);g.fillColor=cc.Color.BLACK.setA(30),g.fillRect(-d.width/2+8/d.scaleX*t.hotZoneBg.scale,-d.height/2-8/d.scaleX*t.hotZoneBg.scale,d.width,d.height),g.fill(),u.zIndex=1,d.zIndex=2,h.y=-n.height/2*t._cocosScale-15*h.scaleY,t.data.hotZoneItemArr.forEach(function(e){t.setOneCirclePoint(e),t.setOnePic(e)}),t.initBottomPart()})},addMask:function(t){t.addComponent(cc.Mask).type=cc.Mask.Type.RECT},initBottomPart:function(){var t=cc.find("Canvas/bgBottom").getComponent("bgBottom"),e=this.getBottomPicArr();t.setItemData(e)},getBottomPicArr:function(){var t=[];return this.hotzoneCircleArr.forEach(function(e){console.log("item: ",e),t.push(e.data),console.log("arr: ",t)}),console.log("hotzoneCircleArr: ",this.hotzoneCircleArr),console.log("arr: ",t),t},setOneAnima:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Graphics);n.lineWidth=4,n.strokeColor=cc.Color.BLACK,n.fillColor=cc.Color.WHITE.setA(100);var o=e/this.hotZoneBg.scaleY;i.width=t.rect.width*o,i.height=t.rect.height*o,i.x=-this.hotZoneBg.width/2+t.rect.x*o,i.y=this.hotZoneBg.height/2-t.rect.height*o-t.rect.y*o,i.anchorX=i.anchorY=0,this.data.bgItem.isShowDebugLine&&n.rect(0,0,i.width,i.height),n.stroke(),n.fill();var a=new cc.Node;a.name="anima_"+t.index,this.hotZoneBg.addChild(a),t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(t,e){a.audioClip=e});var c=a.addComponent(dragonBones.ArmatureDisplay),h=t.texPngData.url,r=t.skeJsonData.url,s=t.texJsonData.url;cc.loader.load(h,function(t,e){cc.loader.load({url:s,type:"txt"},function(t,n){cc.loader.load({url:r,type:"txt"},function(t,o){var h=new dragonBones.DragonBonesAtlasAsset;h.atlasJson=n,h.texture=e;var r=new dragonBones.DragonBonesAsset;r.dragonBonesJson=o,c.dragonAtlasAsset=h,c.dragonAsset=r;var s=JSON.parse(r.dragonBonesJson).armature;console.log("armatures: ",s);for(var d=[],l=0;l<s.length;l++)d.push(s[l].name);if(d.length>0){var u=d[0];c.armatureName=u;for(var g=s[0].animation,m=[],_=0;_<g.length;_++)m.push(g[_].name);i.addComponent(cc.Button),i.on("click",function(){i.isClicked,i.isClicked=!0,console.log("clicked"),a.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(a.audioClip,!1,.8)),m.length>0&&c.playAnimation(m[0],1)})}})})})},setOnePic:function(t){var e=this,i=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,n=new cc.Node;n.data=t,this.hotZoneBg.addChild(n),cc.loader.load({url:t.pic_url},function(o,a){n.addComponent(cc.Sprite).spriteFrame=new cc.SpriteFrame(a);var c=i/e.hotZoneBg.scaleY;n.width=t.rect.width*c,n.height=t.rect.height*c,n.x=-e.hotZoneBg.width/2+t.rect.x*c,n.y=e.hotZoneBg.height/2-t.rect.height*c-t.rect.y*c,n.anchorX=n.anchorY=0,n.opacity=0,t.pic=n})},setOneCirclePoint:function(t){var e=this.hotZoneBg.scale*this.hotZoneBg.width/this.data.bgItem.rect.width,i=new cc.Node;i.name="rect"+t.index,i.data=t,this.hotZoneBg.addChild(i);var n=i.addComponent(cc.Sprite),o=cc.find("Canvas/res/circle_bg_small");n.spriteFrame=o.getComponent(cc.Sprite).spriteFrame;var a=e/this.hotZoneBg.scaleY;i.width=o.width,i.height=o.height,i.x=-this.hotZoneBg.width/2+(t.rect.x+t.rect.width/2)*a,i.y=this.hotZoneBg.height/2-t.rect.height/2*a-t.rect.y*a,i.anchorX=i.anchorY=.5,t.audio_url&&cc.assetManager.loadRemote(t.audio_url,function(e,i){t.audioClip=i}),this.hotzoneCircleArr.push(i)},_curShowItem:null,bottomItemClick:function(t){},_toCenterShow:function(t){var e=cc.find("Canvas/bgBottom");cc.tween(t).to(1,{x:0,y:0,scale:e.scale},{easing:"cubicOut"}).call(function(){}).start(),t.isSmall=!1,t.zIndex=11},hideCurShowItem:function(){var t=this.getTargetCircleNode(),e=t.parent.convertToWorldSpaceAR(cc.v2(t.x+t.width/2,t.y+t.height/2)),i=this._curShowItem.parent.convertToNodeSpaceAR(cc.v2(e.x,e.y)),n=t.parent.scaleY*t.height*t.scaleY/this._curShowItem.height,o=this._curShowItem;o.cantouch=!1,cc.tween(this._curShowItem).to(1,{scale:.95*n,x:i.x,y:i.y},{easing:"cubicOut"}).call(function(){o.cantouch=!0}).start(),this._curShowItem.isSmall=!0,this._curShowItem.zIndex=9,this._curShowItem=null},getTargetCircleNode:function(){var t=this._curShowItem.data.index;return this.hotzoneCircleArr.find(function(e){return e.data.index==t})},canvasClick:function(){console.log("canvas click"),this._curShowItem&&this.hideCurShowItem()},touchStartItem:function(t){if(!t.data.isDrag){t.data.isDrag=!0;var e=cc.find("Canvas/res/circle_bg_small"),i=cc.find("Canvas/bgBottom");t.opacity=0;var n=new cc.Node;n.parent=cc.find("Canvas"),n.zIndex=10,n.opacity=255,n.data=t.data,n.width=e.width,n.height=e.height,n.scale=i.scale*t.scale;var o=t.parent.convertToWorldSpaceAR(cc.v2(t.x,t.y)),a=n.parent.convertToNodeSpaceAR(cc.v2(o.x,o.y));n.x=a.x,n.y=a.y;var c=cc.instantiate(t);c.parent=n,c.opacity=255,c.x=0,c.y=0,c.scale=n.width/c.width,c.removeComponent(cc.Button);var h=t.getBoundingBoxToWorld(),r=n.getBoundingBoxToWorld(),s=h.width/r.width;console.log("worldRect1: ",h),console.log("worldRect2: ",r),console.log("rate: ",s),n.scale*=s,this._curShowItem=n,this._curShowItem.bgBottomItem=t,this._curShowItem.baseX=this._curShowItem.x,this._curShowItem.baseY=this._curShowItem.y}},checkOnTargetCircle:function(t){for(var e=0;e<this.hotzoneCircleArr.length;e++){var i=this.hotzoneCircleArr[e];if(i.data.index==this._curShowItem.data.index){var n=this._curShowItem.parent.convertToWorldSpaceAR(cc.v2(this._curShowItem.x,this._curShowItem.y));if(i.getBoundingBoxToWorld().contains(n))return void this.itemAppear(i)}}this.itemBack()},itemAppear:function(t){t.active=!1,this._curShowItem.active=!1,cc.tween(this._curShowItem.data.pic).to(3,{opacity:255},{easing:"cubicOut"}).start(),t.data.audioClip&&(cc.audioEngine.stopAll(),cc.audioEngine.play(t.data.audioClip,!1,.8))},itemBack:function(){var t=cc.v2(this._curShowItem.x,this._curShowItem.y),e=cc.v2(this._curShowItem.baseX,this._curShowItem.baseY);t.sub(e).mag()<=20&&this._curShowItem.data.audioClip?(cc.audioEngine.stopAll(),cc.audioEngine.play(this._curShowItem.data.audioClip,!1,.8)):this._wrongAudioSource.play();var i=this._curShowItem;cc.tween(i).to(.3,{x:i.baseX,y:i.baseY},{easing:"elasticOut"}).call(function(){i.bgBottomItem.opacity=255,i.removeFromParent(),i.data.isDrag=!1}).start()},canvasTouchMove:function(t){if(this._curShowItem){var e=t.getLocation();this._curShowItem.x=e.x-t.currentTarget.width/2,this._curShowItem.y=e.y-t.currentTarget.height/2}},canvasTouchEnd:function(t){this._curShowItem&&(this.checkOnTargetCircle(t),this._curShowItem=null)}}),cc._RF.pop()},{"./util":"util"}],util:[function(t,e,i){"use strict";cc._RF.push(e,"5ac8b17OKNJaawviu75DIhe","util"),i.__esModule=!0,i.getPosByAngle=function(t,e){var i=t*Math.PI/180,n=Math.sin(i)*e,o=Math.cos(i)*e;return{x:n,y:o}},i.getAngleByPos=function(t,e,i,n){var o=Math.abs(t-i),a=Math.abs(e-n),c=Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),h=a/c,r=Math.acos(h),s=Math.floor(180/(Math.PI/r)*100)/100;i>t&&n>e&&(s=180-s);i===t&&n>e&&(s=180);i>t&&n===e&&(s=90);i<t&&n>e&&(s=180+s);i<t&&n===e&&(s=270);i<t&&n<e&&(s=360-s);return s},i.exchangeNodePos=function(t,e){return t.convertToNodeSpaceAR(e._parent.convertToWorldSpaceAR(cc.v2(e.x,e.y)))},i.RandomInt=function(t,e){void 0===e&&(e=0);var i=Math.max(t,e),n=Math.min(t,e);return Math.floor(Math.random()*(i-n)+n)},i.randomSortByArr=function(t){var e=[],i=t.concat();for(;i.length>0;){var n=Math.floor(i.length*Math.random());e.push(i[n]),i.splice(n,1)}return e},i.setSprNodeMaxLen=function(t,e,i){var n=e/t.width,o=i/t.height,a=Math.min(n,o);t.scale=Math.round(1e3*a)/1e3},i.localPosTolocalPos=function(t,e){var i=e.parent.convertToWorldSpaceAR(cc.v2(e.x,e.y));return t.parent.convertToNodeSpaceAR(cc.v2(i.x,i.y))},cc._RF.pop()},{}]},{},["bgBottom","scene","util"]);
\ No newline at end of file
{
"last-module-event-record-time": 1596700248647
"last-module-event-record-time": 1597372049578
}
......@@ -90,16 +90,16 @@
"_active": true,
"_components": [
{
"__id__": 52
"__id__": 54
},
{
"__id__": 53
"__id__": 55
},
{
"__id__": 54
"__id__": 56
},
{
"__id__": 55
"__id__": 57
}
],
"_prefab": null,
......@@ -1888,12 +1888,15 @@
},
{
"__id__": 49
},
{
"__id__": 51
}
],
"_active": false,
"_components": [
{
"__id__": 51
"__id__": 53
}
],
"_prefab": null,
......@@ -2132,6 +2135,86 @@
"_atlas": null,
"_id": "735KnSkDlGq7CTWO843StW"
},
{
"__type__": "cc.Node",
"_name": "wrong_audio",
"_objFlags": 0,
"_parent": {
"__id__": 46
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 52
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 0,
"height": 0
},
"_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": "79Y7ITmj5FDq00IFEjMEnj"
},
{
"__type__": "cc.AudioSource",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 51
},
"_enabled": true,
"_clip": {
"__uuid__": "d36dd89b-a002-4dc6-8383-ea534341830e"
},
"_volume": 0.6,
"_mute": false,
"_loop": false,
"playOnLoad": false,
"preload": true,
"_id": "e4FqxYDQ5DMavcb/jH9rzz"
},
{
"__type__": "cc.Sprite",
"_name": "",
......
{"version":"1.0.8","stats":{"/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/__qc_index__.js":"2020-08-13T01:59:22.307Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/prefab/bgBottom.js":"2020-08-13T01:59:22.290Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/scene.js":"2020-08-13T01:59:22.286Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/util.js":"2020-08-13T01:59:22.288Z"}}
{"version":"1.0.8","stats":{"/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/__qc_index__.js":"2020-08-14T01:35:19.685Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/prefab/bgBottom.js":"2020-08-14T01:35:19.667Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/util.js":"2020-08-14T01:35:19.665Z","/Users/lmz/Documents/workspace/git_project/cocos/cc_mz_003/play/temp/quick-scripts/src/assets/mz_003/script/scene.js":"2020-08-14T01:35:19.664Z"}}
This source diff could not be displayed because it is too large. You can view the blob instead.
(function () {
var scripts = [{"deps":{"./assets/mz_003/prefab/bgBottom":1,"./assets/mz_003/script/scene":2,"./assets/mz_003/script/util":3},"path":"preview-scripts/__qc_index__.js"},{"deps":{"../script/util":3},"path":"preview-scripts/assets/mz_003/prefab/bgBottom.js"},{"deps":{"./util":3},"path":"preview-scripts/assets/mz_003/script/scene.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/util.js"}];
var scripts = [{"deps":{"./assets/mz_003/script/util":2,"./assets/mz_003/prefab/bgBottom":1,"./assets/mz_003/script/scene":3},"path":"preview-scripts/__qc_index__.js"},{"deps":{"../script/util":2},"path":"preview-scripts/assets/mz_003/prefab/bgBottom.js"},{"deps":{},"path":"preview-scripts/assets/mz_003/script/util.js"},{"deps":{"./util":2},"path":"preview-scripts/assets/mz_003/script/scene.js"}];
var entries = ["preview-scripts/__qc_index__.js"];
var bundleScript = 'preview-scripts/__qc_bundle__.js';
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -186,8 +186,13 @@ cc.Class({
},
loadEnd: function loadEnd() {
this.initView();
this.initAudio();
this.initListener();
},
_wrongAudioSource: null,
initAudio: function initAudio() {
this._wrongAudioSource = cc.find('Canvas/res/wrong_audio').getComponent(cc.AudioSource);
},
initListener: function initListener() {
var _this4 = this;
......@@ -628,10 +633,11 @@ cc.Class({
this.hideCurShowItem();
},
touchStartItem: function touchStartItem(item) {
if (item.data.dragEnd) {
if (item.data.isDrag) {
return;
}
item.data.isDrag = true;
var circleSmallNode = cc.find('Canvas/res/circle_bg_small');
var bgBottom = cc.find('Canvas/bgBottom');
item.opacity = 0;
......@@ -689,7 +695,6 @@ cc.Class({
itemAppear: function itemAppear(circle) {
circle.active = false;
this._curShowItem.active = false;
circle.data.dragEnd = true;
cc.tween(this._curShowItem.data.pic).to(3, {
opacity: 255
}, {
......@@ -702,6 +707,17 @@ cc.Class({
}
},
itemBack: function itemBack() {
var startPos = cc.v2(this._curShowItem.x, this._curShowItem.y);
var endPos = cc.v2(this._curShowItem.baseX, this._curShowItem.baseY);
var distance = startPos.sub(endPos).mag();
if (distance <= 20 && this._curShowItem.data.audioClip) {
cc.audioEngine.stopAll();
cc.audioEngine.play(this._curShowItem.data.audioClip, false, 0.8);
} else {
this._wrongAudioSource.play();
}
var backItem = this._curShowItem;
cc.tween(backItem).to(0.3, {
x: backItem.baseX,
......@@ -711,6 +727,7 @@ cc.Class({
}).call(function () {
backItem.bgBottomItem.opacity = 255;
backItem.removeFromParent();
backItem.data.isDrag = false;
}).start();
},
canvasTouchMove: function canvasTouchMove(e) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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