Commit 69e69fba authored by haiyoucuv's avatar haiyoucuv

首页动画

parent 0fe5ee31
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="lowt">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/l/data.json" beforeDir="false" afterPath="$PROJECT_DIR$/l/data.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/popmartXXL2c.getActivityBaseInfoById.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/popmartXXL2c.getActivityBaseInfoById.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/output.js" beforeDir="false" afterPath="$PROJECT_DIR$/output.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/12c3ba00-6891-4320-bee0-e069e865e768.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/2065c35d-11a9-49a0-ac75-df8d4493b67a.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/209bc3f1-5fae-4656-b88e-726de7b6d4d4.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/324e5bcf-0c87-4779-81f1-324dda1b13ac.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/3420054a-1df1-4300-a492-dbde1b4d1e7e.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/3870c90b-6fc6-47ea-a289-5e469672d129.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/5b7888aa-b7bc-4f2b-a2fa-8fab226017db.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/72dd2d96-dc97-4919-ba2c-6547ea626948.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/7d1d4d32-d98b-4c41-990b-963ff816afa0.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/7ee0395a-50ae-4a9b-9efb-3033d359cd71.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/a7067931-f8ce-4993-995b-9e9cb6c16b9a.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/aa35c177-facf-474c-890a-6a50043fefcd.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/ce6b5dda-52d5-454d-8ca6-4edf84d6faeb.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/dc355653-cdd9-421f-a9cf-e900f56512dc.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonus/f91adc3a-eca7-4b94-aa0b-a545726766a8.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/amazing.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/great.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_0.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_1.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_10.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_11.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_12.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_13.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_14.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_15.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_16.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_17.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_18.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_19.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_2.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_3.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_4.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_5.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_6.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_7.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_8.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/img_9.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/bonusTime/wonderful.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/playScene/magicLion.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/playScene/magicLion.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/playScene/magicLionBg.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/playScene/magicLionBg.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/playScene/musicOff.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/playScene/musicOff.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/playScene/musicOn.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/playScene/musicOn.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/playScene/settingBtn.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_bg1.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/map_bg1.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_bg2.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/map_bg2.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_bg3.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/map_bg3.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Lottie.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/Lottie.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lotties/bonus.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lotties/bonus.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/lotties/bonus_lottie.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/lotties/loading_animal.ts" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/LoadingScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/LoadingScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/PlayScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/PlayScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/something/anis/MagicLionAni.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/something/anis/MagicLionAni.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/something/periodAni/MagicLionBgAni.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/something/periodAni/MagicLionBgAni.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapBottom.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapBottom.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapMid.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapMid.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapPart.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapPart.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapTop.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapTop.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -167,9 +122,9 @@
<recent_temporary>
<list>
<item itemvalue="npm.flushRes" />
<item itemvalue="npm.dev" />
<item itemvalue="npm.lt" />
<item itemvalue="Node.js.handleLotS.js" />
<item itemvalue="npm.dev" />
<item itemvalue="JavaScript Debug.aaaa.html" />
</list>
</recent_temporary>
......@@ -219,14 +174,8 @@
<workItem from="1600998191749" duration="23862000" />
<workItem from="1601170975973" duration="20963000" />
<workItem from="1601257315718" duration="48496000" />
<workItem from="1601429998970" duration="22584000" />
</task>
<task id="LOCAL-00017" summary="Success Panel Effect!">
<created>1594781505168</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1594781505168</updated>
<workItem from="1601429998970" duration="22651000" />
<workItem from="1601689013718" duration="8791000" />
</task>
<task id="LOCAL-00018" summary="Success Panel Effect!">
<created>1594794860900</created>
......@@ -564,7 +513,14 @@
<option name="project" value="LOCAL" />
<updated>1601453867845</updated>
</task>
<option name="localTasksCounter" value="66" />
<task id="LOCAL-00066" summary="lowt">
<created>1601472143170</created>
<option name="number" value="00066" />
<option name="presentableId" value="LOCAL-00066" />
<option name="project" value="LOCAL" />
<updated>1601472143170</updated>
</task>
<option name="localTasksCounter" value="67" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......@@ -615,9 +571,10 @@
</state>
<state x="250" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/30.23.1890.1177@30.23.1890.1177" timestamp="1601454738211" />
<state x="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177" timestamp="1594113080922" />
<state x="557" y="183" width="783" height="664" key="CommitChangelistDialog2" timestamp="1601455703296">
<screen x="30" y="23" width="1890" height="1177" />
<state x="557" y="23" width="783" height="664" key="CommitChangelistDialog2" timestamp="1601472142620">
<screen x="30" y="23" width="1410" height="877" />
</state>
<state x="557" y="23" key="CommitChangelistDialog2/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472142620" />
<state x="423" y="142" width="783" height="664" key="CommitChangelistDialog2/30.23.1410.877@30.23.1410.877" timestamp="1601389896862" />
<state x="557" y="183" key="CommitChangelistDialog2/30.23.1890.1177@30.23.1890.1177" timestamp="1601455703296" />
<state x="558" y="183" width="884" height="891" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1595584297912" />
......@@ -625,40 +582,40 @@
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="131" y="123" width="730" height="977" key="DiffContextDialog/30.23.1890.1177@30.23.1890.1177" timestamp="1596165868169" />
<state width="877" height="321" key="GridCell.Tab.0.bottom" timestamp="1601458743427">
<state width="877" height="321" key="GridCell.Tab.0.bottom" timestamp="1601705263219">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="869" height="321" key="GridCell.Tab.0.bottom/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1600867804217" />
<state width="877" height="406" key="GridCell.Tab.0.bottom/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472154151" />
<state width="896" height="406" key="GridCell.Tab.0.bottom/30.23.1410.877@30.23.1410.877" timestamp="1601389901237" />
<state width="888" height="321" key="GridCell.Tab.0.bottom/30.23.1650.1027@30.23.1650.1027" timestamp="1596463312309" />
<state width="877" height="321" key="GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177" timestamp="1601458743427" />
<state width="877" height="321" key="GridCell.Tab.0.bottom/30.23.1890.1177@30.23.1890.1177" timestamp="1601705263219" />
<state width="1041" height="321" key="GridCell.Tab.0.bottom/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918465" />
<state width="877" height="321" key="GridCell.Tab.0.center" timestamp="1601458743426">
<state width="877" height="321" key="GridCell.Tab.0.center" timestamp="1601705263218">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="869" height="321" key="GridCell.Tab.0.center/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1600867804216" />
<state width="877" height="406" key="GridCell.Tab.0.center/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472154151" />
<state width="896" height="406" key="GridCell.Tab.0.center/30.23.1410.877@30.23.1410.877" timestamp="1601389901237" />
<state width="888" height="321" key="GridCell.Tab.0.center/30.23.1650.1027@30.23.1650.1027" timestamp="1596463312308" />
<state width="877" height="321" key="GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177" timestamp="1601458743426" />
<state width="877" height="321" key="GridCell.Tab.0.center/30.23.1890.1177@30.23.1890.1177" timestamp="1601705263218" />
<state width="1041" height="321" key="GridCell.Tab.0.center/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918464" />
<state width="877" height="321" key="GridCell.Tab.0.left" timestamp="1601458743425">
<state width="877" height="321" key="GridCell.Tab.0.left" timestamp="1601705263218">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="869" height="321" key="GridCell.Tab.0.left/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1600867804216" />
<state width="877" height="406" key="GridCell.Tab.0.left/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472154150" />
<state width="896" height="406" key="GridCell.Tab.0.left/30.23.1410.877@30.23.1410.877" timestamp="1601389901237" />
<state width="888" height="321" key="GridCell.Tab.0.left/30.23.1650.1027@30.23.1650.1027" timestamp="1596463312308" />
<state width="877" height="321" key="GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177" timestamp="1601458743425" />
<state width="877" height="321" key="GridCell.Tab.0.left/30.23.1890.1177@30.23.1890.1177" timestamp="1601705263218" />
<state width="1041" height="321" key="GridCell.Tab.0.left/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577197" />
<state width="1041" height="321" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918463" />
<state width="877" height="321" key="GridCell.Tab.0.right" timestamp="1601458743426">
<state width="877" height="321" key="GridCell.Tab.0.right" timestamp="1601705263218">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state width="869" height="321" key="GridCell.Tab.0.right/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1600867804217" />
<state width="877" height="406" key="GridCell.Tab.0.right/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472154151" />
<state width="896" height="406" key="GridCell.Tab.0.right/30.23.1410.877@30.23.1410.877" timestamp="1601389901237" />
<state width="888" height="321" key="GridCell.Tab.0.right/30.23.1650.1027@30.23.1650.1027" timestamp="1596463312309" />
<state width="877" height="321" key="GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177" timestamp="1601458743426" />
<state width="877" height="321" key="GridCell.Tab.0.right/30.23.1890.1177@30.23.1890.1177" timestamp="1601705263218" />
<state width="1041" height="321" key="GridCell.Tab.0.right/31.23.1649.1027@31.23.1649.1027" timestamp="1595590577198" />
<state width="1041" height="321" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1595579918465" />
<state x="82" y="353" key="IDE.errors.dialog" timestamp="1594777965326">
......@@ -675,9 +632,10 @@
</state>
<state x="289" y="314" key="SettingsEditor/30.23.1890.1177@30.23.1890.1177" timestamp="1596079390860" />
<state x="300" y="248" key="SettingsEditor/31.23.1889.1177@31.23.1889.1177" timestamp="1594798992724" />
<state x="91" y="351" key="Vcs.Push.Dialog.v2" timestamp="1601453871272">
<screen x="30" y="23" width="1890" height="1177" />
<state x="76" y="267" key="Vcs.Push.Dialog.v2" timestamp="1601472144830">
<screen x="30" y="23" width="1410" height="877" />
</state>
<state x="76" y="267" key="Vcs.Push.Dialog.v2/30.23.1410.877/1440.23.1920.1177@30.23.1410.877" timestamp="1601472144830" />
<state x="76" y="267" key="Vcs.Push.Dialog.v2/30.23.1410.877@30.23.1410.877" timestamp="1601389898667" />
<state x="91" y="351" key="Vcs.Push.Dialog.v2/30.23.1890.1177@30.23.1890.1177" timestamp="1601453871272" />
<state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1595584299423" />
......@@ -708,11 +666,11 @@
</state>
<state x="156" y="286" key="run.anything.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1596432664001" />
<state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595475548860" />
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup" timestamp="1601457842301">
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup" timestamp="1601704086128">
<screen x="30" y="23" width="1890" height="1177" />
</state>
<state x="484" y="220" width="670" height="504" key="search.everywhere.popup/30.23.1410.877@30.23.1410.877" timestamp="1600829323295" />
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1601457842301" />
<state x="639" y="288" width="671" height="676" key="search.everywhere.popup/30.23.1890.1177@30.23.1890.1177" timestamp="1601704086128" />
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1595584259535" />
</component>
</project>
\ No newline at end of file
resource/map/map_bg1.jpg

187 KB | W: | H:

resource/map/map_bg1.jpg

148 KB | W: | H:

resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
resource/map/map_bg1.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_bg2.jpg

694 KB | W: | H:

resource/map/map_bg2.jpg

740 KB | W: | H:

resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
resource/map/map_bg2.jpg
  • 2-up
  • Swipe
  • Onion skin
resource/map/map_bg3.jpg

393 KB | W: | H:

resource/map/map_bg3.jpg

365 KB | W: | H:

resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
resource/map/map_bg3.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -72,6 +72,26 @@
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,lightImg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_enable.png,map_check_enable_cur.png,map_energyAdd.png,map_energyBg.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_taskBtn_tip.png",
"name": "map"
},
{
"keys": "Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png",
"name": "mapAroma1"
},
{
"keys": "map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png",
"name": "mapCat"
},
{
"keys": "cloud.png,top_foot.png,热气球.png,薯片店.png",
"name": "mapEffect"
},
{
"keys": "tinyBalloon_0.png,tinyBalloon_1.png,tinyBalloon_10.png,tinyBalloon_11.png,tinyBalloon_12.png,tinyBalloon_13.png,tinyBalloon_14.png,tinyBalloon_15.png,tinyBalloon_16.png,tinyBalloon_17.png,tinyBalloon_18.png,tinyBalloon_19.png,tinyBalloon_2.png,tinyBalloon_20.png,tinyBalloon_21.png,tinyBalloon_22.png,tinyBalloon_23.png,tinyBalloon_24.png,tinyBalloon_25.png,tinyBalloon_26.png,tinyBalloon_27.png,tinyBalloon_28.png,tinyBalloon_29.png,tinyBalloon_3.png,tinyBalloon_30.png,tinyBalloon_31.png,tinyBalloon_32.png,tinyBalloon_33.png,tinyBalloon_34.png,tinyBalloon_35.png,tinyBalloon_36.png,tinyBalloon_37.png,tinyBalloon_38.png,tinyBalloon_39.png,tinyBalloon_4.png,tinyBalloon_40.png,tinyBalloon_41.png,tinyBalloon_42.png,tinyBalloon_43.png,tinyBalloon_44.png,tinyBalloon_45.png,tinyBalloon_46.png,tinyBalloon_47.png,tinyBalloon_48.png,tinyBalloon_49.png,tinyBalloon_5.png,tinyBalloon_50.png,tinyBalloon_51.png,tinyBalloon_52.png,tinyBalloon_53.png,tinyBalloon_54.png,tinyBalloon_55.png,tinyBalloon_56.png,tinyBalloon_57.png,tinyBalloon_58.png,tinyBalloon_59.png,tinyBalloon_6.png,tinyBalloon_60.png,tinyBalloon_61.png,tinyBalloon_62.png,tinyBalloon_63.png,tinyBalloon_64.png,tinyBalloon_65.png,tinyBalloon_66.png,tinyBalloon_67.png,tinyBalloon_68.png,tinyBalloon_69.png,tinyBalloon_7.png,tinyBalloon_70.png,tinyBalloon_71.png,tinyBalloon_72.png,tinyBalloon_73.png,tinyBalloon_74.png,tinyBalloon_75.png,tinyBalloon_76.png,tinyBalloon_77.png,tinyBalloon_78.png,tinyBalloon_79.png,tinyBalloon_8.png,tinyBalloon_80.png,tinyBalloon_81.png,tinyBalloon_82.png,tinyBalloon_83.png,tinyBalloon_84.png,tinyBalloon_85.png,tinyBalloon_9.png",
"name": "mapTinyBalloon"
},
{
"keys": "map_tree_0.png,map_tree_1.png,map_tree_10.png,map_tree_100.png,map_tree_101.png,map_tree_102.png,map_tree_103.png,map_tree_104.png,map_tree_105.png,map_tree_11.png,map_tree_12.png,map_tree_13.png,map_tree_14.png,map_tree_15.png,map_tree_16.png,map_tree_17.png,map_tree_18.png,map_tree_19.png,map_tree_2.png,map_tree_20.png,map_tree_21.png,map_tree_22.png,map_tree_23.png,map_tree_24.png,map_tree_25.png,map_tree_26.png,map_tree_27.png,map_tree_28.png,map_tree_29.png,map_tree_3.png,map_tree_30.png,map_tree_31.png,map_tree_32.png,map_tree_33.png,map_tree_34.png,map_tree_35.png,map_tree_36.png,map_tree_37.png,map_tree_38.png,map_tree_39.png,map_tree_4.png,map_tree_40.png,map_tree_41.png,map_tree_42.png,map_tree_43.png,map_tree_44.png,map_tree_45.png,map_tree_46.png,map_tree_47.png,map_tree_48.png,map_tree_49.png,map_tree_5.png,map_tree_50.png,map_tree_51.png,map_tree_52.png,map_tree_53.png,map_tree_54.png,map_tree_55.png,map_tree_56.png,map_tree_57.png,map_tree_58.png,map_tree_59.png,map_tree_6.png,map_tree_60.png,map_tree_61.png,map_tree_62.png,map_tree_63.png,map_tree_64.png,map_tree_65.png,map_tree_66.png,map_tree_67.png,map_tree_68.png,map_tree_69.png,map_tree_7.png,map_tree_70.png,map_tree_71.png,map_tree_72.png,map_tree_73.png,map_tree_74.png,map_tree_75.png,map_tree_76.png,map_tree_77.png,map_tree_78.png,map_tree_79.png,map_tree_8.png,map_tree_80.png,map_tree_81.png,map_tree_82.png,map_tree_83.png,map_tree_84.png,map_tree_85.png,map_tree_86.png,map_tree_87.png,map_tree_88.png,map_tree_89.png,map_tree_9.png,map_tree_90.png,map_tree_91.png,map_tree_92.png,map_tree_93.png,map_tree_94.png,map_tree_95.png,map_tree_96.png,map_tree_97.png,map_tree_98.png,map_tree_99.png",
"name": "mapTree"
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele0Line.png,ele1Exp.png,ele1Line.png,ele2Exp.png,ele2Line.png,ele3Exp.png,ele3Line.png,ele4Exp.png,ele4Line.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
......
......@@ -72,6 +72,26 @@ export const ResJson = {
"keys": "cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,lightImg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_enable.png,map_check_enable_cur.png,map_energyAdd.png,map_energyBg.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_taskBtn_tip.png",
"name": "map"
},
{
"keys": "Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png",
"name": "mapAroma1"
},
{
"keys": "map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png",
"name": "mapCat"
},
{
"keys": "cloud.png,top_foot.png,热气球.png,薯片店.png",
"name": "mapEffect"
},
{
"keys": "tinyBalloon_0.png,tinyBalloon_1.png,tinyBalloon_10.png,tinyBalloon_11.png,tinyBalloon_12.png,tinyBalloon_13.png,tinyBalloon_14.png,tinyBalloon_15.png,tinyBalloon_16.png,tinyBalloon_17.png,tinyBalloon_18.png,tinyBalloon_19.png,tinyBalloon_2.png,tinyBalloon_20.png,tinyBalloon_21.png,tinyBalloon_22.png,tinyBalloon_23.png,tinyBalloon_24.png,tinyBalloon_25.png,tinyBalloon_26.png,tinyBalloon_27.png,tinyBalloon_28.png,tinyBalloon_29.png,tinyBalloon_3.png,tinyBalloon_30.png,tinyBalloon_31.png,tinyBalloon_32.png,tinyBalloon_33.png,tinyBalloon_34.png,tinyBalloon_35.png,tinyBalloon_36.png,tinyBalloon_37.png,tinyBalloon_38.png,tinyBalloon_39.png,tinyBalloon_4.png,tinyBalloon_40.png,tinyBalloon_41.png,tinyBalloon_42.png,tinyBalloon_43.png,tinyBalloon_44.png,tinyBalloon_45.png,tinyBalloon_46.png,tinyBalloon_47.png,tinyBalloon_48.png,tinyBalloon_49.png,tinyBalloon_5.png,tinyBalloon_50.png,tinyBalloon_51.png,tinyBalloon_52.png,tinyBalloon_53.png,tinyBalloon_54.png,tinyBalloon_55.png,tinyBalloon_56.png,tinyBalloon_57.png,tinyBalloon_58.png,tinyBalloon_59.png,tinyBalloon_6.png,tinyBalloon_60.png,tinyBalloon_61.png,tinyBalloon_62.png,tinyBalloon_63.png,tinyBalloon_64.png,tinyBalloon_65.png,tinyBalloon_66.png,tinyBalloon_67.png,tinyBalloon_68.png,tinyBalloon_69.png,tinyBalloon_7.png,tinyBalloon_70.png,tinyBalloon_71.png,tinyBalloon_72.png,tinyBalloon_73.png,tinyBalloon_74.png,tinyBalloon_75.png,tinyBalloon_76.png,tinyBalloon_77.png,tinyBalloon_78.png,tinyBalloon_79.png,tinyBalloon_8.png,tinyBalloon_80.png,tinyBalloon_81.png,tinyBalloon_82.png,tinyBalloon_83.png,tinyBalloon_84.png,tinyBalloon_85.png,tinyBalloon_9.png",
"name": "mapTinyBalloon"
},
{
"keys": "map_tree_0.png,map_tree_1.png,map_tree_10.png,map_tree_100.png,map_tree_101.png,map_tree_102.png,map_tree_103.png,map_tree_104.png,map_tree_105.png,map_tree_11.png,map_tree_12.png,map_tree_13.png,map_tree_14.png,map_tree_15.png,map_tree_16.png,map_tree_17.png,map_tree_18.png,map_tree_19.png,map_tree_2.png,map_tree_20.png,map_tree_21.png,map_tree_22.png,map_tree_23.png,map_tree_24.png,map_tree_25.png,map_tree_26.png,map_tree_27.png,map_tree_28.png,map_tree_29.png,map_tree_3.png,map_tree_30.png,map_tree_31.png,map_tree_32.png,map_tree_33.png,map_tree_34.png,map_tree_35.png,map_tree_36.png,map_tree_37.png,map_tree_38.png,map_tree_39.png,map_tree_4.png,map_tree_40.png,map_tree_41.png,map_tree_42.png,map_tree_43.png,map_tree_44.png,map_tree_45.png,map_tree_46.png,map_tree_47.png,map_tree_48.png,map_tree_49.png,map_tree_5.png,map_tree_50.png,map_tree_51.png,map_tree_52.png,map_tree_53.png,map_tree_54.png,map_tree_55.png,map_tree_56.png,map_tree_57.png,map_tree_58.png,map_tree_59.png,map_tree_6.png,map_tree_60.png,map_tree_61.png,map_tree_62.png,map_tree_63.png,map_tree_64.png,map_tree_65.png,map_tree_66.png,map_tree_67.png,map_tree_68.png,map_tree_69.png,map_tree_7.png,map_tree_70.png,map_tree_71.png,map_tree_72.png,map_tree_73.png,map_tree_74.png,map_tree_75.png,map_tree_76.png,map_tree_77.png,map_tree_78.png,map_tree_79.png,map_tree_8.png,map_tree_80.png,map_tree_81.png,map_tree_82.png,map_tree_83.png,map_tree_84.png,map_tree_85.png,map_tree_86.png,map_tree_87.png,map_tree_88.png,map_tree_89.png,map_tree_9.png,map_tree_90.png,map_tree_91.png,map_tree_92.png,map_tree_93.png,map_tree_94.png,map_tree_95.png,map_tree_96.png,map_tree_97.png,map_tree_98.png,map_tree_99.png",
"name": "mapTree"
},
{
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele0Line.png,ele1Exp.png,ele1Line.png,ele2Exp.png,ele2Line.png,ele3Exp.png,ele3Line.png,ele4Exp.png,ele4Line.png,exLighting0.png,exLighting10.png,exLighting13.png,exLighting15.png,exLighting17.png,exLighting18.png,exLighting2.png,exLighting20.png,exLighting22.png,exLighting24.png,exLighting26.png,exLighting28.png,exLighting31.png,exLighting33.png,exLighting4.png,exLighting6.png,exLighting8.png,eyeDownLeft.png,eyeDownRight.png,eyeSingle.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,starProgress.png,stepAni1.png,stepAni10.png,stepAni11.png,stepAni2.png,stepAni3.png,stepAni4.png,stepAni5.png,stepAni6.png,stepAni7.png,stepAni8.png,stepAni9.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
......
......@@ -122,15 +122,16 @@ export class LoadingScene extends Scene {
// ].map((e) => {
// return RES.loadGroup(e)
// }))
await RES.loadGroup("map")
await RES.loadGroup("map");
await RES.loadGroup("mapEffect");
this.dispatchEvent(FYGE.Event.PROGRESS, 0.6);
await RES.loadGroup("mapCrabEffect")
await RES.loadGroup("mapTree");
this.dispatchEvent(FYGE.Event.PROGRESS, 0.7);
await RES.loadGroup("mapOwlEffect")
await RES.loadGroup("mapCat");
this.dispatchEvent(FYGE.Event.PROGRESS, 0.8);
await RES.loadGroup("mapWhaleEffect")
await RES.loadGroup("mapAroma1");
this.dispatchEvent(FYGE.Event.PROGRESS, 0.9);
await RES.loadGroup("mapCheckPrizeEffect")
await RES.loadGroup("mapTinyBalloon");
this.dispatchEvent(FYGE.Event.PROGRESS, 1);
......
import MapPart from "./MapPart";
import { RES } from "../../../module/RES";
import Point = FYGE.Point;
import { Tools } from "../../Tools";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
export default class MapBottom extends MapPart {
......@@ -25,6 +28,14 @@ export default class MapBottom extends MapPart {
this.initIcon();
}
protected initEffect() {
const balloon = this.addChild(Tools.getSprite('热气球.png'));
balloon.position.set(19, 40);
Tween.get(balloon, {loop: true})
.to({y: -10}, 2500, Ease.quadInOut)
.to({y: 40}, 2500, Ease.quadInOut);
}
public update() {
super.update();
let up = this.localToGlobal(new Point(0, -10), new Point());
......
import MapPart from "./MapPart";
import { RES } from "../../../module/RES";
import Point = FYGE.Point;
import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
import { Tools } from "../../Tools";
export default class MapMid extends MapPart {
......@@ -38,6 +41,59 @@ export default class MapMid extends MapPart {
this.initIcon();
}
protected initEffect() {
const mapCatTexture: Texture[] = [];
for (let i = 0; i < 35; i++) {
mapCatTexture.push(RES.getRes(`map_cat_${i}.png`));
}
const mapCat = this.addChild(new FrameAni(mapCatTexture));
mapCat.position.set(650, 420);
mapCat.play(-1);
const tinyBalloonTexture: Texture[] = [];
for (let i = 0; i < 86; i++) {
tinyBalloonTexture.push(RES.getRes(`tinyBalloon_${i}.png`));
}
const tinyBalloon = this.addChild(new FrameAni(tinyBalloonTexture));
tinyBalloon.position.set(180, 640);
tinyBalloon.play(-1);
const treeTexture: Texture[] = [];
for (let i = 0; i < 106; i++) {
treeTexture.push(RES.getRes(`map_tree_${i}.png`));
}
const treeEffect1 = this.addChild(new FrameAni(treeTexture));
treeEffect1.position.set(735, 400);
treeEffect1.play(-1);
const treeEffect2 = this.addChild(new FrameAni(treeTexture));
treeEffect2.position.set(30, 765);
treeEffect2.scaleX = -1;
treeEffect2.play(-1);
const treeEffect3 = this.addChild(new FrameAni(treeTexture));
treeEffect3.position.set(30, 1590);
treeEffect3.scaleX = -1;
treeEffect3.play(-1);
const treeEffect4 = this.addChild(new FrameAni(treeTexture));
treeEffect4.position.set(740, 1780);
treeEffect4.scaleX = -1;
treeEffect4.play(-1);
this.addChild(Tools.getSprite('薯片店.png',-80, 1570));
const aromaTexture: Texture[] = [];
for (let i = 0; i < 86; i++) {
aromaTexture.push(RES.getRes(`Aroma_1_${i}.png`));
}
const aroma = this.addChild(new FrameAni(aromaTexture));
aroma.position.set(55, 1460);
aroma.play(-1);
}
public update() {
super.update();
let up = this.localToGlobal(new Point(0, -10), new Point());
......
......@@ -2,6 +2,7 @@ import Sprite = FYGE.Sprite;
import CheckBtn from "./CheckBtn";
import { MapScene } from "./MapScene";
import Container = FYGE.Container;
import Point = FYGE.Point;
export default class MapPart extends Container {
......@@ -13,10 +14,18 @@ export default class MapPart extends Container {
protected bg: Sprite = null;
protected timeOutArr = [];
constructor(data) {
super();
this.bg = this.addChild(new Sprite());
this.data = data;
this.initEffect();
}
protected initEffect(){
}
protected initIcon() {
......
......@@ -15,7 +15,6 @@ import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
import { showPanel } from "../../../module/ctrls";
import { FreePowerPanel } from "../../panels/FreePowerPanel";
import { FesRedPrizePanel } from "../../panels/FesRedPrizePanel";
export class MapScene extends Scene {
private mapContainer: Container = null;
......@@ -35,10 +34,6 @@ export class MapScene extends Scene {
public get groupNames(): string[] {
return [
'map',
'mapCrabEffect',
'mapOwlEffect',
'mapWhaleEffect',
'mapCheckPrizeEffect'
];
}
......
import MapPart from "./MapPart";
import { RES } from "../../../module/RES";
import Point = FYGE.Point;
import { Tools } from "../../Tools";
import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
import Tween = FYGE.Tween;
export default class MapTop extends MapPart {
......@@ -26,6 +30,36 @@ export default class MapTop extends MapPart {
this.initIcon();
}
protected initEffect() {
const treeTexture: Texture[] = [];
for (let i = 0; i < 106; i++) {
treeTexture.push(RES.getRes(`map_tree_${i}.png`));
}
const treeEffect1 = this.addChild(new FrameAni(treeTexture));
treeEffect1.position.set(85, 913);
treeEffect1.scaleX = -1;
treeEffect1.play(-1);
const treeEffect2 = this.addChild(new FrameAni(treeTexture));
treeEffect2.position.set(729, 1068);
this.timeOutArr.push(
setTimeout(() => {
treeEffect2.play(-1);
}, 1000)
);
const foot = this.addChild(Tools.getSprite('top_foot.png'));
foot.position.set(-24, 758);
const cloud = this.addChild(Tools.getSprite('cloud.png'));
cloud.position.set(750, 50);
Tween.get(cloud, {loop: true})
.set({x: 750})
.to({x: -692}, 50000)
.wait(1000);
}
public update() {
super.update();
let up = this.localToGlobal(new Point(0, -10), new Point());
......@@ -40,6 +74,7 @@ export default class MapTop extends MapPart {
public destroy() {
super.destroy();
this.timeOutArr.forEach(v => clearTimeout(v));
}
}
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