Commit 2e2ca461 authored by wjf's avatar wjf

l

parents fefdbd91 53f0d1bd
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment=""> <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$/libs/FYGE.d.ts" beforeDir="false" afterPath="$PROJECT_DIR$/libs/FYGE.d.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/SkinJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/SkinJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/CheckBtn.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/CheckBtn.ts" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
...@@ -32,10 +27,11 @@ ...@@ -32,10 +27,11 @@
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/mock" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/resource/map" />
<property name="node.js.detected.package.tslint" value="true" /> <property name="node.js.detected.package.tslint" value="true" />
<property name="node.js.path.for.package.tslint" value="project" /> <property name="node.js.path.for.package.tslint" value="project" />
<property name="node.js.selected.package.tslint" value="(autodetect)" /> <property name="node.js.selected.package.tslint" value="(autodetect)" />
...@@ -48,13 +44,16 @@ ...@@ -48,13 +44,16 @@
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/resource/mapWhaleEffect" />
<recent name="$PROJECT_DIR$/resource/common" />
<recent name="$PROJECT_DIR$/src/scene/map" /> <recent name="$PROJECT_DIR$/src/scene/map" />
</key> </key>
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/mock" />
<recent name="$PROJECT_DIR$/resource/map" /> <recent name="$PROJECT_DIR$/resource/map" />
<recent name="$PROJECT_DIR$/libs" /> <recent name="$PROJECT_DIR$/resource/mapCheckPrizeEffect" />
<recent name="$PROJECT_DIR$/resource" /> <recent name="$PROJECT_DIR$/resource/map_owl_effecrt" />
<recent name="$PROJECT_DIR$/resource/map_crab_effect" />
<recent name="$PROJECT_DIR$/mock" />
</key> </key>
</component> </component>
<component name="RunManager" selected="npm.dev"> <component name="RunManager" selected="npm.dev">
...@@ -65,6 +64,7 @@ ...@@ -65,6 +64,7 @@
<script value="dev" /> <script value="dev" />
</scripts> </scripts>
<node-interpreter value="project" /> <node-interpreter value="project" />
<package-manager value="npm" />
<envs /> <envs />
<method v="2" /> <method v="2" />
</configuration> </configuration>
...@@ -98,7 +98,8 @@ ...@@ -98,7 +98,8 @@
<workItem from="1594106517562" duration="5224000" /> <workItem from="1594106517562" duration="5224000" />
<workItem from="1594111755267" duration="29551000" /> <workItem from="1594111755267" duration="29551000" />
<workItem from="1594260676967" duration="30060000" /> <workItem from="1594260676967" duration="30060000" />
<workItem from="1594604662575" duration="5635000" /> <workItem from="1594604662575" duration="27200000" />
<workItem from="1594691193000" duration="14409000" />
</task> </task>
<task id="LOCAL-00001" summary="111"> <task id="LOCAL-00001" summary="111">
<created>1594122339119</created> <created>1594122339119</created>
...@@ -135,7 +136,70 @@ ...@@ -135,7 +136,70 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1594303577256</updated> <updated>1594303577256</updated>
</task> </task>
<option name="localTasksCounter" value="6" /> <task id="LOCAL-00006" summary="111">
<created>1594645946117</created>
<option name="number" value="00006" />
<option name="presentableId" value="LOCAL-00006" />
<option name="project" value="LOCAL" />
<updated>1594645946117</updated>
</task>
<task id="LOCAL-00007" summary="map effect">
<created>1594693383764</created>
<option name="number" value="00007" />
<option name="presentableId" value="LOCAL-00007" />
<option name="project" value="LOCAL" />
<updated>1594693383765</updated>
</task>
<task id="LOCAL-00008" summary="map effect">
<created>1594695870103</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1594695870103</updated>
</task>
<task id="LOCAL-00009" summary="map effect">
<created>1594696152026</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1594696152026</updated>
</task>
<task id="LOCAL-00010" summary="map effect">
<created>1594697145788</created>
<option name="number" value="00010" />
<option name="presentableId" value="LOCAL-00010" />
<option name="project" value="LOCAL" />
<updated>1594697145788</updated>
</task>
<task id="LOCAL-00011" summary="map effect">
<created>1594698378321</created>
<option name="number" value="00011" />
<option name="presentableId" value="LOCAL-00011" />
<option name="project" value="LOCAL" />
<updated>1594698378321</updated>
</task>
<task id="LOCAL-00012" summary="effect">
<created>1594707238031</created>
<option name="number" value="00012" />
<option name="presentableId" value="LOCAL-00012" />
<option name="project" value="LOCAL" />
<updated>1594707238031</updated>
</task>
<task id="LOCAL-00013" summary="effect">
<created>1594707268299</created>
<option name="number" value="00013" />
<option name="presentableId" value="LOCAL-00013" />
<option name="project" value="LOCAL" />
<updated>1594707268299</updated>
</task>
<task id="LOCAL-00014" summary="effect">
<created>1594712422242</created>
<option name="number" value="00014" />
<option name="presentableId" value="LOCAL-00014" />
<option name="project" value="LOCAL" />
<updated>1594712422242</updated>
</task>
<option name="localTasksCounter" value="15" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -143,37 +207,43 @@ ...@@ -143,37 +207,43 @@
</component> </component>
<component name="VcsManagerConfiguration"> <component name="VcsManagerConfiguration">
<MESSAGE value="111" /> <MESSAGE value="111" />
<option name="LAST_COMMIT_MESSAGE" value="111" /> <MESSAGE value="map effect" />
<MESSAGE value="effect" />
<option name="LAST_COMMIT_MESSAGE" value="effect" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="440" y="273" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1594106579644"> <state x="440" y="273" key="#com.intellij.execution.impl.EditConfigurationsDialog" timestamp="1594106579644">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="440" y="273" key="#com.intellij.execution.impl.EditConfigurationsDialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594106579644" /> <state x="440" y="273" key="#com.intellij.execution.impl.EditConfigurationsDialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594106579644" />
<state x="188" y="314" key="#dev" timestamp="1594691316512">
<screen x="31" y="23" width="1889" height="1177" />
</state>
<state x="188" y="314" key="#dev/31.23.1889.1177@31.23.1889.1177" timestamp="1594691316512" />
<state x="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1594113080922"> <state x="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1" timestamp="1594113080922">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<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="251" y="471" key="ANALYSIS_DLG_com.intellij.analysis.BaseAnalysisAction$1/31.23.1889.1177@31.23.1889.1177" timestamp="1594113080922" />
<state x="58" y="183" key="CommitChangelistDialog2" timestamp="1594303577069"> <state x="754" y="183" key="CommitChangelistDialog2" timestamp="1594712422052">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="58" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1594303577069" /> <state x="754" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1594712422052" />
<state width="879" height="329" key="GridCell.Tab.0.bottom" timestamp="1594605745156"> <state width="882" height="329" key="GridCell.Tab.0.bottom" timestamp="1594712436804">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="879" height="329" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1594605745156" /> <state width="882" height="329" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1594712436804" />
<state width="879" height="329" key="GridCell.Tab.0.center" timestamp="1594605745155"> <state width="882" height="329" key="GridCell.Tab.0.center" timestamp="1594712436804">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="879" height="329" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1594605745155" /> <state width="882" height="329" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1594712436804" />
<state width="879" height="329" key="GridCell.Tab.0.left" timestamp="1594605745155"> <state width="882" height="329" key="GridCell.Tab.0.left" timestamp="1594712436803">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="879" height="329" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1594605745155" /> <state width="882" height="329" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1594712436803" />
<state width="879" height="329" key="GridCell.Tab.0.right" timestamp="1594605745156"> <state width="882" height="329" key="GridCell.Tab.0.right" timestamp="1594712436804">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="879" height="329" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1594605745156" /> <state width="882" height="329" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1594712436804" />
<state x="210" y="320" key="RollbackChangesDialog" timestamp="1594173186663"> <state x="210" y="320" key="RollbackChangesDialog" timestamp="1594173186663">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -182,14 +252,14 @@ ...@@ -182,14 +252,14 @@
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="31" y="250" key="SettingsEditor/31.23.1889.1177@31.23.1889.1177" timestamp="1594195630991" /> <state x="31" y="250" key="SettingsEditor/31.23.1889.1177@31.23.1889.1177" timestamp="1594195630991" />
<state x="92" y="351" key="Vcs.Push.Dialog.v2" timestamp="1594303578553"> <state x="92" y="351" key="Vcs.Push.Dialog.v2" timestamp="1594712423615">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1594303578553" /> <state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1594712423615" />
<state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1594111906161"> <state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser" timestamp="1594705166397">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser/31.23.1889.1177@31.23.1889.1177" timestamp="1594111906161" /> <state x="87" y="216" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser/31.23.1889.1177@31.23.1889.1177" timestamp="1594705166397" />
<state x="907" y="23" width="879" height="1158" key="dock-window-1" timestamp="1594284506599"> <state x="907" y="23" width="879" height="1158" key="dock-window-1" timestamp="1594284506599">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -202,13 +272,17 @@ ...@@ -202,13 +272,17 @@
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="805" y="23" width="879" height="1158" key="dock-window-3/31.23.1889.1177@31.23.1889.1177" timestamp="1594604843980" /> <state x="805" y="23" width="879" height="1158" key="dock-window-3/31.23.1889.1177@31.23.1889.1177" timestamp="1594604843980" />
<state x="222" y="390" key="refactoring.ChangeSignatureDialog" timestamp="1594631868193">
<screen x="31" y="23" width="1889" height="1177" />
</state>
<state x="222" y="390" key="refactoring.ChangeSignatureDialog/31.23.1889.1177@31.23.1889.1177" timestamp="1594631868193" />
<state x="157" y="286" key="run.anything.popup" timestamp="1594188122355"> <state x="157" y="286" key="run.anything.popup" timestamp="1594188122355">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594188122355" /> <state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594188122355" />
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1594609774151"> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1594707473466">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594609774151" /> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594707473466" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"message": "OK", "message": "OK",
"data": { "data": {
"power": 100, "power": 100,
"currentLevel": 4, "currentLevel": 1,
"tools": { "tools": {
"STEPS": 1, "STEPS": 1,
"BOOMS": 2, "BOOMS": 2,
...@@ -14,6 +14,9 @@ ...@@ -14,6 +14,9 @@
{ {
"level": 5 "level": 5
}, },
{
"level": 4
},
{ {
"level": 1 "level": 1
} }
...@@ -45,7 +48,56 @@ ...@@ -45,7 +48,56 @@
"scores": 44444, "scores": 44444,
"stars": 2, "stars": 2,
"isPrizeLevel": false, "isPrizeLevel": false,
"isVisitSuccess": false "isVisitSuccess": true
},
{
"level": 5,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 6,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 7,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 4,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 8,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 9,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
},
{
"level": 10,
"scores": 44444,
"stars": 2,
"isPrizeLevel": false,
"isVisitSuccess": true
} }
], ],
"isFristLogin": false "isFristLogin": false
......
resource/map/map_bg1.jpg

605 KB | W: | H:

resource/map/map_bg1.jpg

598 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

723 KB | W: | H:

resource/map/map_bg2.jpg

747 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
{ {
"groups": [ "groups": [
{
"keys": "bonusTime0.png,bonusTime1.png,bonusTime10.png,bonusTime11.png,bonusTime12.png,bonusTime13.png,bonusTime14.png,bonusTime15.png,bonusTime16.png,bonusTime17.png,bonusTime18.png,bonusTime19.png,bonusTime2.png,bonusTime20.png,bonusTime21.png,bonusTime22.png,bonusTime23.png,bonusTime24.png,bonusTime25.png,bonusTime26.png,bonusTime27.png,bonusTime28.png,bonusTime3.png,bonusTime4.png,bonusTime5.png,bonusTime6.png,bonusTime7.png,bonusTime8.png,bonusTime9.png",
"name": "bonusTime"
},
{ {
"keys": "增加体力背景.png,无字按钮底.png", "keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel" "name": "BuyPowerPanel"
}, },
{ {
<<<<<<< HEAD
"keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png", "keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common" "name": "common"
}, },
{ {
=======
>>>>>>> 53f0d1bd52890e958613d5588c5c300802cabe5e
"keys": "积分不足背景.png,赚取积分.png", "keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel" "name": "CreditsOutPanel"
}, },
...@@ -24,22 +23,10 @@ ...@@ -24,22 +23,10 @@
"keys": "失败Bg.png,失败重新闯关.png", "keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel" "name": "FailedPanel"
}, },
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{ {
"keys": "圆圈.png,开心收下.png", "keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel" "name": "FreePowerPanel"
}, },
{
"keys": "cur_light_1.png,cur_light_2.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "map"
},
{ {
"keys": "体力不足Bg.png,体力不足按钮.png", "keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel" "name": "NoEnergyPanel"
...@@ -49,15 +36,18 @@ ...@@ -49,15 +36,18 @@
"name": "NoStepBtn" "name": "NoStepBtn"
}, },
{ {
<<<<<<< HEAD
"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,boomBtn.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,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,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.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,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,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,settingBtn.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,stepBtn.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png", "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,boomBtn.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,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,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.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,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,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,settingBtn.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,stepBtn.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene" "name": "playScene"
}, },
{ {
=======
>>>>>>> 53f0d1bd52890e958613d5588c5c300802cabe5e
"keys": "活动规则背景.png", "keys": "活动规则背景.png",
"name": "RulePanel" "name": "RulePanel"
}, },
{ {
"keys": "开始闯关Bg.png,开始闯关不要能量.png", "keys": "开始闯关Bg.png",
"name": "StartPanel" "name": "StartPanel"
}, },
{ {
...@@ -83,6 +73,46 @@ ...@@ -83,6 +73,46 @@
{ {
"keys": "使用道具背景.png", "keys": "使用道具背景.png",
"name": "UseToolPanel" "name": "UseToolPanel"
},
{
"keys": "bonusTime0.png,bonusTime1.png,bonusTime10.png,bonusTime11.png,bonusTime12.png,bonusTime13.png,bonusTime14.png,bonusTime15.png,bonusTime16.png,bonusTime17.png,bonusTime18.png,bonusTime19.png,bonusTime2.png,bonusTime20.png,bonusTime21.png,bonusTime22.png,bonusTime23.png,bonusTime24.png,bonusTime25.png,bonusTime26.png,bonusTime27.png,bonusTime28.png,bonusTime3.png,bonusTime4.png,bonusTime5.png,bonusTime6.png,bonusTime7.png,bonusTime8.png,bonusTime9.png",
"name": "bonusTime"
},
{
"keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{
"keys": "cur_light_1.png,cur_light_2.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map"
},
{
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
},
{
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
"name": "mapCrabEffect"
},
{
"keys": "map_owl_0.png,map_owl_1.png,map_owl_10.png,map_owl_11.png,map_owl_12.png,map_owl_13.png,map_owl_14.png,map_owl_15.png,map_owl_2.png,map_owl_3.png,map_owl_4.png,map_owl_5.png,map_owl_6.png,map_owl_7.png,map_owl_8.png,map_owl_9.png",
"name": "mapOwlEffect"
},
{
"keys": "map_whale_0.png,map_whale_1.png,map_whale_10.png,map_whale_11.png,map_whale_12.png,map_whale_2.png,map_whale_3.png,map_whale_4.png,map_whale_5.png,map_whale_6.png,map_whale_7.png,map_whale_8.png,map_whale_9.png",
"name": "mapWhaleEffect"
},
{
"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,boomBtn.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,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece10.png,hairballPiece11.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,redNum0.png,redNum1.png,redNum2.png,redNum3.png,redNum4.png,redNum5.png,redNum6.png,redNum7.png,redNum8.png,redNum9.png,redNum关.png,redNum冒号.png,redNum分.png,redNum数.png,redNum第.png,redNum通.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.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,stepBtn.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
export const ResJson = { export const ResJson = {
"groups": [ "groups": [
{
"keys": "bonusTime0.png,bonusTime1.png,bonusTime10.png,bonusTime11.png,bonusTime12.png,bonusTime13.png,bonusTime14.png,bonusTime15.png,bonusTime16.png,bonusTime17.png,bonusTime18.png,bonusTime19.png,bonusTime2.png,bonusTime20.png,bonusTime21.png,bonusTime22.png,bonusTime23.png,bonusTime24.png,bonusTime25.png,bonusTime26.png,bonusTime27.png,bonusTime28.png,bonusTime3.png,bonusTime4.png,bonusTime5.png,bonusTime6.png,bonusTime7.png,bonusTime8.png,bonusTime9.png",
"name": "bonusTime"
},
{ {
"keys": "增加体力背景.png,无字按钮底.png", "keys": "增加体力背景.png,无字按钮底.png",
"name": "BuyPowerPanel" "name": "BuyPowerPanel"
}, },
{ {
<<<<<<< HEAD
"keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png", "keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common" "name": "common"
}, },
{ {
=======
>>>>>>> 53f0d1bd52890e958613d5588c5c300802cabe5e
"keys": "积分不足背景.png,赚取积分.png", "keys": "积分不足背景.png,赚取积分.png",
"name": "CreditsOutPanel" "name": "CreditsOutPanel"
}, },
...@@ -24,22 +23,10 @@ export const ResJson = { ...@@ -24,22 +23,10 @@ export const ResJson = {
"keys": "失败Bg.png,失败重新闯关.png", "keys": "失败Bg.png,失败重新闯关.png",
"name": "FailedPanel" "name": "FailedPanel"
}, },
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{ {
"keys": "圆圈.png,开心收下.png", "keys": "圆圈.png,开心收下.png",
"name": "FreePowerPanel" "name": "FreePowerPanel"
}, },
{
"keys": "cur_light_1.png,cur_light_2.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "map"
},
{ {
"keys": "体力不足Bg.png,体力不足按钮.png", "keys": "体力不足Bg.png,体力不足按钮.png",
"name": "NoEnergyPanel" "name": "NoEnergyPanel"
...@@ -49,15 +36,18 @@ export const ResJson = { ...@@ -49,15 +36,18 @@ export const ResJson = {
"name": "NoStepBtn" "name": "NoStepBtn"
}, },
{ {
<<<<<<< HEAD
"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,boomBtn.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,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,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.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,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,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,settingBtn.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,stepBtn.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png", "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,boomBtn.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,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,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.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,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,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,settingBtn.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,stepBtn.png,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene" "name": "playScene"
}, },
{ {
=======
>>>>>>> 53f0d1bd52890e958613d5588c5c300802cabe5e
"keys": "活动规则背景.png", "keys": "活动规则背景.png",
"name": "RulePanel" "name": "RulePanel"
}, },
{ {
"keys": "开始闯关Bg.png,开始闯关不要能量.png", "keys": "开始闯关Bg.png",
"name": "StartPanel" "name": "StartPanel"
}, },
{ {
...@@ -83,6 +73,46 @@ export const ResJson = { ...@@ -83,6 +73,46 @@ export const ResJson = {
{ {
"keys": "使用道具背景.png", "keys": "使用道具背景.png",
"name": "UseToolPanel" "name": "UseToolPanel"
},
{
"keys": "bonusTime0.png,bonusTime1.png,bonusTime10.png,bonusTime11.png,bonusTime12.png,bonusTime13.png,bonusTime14.png,bonusTime15.png,bonusTime16.png,bonusTime17.png,bonusTime18.png,bonusTime19.png,bonusTime2.png,bonusTime20.png,bonusTime21.png,bonusTime22.png,bonusTime23.png,bonusTime24.png,bonusTime25.png,bonusTime26.png,bonusTime27.png,bonusTime28.png,bonusTime3.png,bonusTime4.png,bonusTime5.png,bonusTime6.png,bonusTime7.png,bonusTime8.png,bonusTime9.png",
"name": "bonusTime"
},
{
"keys": "comCloseBtn.png,ele0.png,ele1.png,ele10.png,ele11.png,ele12.png,ele13.png,ele14.png,ele2.png,ele3.png,ele4.png,ele5.png,ele6.png,ele7.png,ele8.png,ele9.png,star.png,toastBg.png,waitingBg.png,waitingRot.png,关闭按钮.png,再想想.png,动物.png,开始闯关不要能量.png,开始闯关要能量.png,确定.png,继续闯关大.png,继续闯关小.png",
"name": "common"
},
{
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png",
"name": "festival"
},
{
"keys": "dis_ele0_0.png,dis_ele0_1.png,dis_ele0_10.png,dis_ele0_11.png,dis_ele0_12.png,dis_ele0_13.png,dis_ele0_14.png,dis_ele0_2.png,dis_ele0_3.png,dis_ele0_4.png,dis_ele0_5.png,dis_ele0_6.png,dis_ele0_7.png,dis_ele0_8.png,dis_ele0_9.png,dis_ele1_0.png,dis_ele1_1.png,dis_ele1_10.png,dis_ele1_11.png,dis_ele1_12.png,dis_ele1_13.png,dis_ele1_14.png,dis_ele1_2.png,dis_ele1_3.png,dis_ele1_4.png,dis_ele1_5.png,dis_ele1_6.png,dis_ele1_7.png,dis_ele1_8.png,dis_ele1_9.png,dis_ele2_0.png,dis_ele2_1.png,dis_ele2_10.png,dis_ele2_11.png,dis_ele2_12.png,dis_ele2_13.png,dis_ele2_14.png,dis_ele2_2.png,dis_ele2_3.png,dis_ele2_4.png,dis_ele2_5.png,dis_ele2_6.png,dis_ele2_7.png,dis_ele2_8.png,dis_ele2_9.png,dis_ele3_.png,dis_ele3_0.png,dis_ele3_1.png,dis_ele3_10.png,dis_ele3_11.png,dis_ele3_12.png,dis_ele3_13.png,dis_ele3_14.png,dis_ele3_2.png,dis_ele3_3.png,dis_ele3_4.png,dis_ele3_6.png,dis_ele3_7.png,dis_ele3_8.png,dis_ele3_9.png,dis_ele4_0.png,dis_ele4_1.png,dis_ele4_10.png,dis_ele4_11.png,dis_ele4_12.png,dis_ele4_13.png,dis_ele4_14.png,dis_ele4_2.png,dis_ele4_3.png,dis_ele4_4.png,dis_ele4_5.png,dis_ele4_6.png,dis_ele4_7.png,dis_ele4_8.png,dis_ele4_9.png,hor_ele0_0.png,hor_ele0_1.png,hor_ele0_10.png,hor_ele0_11.png,hor_ele0_12.png,hor_ele0_13.png,hor_ele0_14.png,hor_ele0_15.png,hor_ele0_2.png,hor_ele0_3.png,hor_ele0_4.png,hor_ele0_5.png,hor_ele0_6.png,hor_ele0_7.png,hor_ele0_8.png,hor_ele0_9.png,hor_ele1_0.png,hor_ele1_1.png,hor_ele1_10.png,hor_ele1_11.png,hor_ele1_12.png,hor_ele1_13.png,hor_ele1_14.png,hor_ele1_15.png,hor_ele1_2.png,hor_ele1_3.png,hor_ele1_4.png,hor_ele1_5.png,hor_ele1_6.png,hor_ele1_7.png,hor_ele1_8.png,hor_ele1_9.png,hor_ele2_0.png,hor_ele2_1.png,hor_ele2_10.png,hor_ele2_11.png,hor_ele2_12.png,hor_ele2_13.png,hor_ele2_14.png,hor_ele2_15.png,hor_ele2_2.png,hor_ele2_3.png,hor_ele2_4.png,hor_ele2_5.png,hor_ele2_6.png,hor_ele2_7.png,hor_ele2_8.png,hor_ele2_9.png,hor_ele3_0.png,hor_ele3_1.png,hor_ele3_10.png,hor_ele3_11.png,hor_ele3_12.png,hor_ele3_13.png,hor_ele3_14.png,hor_ele3_15.png,hor_ele3_2.png,hor_ele3_3.png,hor_ele3_4.png,hor_ele3_5.png,hor_ele3_6.png,hor_ele3_7.png,hor_ele3_8.png,hor_ele3_9.png,hor_ele4_0.png,hor_ele4_1.png,hor_ele4_10.png,hor_ele4_11.png,hor_ele4_12.png,hor_ele4_13.png,hor_ele4_14.png,hor_ele4_15.png,hor_ele4_2.png,hor_ele4_3.png,hor_ele4_4.png,hor_ele4_5.png,hor_ele4_6.png,hor_ele4_7.png,hor_ele4_8.png,hor_ele4_9.png,ver_ele0_0.png,ver_ele0_1.png,ver_ele0_10.png,ver_ele0_11.png,ver_ele0_12.png,ver_ele0_13.png,ver_ele0_14.png,ver_ele0_15.png,ver_ele0_2.png,ver_ele0_3.png,ver_ele0_4.png,ver_ele0_5.png,ver_ele0_6.png,ver_ele0_7.png,ver_ele0_8.png,ver_ele0_9.png,ver_ele1_0.png,ver_ele1_1.png,ver_ele1_10.png,ver_ele1_11.png,ver_ele1_12.png,ver_ele1_13.png,ver_ele1_14.png,ver_ele1_15.png,ver_ele1_2.png,ver_ele1_3.png,ver_ele1_4.png,ver_ele1_5.png,ver_ele1_6.png,ver_ele1_7.png,ver_ele1_8.png,ver_ele1_9.png,ver_ele2_0.png,ver_ele2_1.png,ver_ele2_10.png,ver_ele2_11.png,ver_ele2_12.png,ver_ele2_13.png,ver_ele2_14.png,ver_ele2_15.png,ver_ele2_2.png,ver_ele2_3.png,ver_ele2_4.png,ver_ele2_5.png,ver_ele2_6.png,ver_ele2_7.png,ver_ele2_8.png,ver_ele2_9.png,ver_ele3_0.png,ver_ele3_1.png,ver_ele3_10.png,ver_ele3_11.png,ver_ele3_12.png,ver_ele3_13.png,ver_ele3_14.png,ver_ele3_15.png,ver_ele3_2.png,ver_ele3_3.png,ver_ele3_4.png,ver_ele3_5.png,ver_ele3_6.png,ver_ele3_7.png,ver_ele3_8.png,ver_ele3_9.png,ver_ele4_0.png,ver_ele4_1.png,ver_ele4_10.png,ver_ele4_11.png,ver_ele4_12.png,ver_ele4_13.png,ver_ele4_14.png,ver_ele4_15.png,ver_ele4_2.png,ver_ele4_3.png,ver_ele4_4.png,ver_ele4_5.png,ver_ele4_6.png,ver_ele4_7.png,ver_ele4_8.png,ver_ele4_9.png",
"name": "fiveVerHorDis"
},
{
"keys": "cur_light_1.png,cur_light_2.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_disable_prize.png,map_check_enable.png,map_check_enable_cur.png,map_creditsBg.png,map_energyAdd.png,map_energyBg.png,map_prizeBox.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_推车.png,map_狐狸气球.png,water1.png,water2.png",
"name": "map"
},
{
"keys": "prize_check_0.png,prize_check_1.png,prize_check_10.png,prize_check_11.png,prize_check_12.png,prize_check_13.png,prize_check_14.png,prize_check_15.png,prize_check_16.png,prize_check_2.png,prize_check_3.png,prize_check_4.png,prize_check_5.png,prize_check_6.png,prize_check_7.png,prize_check_8.png,prize_check_9.png",
"name": "mapCheckPrizeEffect"
},
{
"keys": "map_crab_0.png,map_crab_1.png,map_crab_10.png,map_crab_11.png,map_crab_12.png,map_crab_13.png,map_crab_14.png,map_crab_15.png,map_crab_16.png,map_crab_17.png,map_crab_18.png,map_crab_19.png,map_crab_2.png,map_crab_20.png,map_crab_21.png,map_crab_22.png,map_crab_23.png,map_crab_24.png,map_crab_25.png,map_crab_26.png,map_crab_27.png,map_crab_28.png,map_crab_29.png,map_crab_3.png,map_crab_30.png,map_crab_4.png,map_crab_5.png,map_crab_6.png,map_crab_7.png,map_crab_8.png,map_crab_9.png",
"name": "mapCrabEffect"
},
{
"keys": "map_owl_0.png,map_owl_1.png,map_owl_10.png,map_owl_11.png,map_owl_12.png,map_owl_13.png,map_owl_14.png,map_owl_15.png,map_owl_2.png,map_owl_3.png,map_owl_4.png,map_owl_5.png,map_owl_6.png,map_owl_7.png,map_owl_8.png,map_owl_9.png",
"name": "mapOwlEffect"
},
{
"keys": "map_whale_0.png,map_whale_1.png,map_whale_10.png,map_whale_11.png,map_whale_12.png,map_whale_2.png,map_whale_3.png,map_whale_4.png,map_whale_5.png,map_whale_6.png,map_whale_7.png,map_whale_8.png,map_whale_9.png",
"name": "mapWhaleEffect"
},
{
"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,boomBtn.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,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,ele1Exp.png,ele2Exp.png,ele3Exp.png,ele4Exp.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,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece10.png,hairballPiece11.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8.png,hairballPiece9.png,hammerBtn.png,ice2.png,ice3.png,ice4.png,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,rectLat.png,rectLatWhite.png,redDoorBg.png,redNum0.png,redNum1.png,redNum2.png,redNum3.png,redNum4.png,redNum5.png,redNum6.png,redNum7.png,redNum8.png,redNum9.png,redNum关.png,redNum冒号.png,redNum分.png,redNum数.png,redNum第.png,redNum通.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.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,stepBtn.png,table.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
export const SkinJson = { export const SkinJson = {
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "SuccessNoPrizePanel", "name": "SuccessNoPrizePanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "闯关成功Bg", "name": "闯关成功Bg",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "闯关成功Bg.png" "source": "闯关成功Bg.png"
} }
}, },
{ {
"name": "继续闯关大", "name": "继续闯关大",
"x": 163, "x": 163,
"y": 935, "y": 935,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关大.png" "tUp": "继续闯关大.png"
}, },
"id": "totalContinueBtn" "id": "totalContinueBtn"
}, },
{ {
"name": "继续闯关小", "name": "继续闯关小",
"x": 381, "x": 381,
"y": 955, "y": 955,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关小.png" "tUp": "继续闯关小.png"
}, },
"id": "continueBtn" "id": "continueBtn"
}, },
{ {
"name": "闯关成功不满星按钮", "name": "闯关成功不满星按钮",
"x": 91, "x": 91,
"y": 955, "y": 955,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "闯关成功不满星按钮.png" "tUp": "闯关成功不满星按钮.png"
}, },
"id": "againBtn" "id": "againBtn"
}, },
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 519,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 24.78875, "size": 24.78875,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "checkTex" "id": "checkTex"
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 210, "x": 210,
"y": 797, "y": 797,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "太厉害了!\n再闯6关就即可抽奖!", "text": "太厉害了!\n再闯6关就即可抽奖!",
"size": 36, "size": 36,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "tipsTex" "id": "tipsTex"
}, },
{ {
"name": "star", "name": "star",
"x": 145, "x": 145,
"y": 601, "y": 601,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "star.png" "source": "star.png"
} }
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
}, },
"id": "closeBtn" "id": "closeBtn"
} }
] ]
}, },
{ {
"name": "SuccessPrizePanel", "name": "SuccessPrizePanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "闯关成功", "name": "闯关成功",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "闯关成功.png" "source": "闯关成功.png"
} }
}, },
{ {
"name": "继续闯关大", "name": "继续闯关大",
"x": 163, "x": 163,
"y": 1086, "y": 1086,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关大.png" "tUp": "继续闯关大.png"
}, },
"id": "noPrizeAgainBtn" "id": "noPrizeAgainBtn"
}, },
{ {
"name": "继续闯关小", "name": "继续闯关小",
"x": 93, "x": 93,
"y": 1095, "y": 1095,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "继续闯关小.png" "tUp": "继续闯关小.png"
}, },
"id": "againBtn" "id": "againBtn"
}, },
{ {
"name": "按钮-继续闯关", "name": "按钮-继续闯关",
"x": 383, "x": 383,
"y": 1095, "y": 1095,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "按钮-继续闯关.png" "source": "按钮-继续闯关.png"
} }
}, },
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 519,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 24.78875, "size": 24.78875,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "checkTex" "id": "checkTex"
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 182, "x": 182,
"y": 810, "y": 810,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "太厉害了!获得抽奖资格!", "text": "太厉害了!获得抽奖资格!",
"size": 34, "size": 34,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "tipsTex" "id": "tipsTex"
}, },
{ {
"name": "红包奖励", "name": "红包奖励",
"x": 130, "x": 130,
"y": 870, "y": 870,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "红包奖励.png" "source": "红包奖励.png"
} }
}, },
{ {
"name": "道具", "name": "道具",
"x": 124, "x": 124,
"y": 858, "y": 858,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "圆角矩形 648", "name": "圆角矩形 648",
"x": 0, "x": 0,
"y": 0, "y": 0,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "圆角矩形 648.png" "source": "圆角矩形 648.png"
} }
}, },
{ {
"name": "步数道具 x1", "name": "步数道具 x1",
"x": 265, "x": 265,
"y": 85, "y": 85,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "步数道具 x1", "text": "步数道具 x1",
"size": 30, "size": 30,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
} }
}, },
{ {
"name": "道具", "name": "道具",
"x": 76, "x": 76,
"y": 24, "y": 24,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "道具.png" "source": "道具.png"
} }
} }
] ]
}, },
{ {
"name": "star", "name": "star",
"x": 145, "x": 145,
"y": 601, "y": 601,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "star.png" "source": "star.png"
} }
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
}, },
"id": "closeBtn" "id": "closeBtn"
} }
] ]
}, },
{ {
"name": "NoStepBtn", "name": "NoStepBtn",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "步数耗尽Bg", "name": "步数耗尽Bg",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "步数耗尽Bg.png" "source": "步数耗尽Bg.png"
} }
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 163, "x": 163,
"y": 661, "y": 661,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "消耗20积分可复活 ,步数+5\n确认复活吗?", "text": "消耗20积分可复活 ,步数+5\n确认复活吗?",
"size": 34, "size": 34,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "tipsTex" "id": "tipsTex"
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
}, },
"id": "closeBtn" "id": "closeBtn"
}, },
{ {
"name": "步数耗尽复活", "name": "步数耗尽复活",
"x": 383, "x": 383,
"y": 845, "y": 845,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "步数耗尽复活.png" "tUp": "步数耗尽复活.png"
}, },
"id": "liveBtn" "id": "liveBtn"
}, },
{ {
"name": "步数耗尽结束按钮", "name": "步数耗尽结束按钮",
"x": 93, "x": 93,
"y": 845, "y": 845,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "步数耗尽结束按钮.png" "tUp": "步数耗尽结束按钮.png"
}, },
"id": "overBtn" "id": "overBtn"
} }
] ]
}, },
{ {
"name": "FailedPanel", "name": "FailedPanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "失败Bg", "name": "失败Bg",
"x": 55, "x": 55,
"y": 276, "y": 276,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "失败Bg.png" "source": "失败Bg.png"
} }
}, },
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 519,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 24.78875, "size": 24.78875,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "checkTex" "id": "checkTex"
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 224, "x": 224,
"y": 611, "y": 611,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "再接再厉!\n再闯3关可参与抽奖!", "text": "再接再厉!\n再闯3关可参与抽奖!",
"size": 36, "size": 36,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "tipsTex" "id": "tipsTex"
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
}, },
"id": "closeBtn" "id": "closeBtn"
}, },
{ {
"name": "失败重新闯关", "name": "失败重新闯关",
"x": 163, "x": 163,
"y": 957, "y": 957,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "失败重新闯关.png" "tUp": "失败重新闯关.png"
}, },
"id": "againBtn" "id": "againBtn"
} }
] ]
}, },
{ {
"name": "StartPanel", "name": "StartPanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "开始闯关Bg", "name": "开始闯关Bg",
"x": 55, "x": 55,
"y": 266, "y": 266,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "开始闯关Bg.png" "source": "开始闯关Bg.png"
} }
}, },
{ {
"name": "开始闯关要能量", "name": "开始闯关要能量",
"x": 163, "x": 163,
"y": 899, "y": 899,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关要能量.png" "tUp": "开始闯关要能量.png"
}, },
"id": "startBtn" "id": "startBtn"
}, },
{ {
"name": "开始闯关不要能量", "name": "开始闯关不要能量",
"x": 163, "x": 163,
"y": 899, "y": 899,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关不要能量.png" "tUp": "开始闯关不要能量.png"
}, },
"id": "startBtn2" "id": "startBtn2"
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 221, "x": 221,
"y": 847, "y": 847,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "本关满星可获得随机道具", "text": "本关满星可获得随机道具",
"size": 28, "size": 28,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "tipsTex" "id": "tipsTex"
}, },
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 317, "x": 317,
"y": 519, "y": 519,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 6 关", "text": "第 6 关",
"size": 40, "size": 40,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "checkTex" "id": "checkTex"
}, },
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
"y": 470, "y": 470,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "关闭按钮.png"
}, },
"id": "closeBtn" "id": "closeBtn"
}, }
{ ]
"name": "动物", },
"x": 154, {
"y": 693, "name": "StartPanelPrize",
"alpha": 1, "x": 0,
"type": "sprite", "y": 0,
"props": { "type": "container",
"source": "动物.png" "children": [
} {
} "name": "关卡弹窗Bg",
] "x": 55,
}, "y": 266,
{ "alpha": 1,
"name": "StartPanelPrize", "type": "sprite",
"x": 0, "props": {
"y": 0, "source": "关卡弹窗Bg.png"
"type": "container", }
"children": [ },
{ {
"name": "关卡弹窗Bg", "name": "关卡数",
"x": 55, "x": 312,
"y": 266, "y": 519,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "text",
"props": { "props": {
"source": "关卡弹窗Bg.png" "text": "第 6 关",
} "size": 40,
}, "fillColor": "#df5942",
{ "textAlpha": 1
"name": "关卡数", },
"x": 312, "id": "checkTex"
"y": 519, },
"alpha": 1, {
"type": "text", "name": "提示文案",
"props": { "x": 206,
"text": "第 6 关", "y": 849,
"size": 24.78875, "alpha": 1,
"fillColor": "#df5942", "type": "text",
"textAlpha": 1 "props": {
}, "text": "通关参与抽奖,最高可赢得",
"id": "checkTex" "size": 28,
}, "fillColor": "#df5942",
{ "textAlpha": 1
"name": "提示文案", },
"x": 206, "id": "tipsTex"
"y": 849, },
"alpha": 1, {
"type": "text", "name": "开始闯关要能量",
"props": { "x": 163,
"text": "通关参与抽奖,最高可赢得", "y": 1120,
"size": 28, "alpha": 1,
"fillColor": "#df5942", "type": "button",
"textAlpha": 1 "props": {
}, "tUp": "开始闯关要能量.png"
"id": "tipsTex" },
}, "id": "startBtn"
{ },
"name": "动物", {
"x": 154, "name": "开始闯关不要能量",
"y": 692, "x": 163,
"alpha": 1, "y": 1120,
"type": "sprite", "alpha": 1,
"props": { "type": "button",
"source": "动物.png" "props": {
} "tUp": "开始闯关不要能量.png"
}, },
{ "id": "startBtn2"
"name": "开始闯关要能量", },
"x": 163, {
"y": 1120, "name": "prize",
"alpha": 1, "x": 130,
"type": "button", "y": 903,
"props": { "alpha": 1,
"tUp": "开始闯关要能量.png" "type": "sprite",
}, "props": {
"id": "startBtn" "source": "prize.png"
}, }
{ },
"name": "prize", {
"x": 130, "name": "关闭按钮",
"y": 903, "x": 631,
"alpha": 1, "y": 470,
"type": "sprite", "alpha": 1,
"props": { "type": "button",
"source": "prize.png" "props": {
} "tUp": "关闭按钮.png"
}, },
{ "id": "closeBtn"
"name": "关闭按钮", }
"x": 631, ]
"y": 470, },
"alpha": 1, {
"type": "button", "name": "NoEnergyPanel",
"props": { "x": 0,
"tUp": "关闭按钮.png" "y": 0,
}, "type": "container",
"id": "closeBtn" "children": [
} {
] "name": "体力不足Bg",
}, "x": 55,
{ "y": 497,
"name": "NoEnergyPanel", "alpha": 1,
"x": 0, "type": "sprite",
"y": 0, "props": {
"type": "container", "source": "体力不足Bg.png"
"children": [ }
{ },
"name": "体力不足Bg", {
"x": 55, "name": "体力不足按钮",
"y": 497, "x": 163,
"alpha": 1, "y": 880,
"type": "sprite", "alpha": 1,
"props": { "type": "button",
"source": "体力不足Bg.png" "props": {
} "tUp": "体力不足按钮.png"
}, },
{ "id": "okBtn"
"name": "体力不足按钮", },
"x": 163, {
"y": 880, "name": "关闭按钮",
"alpha": 1, "x": 631,
"type": "button", "y": 470,
"props": { "alpha": 1,
"tUp": "体力不足按钮.png" "type": "button",
}, "props": {
"id": "okBtn" "tUp": "关闭按钮.png"
}, },
{ "id": "closeBtn"
"name": "关闭按钮", }
"x": 631, ]
"y": 470, },
"alpha": 1, {
"type": "button", "name": "BuyPowerPanel",
"props": { "x": 0,
"tUp": "关闭按钮.png" "y": 0,
}, "type": "container",
"id": "closeBtn" "children": [
} {
] "name": "增加体力背景",
}, "x": 55,
{ "y": 498,
"name": "BuyPowerPanel", "alpha": 1,
"x": 0, "type": "sprite",
"y": 0, "props": {
"type": "container", "source": "增加体力背景.png"
"children": [ }
{ },
"name": "增加体力背景", {
"x": 55, "name": "关闭按钮",
"y": 498, "x": 631,
"alpha": 1, "y": 470,
"type": "sprite", "alpha": 1,
"props": { "type": "button",
"source": "增加体力背景.png" "props": {
} "tUp": "关闭按钮.png"
}, },
{ "id": "closeBtn"
"name": "关闭按钮", },
"x": 631, {
"y": 470, "name": "无字按钮底",
"alpha": 1, "x": 163,
"type": "button", "y": 805,
"props": { "alpha": 1,
"tUp": "关闭按钮.png" "type": "button",
}, "props": {
"id": "closeBtn" "tUp": "无字按钮底.png"
}, },
{ "id": "exchangeBtn"
"name": "无字按钮底", },
"x": 163, {
"y": 805, "name": "文案",
"alpha": 1, "x": 426,
"type": "button", "y": 682,
"props": { "alpha": 1,
"tUp": "无字按钮底.png" "type": "text",
}, "props": {
"id": "exchangeBtn" "text": "+1",
}, "size": 36,
{ "fillColor": "#ffffff",
"name": "文案", "textAlpha": 1
"x": 426, },
"y": 682, "id": "msgTxt"
"alpha": 1, }
"type": "text", ]
"props": { },
"text": "+1", {
"size": 36, "name": "RulePanel",
"fillColor": "#ffffff", "x": 0,
"textAlpha": 1 "y": 0,
}, "type": "container",
"id": "msgTxt" "children": [
} {
] "name": "活动规则背景",
}, "x": 55,
{ "y": 438,
"name": "RulePanel", "alpha": 1,
"x": 0, "type": "sprite",
"y": 0, "props": {
"type": "container", "source": "活动规则背景.png"
"children": [ }
{ },
"name": "活动规则背景", {
"x": 55, "name": "关闭按钮",
"y": 438, "x": 631,
"alpha": 1, "y": 410,
"type": "sprite", "alpha": 1,
"props": { "type": "button",
"source": "活动规则背景.png" "props": {
} "tUp": "关闭按钮.png"
}, },
{ "id": "closeBtn"
"name": "规则只要字体颜色和大小,到时删掉", }
"x": 96, ]
"y": 549, },
"alpha": 1, {
"type": "text", "name": "TaskPanel",
"props": { "x": 0,
"text": "1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\n\r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\r\r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\r\r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。", "y": 0,
"size": 26, "type": "container",
"fillColor": "#892a1a", "children": [
"textAlpha": 1 {
} "name": "任务背景",
}, "x": 0,
{ "y": 579,
"name": "关闭按钮", "alpha": 1,
"x": 631, "type": "sprite",
"y": 410, "props": {
"alpha": 1, "source": "任务背景.png"
"type": "button", }
"props": { },
"tUp": "关闭按钮.png" {
}, "name": "按钮4",
"id": "closeBtn" "x": 525,
} "y": 1462,
] "type": "button",
}, "props": {
{ "tUp": "去完成.png",
"name": "TaskPanel", "tDisable": "去完成灰.png"
"x": 0, },
"y": 0, "id": "taskBtn4"
"type": "container", },
"children": [ {
{ "name": "按钮3",
"name": "任务背景", "x": 526,
"x": 0, "y": 1282,
"y": 579, "type": "button",
"alpha": 1, "props": {
"type": "sprite", "tUp": "去完成.png",
"props": { "tDisable": "去完成灰.png"
"source": "任务背景.png" },
} "id": "taskBtn3"
}, },
{ {
"name": "按钮4", "name": "按钮2",
"x": 525, "x": 526,
"y": 1462, "y": 1102,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "去完成.png", "tUp": "去完成.png",
"tDisable": "去完成灰.png" "tDisable": "去完成灰.png"
}, },
"id": "taskBtn4" "id": "taskBtn2"
}, },
{ {
"name": "按钮3", "name": "按钮1",
"x": 526, "x": 526,
"y": 1282, "y": 923,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "去完成.png", "tUp": "去完成.png",
"tDisable": "去完成灰.png" "tDisable": "去完成灰.png"
}, },
"id": "taskBtn3" "id": "taskBtn1"
}, },
{ {
"name": "按钮2", "name": "关闭按钮",
"x": 526, "x": 671,
"y": 1102, "y": 708,
"type": "button", "alpha": 1,
"props": { "type": "button",
"tUp": "去完成.png", "props": {
"tDisable": "去完成灰.png" "tUp": "关闭按钮.png"
}, },
"id": "taskBtn2" "id": "closeBtn"
}, }
{ ]
"name": "按钮1", },
"x": 526, {
"y": 923, "name": "ToolsOutPanel",
"type": "button", "x": 0,
"props": { "y": 0,
"tUp": "去完成.png", "type": "container",
"tDisable": "去完成灰.png" "children": [
}, {
"id": "taskBtn1" "name": "道具不足背景",
}, "x": 55,
{ "y": 498,
"name": "关闭按钮", "alpha": 1,
"x": 671, "type": "sprite",
"y": 708, "props": {
"alpha": 1, "source": "道具不足背景.png"
"type": "button", }
"props": { },
"tUp": "关闭按钮.png" {
}, "name": "文案",
"id": "closeBtn" "x": 203,
} "y": 650,
] "alpha": 1,
}, "type": "text",
{ "props": {
"name": "ToolsOutPanel", "text": "要消耗200积分兑换码?",
"x": 0, "size": 34,
"y": 0, "fillColor": "#df5942",
"type": "container", "textAlpha": 1
"children": [ },
{ "id": "msgTxt"
"name": "道具不足背景", },
"x": 55, {
"y": 498, "name": "关闭按钮",
"alpha": 1, "x": 631,
"type": "sprite", "y": 470,
"props": { "alpha": 1,
"source": "道具不足背景.png" "type": "button",
} "props": {
}, "tUp": "关闭按钮.png"
{ },
"name": "文案", "id": "closeBtn"
"x": 203, },
"y": 650, {
"alpha": 1, "name": "确定",
"type": "text", "x": 383,
"props": { "y": 745,
"text": "要消耗200积分兑换码?", "alpha": 1,
"size": 34, "type": "button",
"fillColor": "#df5942", "props": {
"textAlpha": 1 "tUp": "确定.png"
}, },
"id": "msgTxt" "id": "sureBtn"
}, },
{ {
"name": "关闭按钮", "name": "再想想",
"x": 631, "x": 93,
"y": 470, "y": 745,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "再想想.png"
}, },
"id": "closeBtn" "id": "consideBtn"
}, }
{ ]
"name": "确定", },
"x": 383, {
"y": 745, "name": "ExchangeSucPanel",
"alpha": 1, "x": 0,
"type": "button", "y": 0,
"props": { "type": "container",
"tUp": "确定.png" "children": [
}, {
"id": "sureBtn" "name": "兑换成功背景",
}, "x": 55,
{ "y": 337,
"name": "再想想", "alpha": 1,
"x": 93, "type": "sprite",
"y": 745, "props": {
"alpha": 1, "source": "兑换成功背景.png"
"type": "button", }
"props": { },
"tUp": "再想想.png" {
}, "name": "关闭按钮",
"id": "consideBtn" "x": 631,
} "y": 470,
] "alpha": 1,
}, "type": "button",
{ "props": {
"name": "ExchangeSucPanel", "tUp": "关闭按钮.png"
"x": 0, },
"y": 0, "id": "closeBtn"
"type": "container", },
"children": [ {
{ "name": "知道啦",
"name": "兑换成功背景", "x": 163,
"x": 55, "y": 745,
"y": 337, "alpha": 1,
"alpha": 1, "type": "button",
"type": "sprite", "props": {
"props": { "tUp": "知道啦.png"
"source": "兑换成功背景.png" },
} "id": "knowBtn"
}, }
{ ]
"name": "关闭按钮", },
"x": 631, {
"y": 470, "name": "CreditsOutPanel",
"alpha": 1, "x": 0,
"type": "button", "y": 0,
"props": { "type": "container",
"tUp": "关闭按钮.png" "children": [
}, {
"id": "closeBtn" "name": "积分不足背景",
}, "x": 55,
{ "y": 498,
"name": "知道啦", "alpha": 1,
"x": 163, "type": "sprite",
"y": 745, "props": {
"alpha": 1, "source": "积分不足背景.png"
"type": "button", }
"props": { },
"tUp": "知道啦.png" {
}, "name": "关闭按钮",
"id": "knowBtn" "x": 631,
} "y": 470,
] "alpha": 1,
}, "type": "button",
{ "props": {
"name": "CreditsOutPanel", "tUp": "关闭按钮.png"
"x": 0, },
"y": 0, "id": "closeBtn"
"type": "container", },
"children": [ {
{ "name": "赚取积分",
"name": "积分不足背景", "x": 163,
"x": 55, "y": 745,
"y": 498, "alpha": 1,
"alpha": 1, "type": "button",
"type": "sprite", "props": {
"props": { "tUp": "赚取积分.png"
"source": "积分不足背景.png" },
} "id": "earnBtn"
}, }
{ ]
"name": "关闭按钮", },
"x": 631, {
"y": 470, "name": "FreePowerPanel",
"alpha": 1, "x": 0,
"type": "button", "y": 0,
"props": { "type": "container",
"tUp": "关闭按钮.png" "children": [
}, {
"id": "closeBtn" "name": "圆圈",
}, "x": 55,
{ "y": 267,
"name": "赚取积分", "alpha": 1,
"x": 163, "type": "sprite",
"y": 745, "props": {
"alpha": 1, "source": "圆圈.png"
"type": "button", }
"props": { },
"tUp": "赚取积分.png" {
}, "name": "关闭按钮",
"id": "earnBtn" "x": 631,
} "y": 470,
] "alpha": 1,
}, "type": "button",
{ "props": {
"name": "FreePowerPanel", "tUp": "关闭按钮.png"
"x": 0, },
"y": 0, "id": "closeBtn"
"type": "container", },
"children": [ {
{ "name": "开心收下",
"name": "圆圈", "x": 163,
"x": 55, "y": 900,
"y": 267, "alpha": 1,
"alpha": 1, "type": "button",
"type": "sprite", "props": {
"props": { "tUp": "开心收下.png"
"source": "圆圈.png" },
} "id": "acceptBtn"
}, }
{ ]
"name": "关闭按钮", },
"x": 631, {
"y": 470, "name": "UseToolPanel",
"alpha": 1, "x": 0,
"type": "button", "y": 0,
"props": { "type": "container",
"tUp": "关闭按钮.png" "children": [
}, {
"id": "closeBtn" "name": "使用道具背景",
}, "x": 55,
{ "y": 498,
"name": "开心收下", "alpha": 1,
"x": 163, "type": "sprite",
"y": 900, "props": {
"alpha": 1, "source": "使用道具背景.png"
"type": "button", }
"props": { },
"tUp": "开心收下.png" {
}, "name": "文案",
"id": "acceptBtn" "x": 168,
} "y": 619,
] "alpha": 1,
}, "type": "text",
{ "props": {
"name": "UseToolPanel", "text": "确认使用步数道具+10步吗?",
"x": 0, "size": 34,
"y": 0, "fillColor": "#df5942",
"type": "container", "textAlpha": 1
"children": [ },
{ "id": "msgTxt"
"name": "使用道具背景", },
"x": 55, {
"y": 498, "name": "关闭按钮",
"alpha": 1, "x": 631,
"type": "sprite", "y": 470,
"props": { "alpha": 1,
"source": "使用道具背景.png" "type": "button",
} "props": {
}, "tUp": "关闭按钮.png"
{ },
"name": "文案", "id": "closeBtn"
"x": 168, },
"y": 619, {
"alpha": 1, "name": "确定",
"type": "text", "x": 383,
"props": { "y": 745,
"text": "确认使用步数道具+10步吗?", "alpha": 1,
"size": 34, "type": "button",
"fillColor": "#df5942", "props": {
"textAlpha": 1 "tUp": "确定.png"
}, },
"id": "msgTxt" "id": "sureBtn"
}, },
{ {
"name": "关闭按钮", "name": "再想想",
"x": 631, "x": 93,
"y": 470, "y": 745,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "关闭按钮.png" "tUp": "再想想.png"
}, },
"id": "closeBtn" "id": "consideBtn"
}, }
{ ]
"name": "确定", }
"x": 383, ]
"y": 745,
"alpha": 1,
"type": "button",
"props": {
"tUp": "确定.png"
},
"id": "sureBtn"
},
{
"name": "再想想",
"x": 93,
"y": 745,
"alpha": 1,
"type": "button",
"props": {
"tUp": "再想想.png"
},
"id": "consideBtn"
}
]
}
]
} }
import { Panel } from "../../module/views/Panel";
export class BuyPowerPanel extends Panel {
get groupNames() {
return ["BuyPowerPanel"]
}
get skinName() {
return "BuyPowerPanel"
}
msgTxt: FYGE.TextField;
exchangeBtn: FYGE.Button;
closeBtn: FYGE.Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class ExchangeSucPanel extends Panel {
get groupNames() { return ["ExchangeSucPanel"] }
get skinName() { return "ExchangeSucPanel" }
knowBtn:FYGE.Button;
closeBtn:FYGE.Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class FailedPanel extends Panel {
get groupNames() { return ["FailedPanel"] }
get skinName() { return "FailedPanel" }
againBtn:FYGE.Button;
closeBtn:FYGE.Button;
tipsTex:FYGE.TextField;
checkTex:FYGE.TextField;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class FreePowerPanel extends Panel {
get groupNames() { return ["FreePowerPanel"] }
get skinName() { return "FreePowerPanel" }
acceptBtn:FYGE.Button;
closeBtn:FYGE.Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
import TextField = FYGE.TextField;
import TEXT_lINETYPE = FYGE.TEXT_lINETYPE;
import ScrollPage = FYGE.ScrollPage;
import { Tools } from "../Tools";
export class RulePanel extends Panel {
get groupNames() {
return ["RulePanel"]
}
get skinName() {
return "RulePanel"
}
closeBtn: FYGE.Button;
ruleTex: TextField;
scroll: ScrollPage;
initUi() {
}
start(data) {
super.start();
const rule = '1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\n\\r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\n\\r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\n\\r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\\r\\r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。'
this.ruleTex = this.addChild(Tools.getText(
rule, 26, '#892a1a',
FYGE.TEXT_ALIGN.LEFT, 570
));
this.ruleTex.lineType = TEXT_lINETYPE.MULTI;
this.scroll = this.addChild(new ScrollPage(
570, 600, this.ruleTex.textHeight + 30
));
this.scroll.position.set(96, 549);
this.scroll.view.addChild(this.ruleTex);
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel"; import { Panel } from "../../module/views/Panel";
import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import { getChapterData } from "../something/chapters/getChapter"; import { getChapterData } from "../something/chapters/getChapter";
import { Tools } from "../Tools";
import { ElementTargetData } from "../something/interface/ElementTargetData";
import Container = FYGE.Container; import Container = FYGE.Container;
import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import MouseEvent = FYGE.MouseEvent;
import { changeScene } from "../../module/ctrls";
import { PlayScene } from "../scene/PlayScene";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
export class StartPanel extends Panel { export class StartPanel extends Panel {
get groupNames() { get groupNames() {
...@@ -18,28 +25,61 @@ export class StartPanel extends Panel { ...@@ -18,28 +25,61 @@ export class StartPanel extends Panel {
startBtn2: FYGE.Button; startBtn2: FYGE.Button;
startBtn: FYGE.Button; startBtn: FYGE.Button;
public showAni() {
if (this.isShowing) return;
this.isShowing = true;
this.anchor.set(375, 812);
Tween.get(this)
.set({scaleX: 0, scaleY: 0})
.to({scaleX: 1, scaleY: 1}, 400, Ease.backOut)
.call(() => {
this.isShowing = false;
});
}
initUi() { initUi() {
this.checkTex.textWidth = 750; this.checkTex.textWidth = 750;
this.checkTex.textAlign = TEXT_ALIGN.CENTER; this.checkTex.textAlign = TEXT_ALIGN.CENTER;
this.checkTex.x = 0; this.checkTex.x = 0;
this.checkTex.text = `第 ${this.data.check} 关`; this.checkTex.text = `第 ${this.data.level} 关`;
this.startBtn.visible = !this.data.isPlayed;
this.startBtn2.visible = this.data.isPlayed;
this.addChild(new StartTarget(this.data.level))
.position.set(0, 682);
this.addChild(new StartTarget(this.data.check)); this.tipsTex.visible = this.data.stars < 3;
} }
start(data) { start(data) {
super.start(); super.start();
} }
private startGame() {
changeScene(PlayScene, {chapter: this.data.level});
this.hidePanel();
}
initEvents() { initEvents() {
super.initEvents(); super.initEvents();
this.startBtn.addEventListener(MouseEvent.CLICK, this.startGame, this);
this.startBtn2.addEventListener(MouseEvent.CLICK, this.startGame, this);
} }
removeEvents() { removeEvents() {
super.removeEvents(); super.removeEvents();
this.startBtn.removeEventListener(MouseEvent.CLICK, this.startGame, this);
this.startBtn2.removeEventListener(MouseEvent.CLICK, this.startGame, this);
} }
} }
const pos = [
[325],
[240, 410],
[180, 325, 470],
]
export class StartTarget extends Container { export class StartTarget extends Container {
constructor(checkNum: number) { constructor(checkNum: number) {
super(); super();
...@@ -48,8 +88,42 @@ export class StartTarget extends Container { ...@@ -48,8 +88,42 @@ export class StartTarget extends Container {
if (passTarget.type == 0) { // 分数 if (passTarget.type == 0) { // 分数
} else if (passTarget.type == 1) { // 消除元素个数 } else if (passTarget.type == 1) { // 消除元素个数
passTarget.elements.forEach((v, i) => {
const targetItem = this.addChild(new StartTargetItem(v));
targetItem.x = pos[passTarget.elements.length - 1][i];
setTimeout(() => {
targetItem.playEffect();
}, i * 200);
});
} }
} }
} }
export class StartTargetItem extends Container {
constructor(data: ElementTargetData) {
super();
const targetImg = this.addChild(Tools.getSprite(`ele${data.type}.png`));
targetImg.width = targetImg.height = 100;
const targetTex = this.addChild(Tools.getText(
`${data.count}`, 30, '#ffffff',
TEXT_ALIGN.CENTER, 100, 0, 108
));
targetTex.strokeColor = '#eb5b57';
targetTex.stroke = 3;
this.anchor.set(50, 79);
this.scale.set(0, 0);
}
// 变大的动效
public playEffect() {
Tween.get(this)
.set({scaleX: 0, scaleY: 0})
.to({scaleX: 1, scaleY: 1}, 500, Ease.backOut)
}
}
import { Panel } from "../../module/views/Panel";
import MouseEvent = FYGE.MouseEvent;
import { changeScene } from "../../module/ctrls";
import { PlayScene } from "../scene/PlayScene";
import { StartTarget } from "./StartPanel";
import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
export class StartPanelPrize extends Panel {
get groupNames() {
return ["StartPanelPrize"]
}
get skinName() {
return "StartPanelPrize"
}
public showAni() {
if (this.isShowing) return;
this.isShowing = true;
this.anchor.set(375, 812);
Tween.get(this)
.set({scaleX: 0, scaleY: 0})
.to({scaleX: 1, scaleY: 1}, 400, Ease.backOut)
.call(() => {
this.isShowing = false;
});
}
closeBtn: FYGE.Button;
startBtn: FYGE.Button;
startBtn2: FYGE.Button;
tipsTex: FYGE.TextField;
checkTex: FYGE.TextField;
initUi() {
this.checkTex.textWidth = 750;
this.checkTex.textAlign = TEXT_ALIGN.CENTER;
this.checkTex.x = 0;
this.checkTex.text = `第 ${this.data.level} 关`;
this.startBtn.visible = !this.data.isPlayed;
this.startBtn2.visible = this.data.isPlayed;
this.addChild(new StartTarget(this.data.level))
.position.set(0, 682);
}
start(data) {
super.start();
}
private startGame() {
changeScene(PlayScene, {chapter: this.data.level});
this.hidePanel();
}
initEvents() {
super.initEvents();
this.startBtn.addEventListener(MouseEvent.CLICK, this.startGame, this);
this.startBtn2.addEventListener(MouseEvent.CLICK, this.startGame, this);
}
removeEvents() {
super.removeEvents();
this.startBtn.removeEventListener(MouseEvent.CLICK, this.startGame, this);
this.startBtn2.removeEventListener(MouseEvent.CLICK, this.startGame, this);
}
}
import { Panel } from "../../module/views/Panel";
export class SuccessNoPrizePanel extends Panel {
get groupNames() { return ["SuccessNoPrizePanel"] }
get skinName() { return "SuccessNoPrizePanel" }
closeBtn:FYGE.Button;
tipsTex:FYGE.TextField;
checkTex:FYGE.TextField;
againBtn:FYGE.Button;
continueBtn:FYGE.Button;
totalContinueBtn:FYGE.Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class SuccessPrizePanel extends Panel {
get groupNames() { return ["SuccessPrizePanel"] }
get skinName() { return "SuccessPrizePanel" }
closeBtn:FYGE.Button;
tipsTex:FYGE.TextField;
checkTex:FYGE.TextField;
againBtn:FYGE.Button;
noPrizeAgainBtn:FYGE.Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
import { layers } from "../../module/views/layers";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
import Button = FYGE.Button;
export class TaskPanel extends Panel {
get groupNames() {
return ["TaskPanel"]
}
get skinName() {
return "TaskPanel"
}
public showAni() {
if (this.isShowing) return;
this.isShowing = true;
let oriY = 1624 - this.height - layers.stageOffsetY - 580;
this.y = layers.stageHeight + this.height;
Tween.get(this)
.to({y: oriY}, 500, Ease.quartOut)
.call(() => {
this.isShowing = false;
});
}
closeBtn: Button;
taskBtn1: Button;
taskBtn2: Button;
taskBtn3: Button;
taskBtn4: Button;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class ToolsOutPanel extends Panel {
get groupNames() { return ["ToolsOutPanel"] }
get skinName() { return "ToolsOutPanel" }
consideBtn:FYGE.Button;
sureBtn:FYGE.Button;
closeBtn:FYGE.Button;
msgTxt:FYGE.TextField;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { Panel } from "../../module/views/Panel";
export class UseToolPanel extends Panel {
get groupNames() { return ["UseToolPanel"] }
get skinName() { return "UseToolPanel" }
consideBtn:FYGE.Button;
sureBtn:FYGE.Button;
closeBtn:FYGE.Button;
msgTxt:FYGE.TextField;
initUi() {
}
start(data) {
super.start();
}
initEvents() {
super.initEvents();
}
removeEvents() {
super.removeEvents();
}
}
import { BonusShootAni, stepPosition } from '../something/anis/BonusShootAni'; import { BonusShootAni, stepPosition } from '../something/anis/BonusShootAni';
import { BoomAni } from '../something/anis/BoomAni'; import { BoomAni } from '../something/anis/BoomAni';
import { CrossAni } from '../something/anis/CrossAni'; import { CrossAni } from '../something/anis/CrossAni';
...@@ -105,7 +104,10 @@ const fesChapterData: number[] = [] ...@@ -105,7 +104,10 @@ const fesChapterData: number[] = []
const festivalIndex: number = 40 const festivalIndex: number = 40
export class PlayScene extends Scene { export class PlayScene extends Scene {
get groupNames() { return ["playScene", "fiveVerHorDis", "bonusTime"] } get groupNames() {
return ["playScene", "fiveVerHorDis", "bonusTime"]
}
//关卡数据 //关卡数据
chapterData: ChapterData; chapterData: ChapterData;
//关数 //关数
...@@ -190,9 +192,11 @@ export class PlayScene extends Scene { ...@@ -190,9 +192,11 @@ export class PlayScene extends Scene {
*/ */
private _steps: number; private _steps: number;
private stepNumber: FYGE.BitmapText; private stepNumber: FYGE.BitmapText;
get steps(): number { get steps(): number {
return this._steps return this._steps
} }
set steps(value: number) { set steps(value: number) {
if (value == this._steps) return if (value == this._steps) return
this._steps = value; this._steps = value;
...@@ -207,13 +211,15 @@ export class PlayScene extends Scene { ...@@ -207,13 +211,15 @@ export class PlayScene extends Scene {
get score(): number { get score(): number {
return this._score return this._score
} }
set score(value: number) { set score(value: number) {
if (value == this._score) return; if (value == this._score) return;
this._score = value; this._score = value;
FYGE.Tween.removeTweens(this.scoreProgress); FYGE.Tween.removeTweens(this.scoreProgress);
FYGE.Tween.get(this.scoreProgress, {}, null, true) FYGE.Tween.get(this.scoreProgress, {}, null, true)
.to({ score: value }, 300) .to({score: value}, 300)
} }
//所有道具容器 //所有道具容器
propBtnCon: PropBtnCon; propBtnCon: PropBtnCon;
//道具使用引导 //道具使用引导
...@@ -234,6 +240,7 @@ export class PlayScene extends Scene { ...@@ -234,6 +240,7 @@ export class PlayScene extends Scene {
step: false, step: false,
failStep: false failStep: false
} }
initUi() { initUi() {
//适配,整体置顶, //适配,整体置顶,
//背景图居中 //背景图居中
...@@ -252,9 +259,10 @@ export class PlayScene extends Scene { ...@@ -252,9 +259,10 @@ export class PlayScene extends Scene {
//设置,待定 //设置,待定
this.addChild(FYGE.Sprite.fromFrame("settingBtn.png")).position.set(618, 16) this.addChild(FYGE.Sprite.fromFrame("settingBtn.png")).position.set(618, 16)
} }
start(data: { chapter: number }) { start(data: { chapter: number }) {
super.start(); super.start();
data = { chapter: 1 } // data = { chapter: 1 }
//第几关 //第几关
this.chapter = (data && data.chapter) ? data.chapter : 1; this.chapter = (data && data.chapter) ? data.chapter : 1;
// this.chapter = 24; // this.chapter = 24;
...@@ -289,8 +297,7 @@ export class PlayScene extends Scene { ...@@ -289,8 +297,7 @@ export class PlayScene extends Scene {
if (!this.warningCop) { if (!this.warningCop) {
//替换顺序 //替换顺序
this.upsetElement(); this.upsetElement();
} } else {
else {
this.enableMouseEvt(true); this.enableMouseEvt(true);
//引导 //引导
this.initGuide(); this.initGuide();
...@@ -302,6 +309,7 @@ export class PlayScene extends Scene { ...@@ -302,6 +309,7 @@ export class PlayScene extends Scene {
//AiControl初始化, //AiControl初始化,
AiControl.ins.init(this.lattices); AiControl.ins.init(this.lattices);
} }
/** /**
* 加载所有用到的svga * 加载所有用到的svga
* 重写,变成其他动画 * 重写,变成其他动画
...@@ -335,6 +343,7 @@ export class PlayScene extends Scene { ...@@ -335,6 +343,7 @@ export class PlayScene extends Scene {
// }) // })
// } // }
} }
//初始化界面ui,,道具弄在这里s //初始化界面ui,,道具弄在这里s
initScene() { initScene() {
...@@ -379,7 +388,7 @@ export class PlayScene extends Scene { ...@@ -379,7 +388,7 @@ export class PlayScene extends Scene {
this.propBtnCon.boomBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_boomBtn, this) this.propBtnCon.boomBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_boomBtn, this)
this.propBtnCon.hammerBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_hammerBtn, this) this.propBtnCon.hammerBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_hammerBtn, this)
this.propBtnCon.stepBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_stepBtn, this) this.propBtnCon.stepBtn.addEventListener(FYGE.MouseEvent.CLICK, this.onTap_stepBtn, this)
//初始化道具信息 //初始化道具信息
this.updateScene(); this.updateScene();
//选择框 无需加入场景 //选择框 无需加入场景
var textureChoosed: FYGE.Texture = RES.getRes("chooseRect.png") var textureChoosed: FYGE.Texture = RES.getRes("chooseRect.png")
...@@ -393,6 +402,7 @@ export class PlayScene extends Scene { ...@@ -393,6 +402,7 @@ export class PlayScene extends Scene {
this.bonusTime.x = 375 this.bonusTime.x = 375
this.bonusTime.y = 1624 / 2 - layers.stageOffsetY; this.bonusTime.y = 1624 / 2 - layers.stageOffsetY;
} }
initTarget() { initTarget() {
//通关目标,如果通关目标是元素时,赋值this.passElements,否则 //通关目标,如果通关目标是元素时,赋值this.passElements,否则
if (this.chapterData.passTarget.type == PassType.ELEMENT_TARGET) { if (this.chapterData.passTarget.type == PassType.ELEMENT_TARGET) {
...@@ -414,6 +424,7 @@ export class PlayScene extends Scene { ...@@ -414,6 +424,7 @@ export class PlayScene extends Scene {
this.targetScoreTxt.text = "目标分数:" + this.chapterData.passTarget.score; this.targetScoreTxt.text = "目标分数:" + this.chapterData.passTarget.score;
} }
} }
initRecycle() { initRecycle() {
//以防万一,初始化下。不排除,目标元素不是棒棒糖的,但是元素里有棒棒糖的情况; //以防万一,初始化下。不排除,目标元素不是棒棒糖的,但是元素里有棒棒糖的情况;
this.recycleIndexs = []; this.recycleIndexs = [];
...@@ -424,7 +435,8 @@ export class PlayScene extends Scene { ...@@ -424,7 +435,8 @@ export class PlayScene extends Scene {
var recycles = this.chapterData.map.recycles; var recycles = this.chapterData.map.recycles;
//如果没有就取最下层的,用地图数据格子初始化 //如果没有就取最下层的,用地图数据格子初始化
if (!recycles || !recycles.length) { if (!recycles || !recycles.length) {
var endRowNumHash = {}, endRowNum: number = 0;; var endRowNumHash = {}, endRowNum: number = 0;
;
for (var i = 0; i < this.chapterData.map.lattices.length; i++) { for (var i = 0; i < this.chapterData.map.lattices.length; i++) {
var d = this.chapterData.map.lattices[i]; var d = this.chapterData.map.lattices[i];
if (!d) continue; if (!d) continue;
...@@ -432,17 +444,17 @@ export class PlayScene extends Scene { ...@@ -432,17 +444,17 @@ export class PlayScene extends Scene {
const [row, col] = rc; const [row, col] = rc;
//不用考虑0 //不用考虑0
if (!endRowNumHash[col]) { if (!endRowNumHash[col]) {
endRowNumHash[col] = { row: row, index: i }; endRowNumHash[col] = {row: row, index: i};
} }
if (row > endRowNumHash[col].row) { if (row > endRowNumHash[col].row) {
endRowNumHash[col] = { row: row, index: i }; endRowNumHash[col] = {row: row, index: i};
} }
//取大行数 //取大行数
endRowNum = Math.max(rc[0], endRowNum) endRowNum = Math.max(rc[0], endRowNum)
} }
this.recycleIndexs = []; this.recycleIndexs = [];
for (const key in endRowNumHash) { for (const key in endRowNumHash) {
const { index, row } = endRowNumHash[key]; const {index, row} = endRowNumHash[key];
if (endRowNum == row) this.recycleIndexs.push(index) if (endRowNum == row) this.recycleIndexs.push(index)
} }
} }
...@@ -466,6 +478,7 @@ export class PlayScene extends Scene { ...@@ -466,6 +478,7 @@ export class PlayScene extends Scene {
this.map.addChildAt(imgs, 0); this.map.addChildAt(imgs, 0);
} }
} }
//初始化地图格子数据,包括生成口,联通口 //初始化地图格子数据,包括生成口,联通口
initLattices() { initLattices() {
var latticesD = this.chapterData.map.lattices; var latticesD = this.chapterData.map.lattices;
...@@ -499,7 +512,7 @@ export class PlayScene extends Scene { ...@@ -499,7 +512,7 @@ export class PlayScene extends Scene {
//冰块数据 2 3 5 6 或者51 61 //冰块数据 2 3 5 6 或者51 61
var iceData = [2, 3, 5, 6, 51, 61] var iceData = [2, 3, 5, 6, 51, 61]
if (iceData.indexOf(latticesD[i]) >= 0) { if (iceData.indexOf(latticesD[i]) >= 0) {
var iceCount = (function (n) { var iceCount = (function(n) {
if (n == 2 || n == 3) return n - 1; if (n == 2 || n == 3) return n - 1;
if (n == 5 || n == 6) return n - 4; if (n == 5 || n == 6) return n - 4;
return parseInt((n + "").split("")[0]) - 4; return parseInt((n + "").split("")[0]) - 4;
...@@ -556,14 +569,13 @@ export class PlayScene extends Scene { ...@@ -556,14 +569,13 @@ export class PlayScene extends Scene {
} else { } else {
this.connectState = 4; this.connectState = 4;
} }
} } else if (hasBigToSmall) {
else if (hasBigToSmall) {
this.connectState = 2; this.connectState = 2;
} } else if (hasSmallToBig) {
else if (hasSmallToBig) {
this.connectState = 1; this.connectState = 1;
}//否则默认的2 }//否则默认的2
} }
//初始化地图元素 //初始化地图元素
initElement() { initElement() {
//没有就根据地图格子随机元素 //没有就根据地图格子随机元素
...@@ -612,7 +624,7 @@ export class PlayScene extends Scene { ...@@ -612,7 +624,7 @@ export class PlayScene extends Scene {
this.lollipopCount++; this.lollipopCount++;
ele = Tool.getElement(ElementType.LOLLIPOP) ele = Tool.getElement(ElementType.LOLLIPOP)
break; break;
//石头 //石头
case 2: case 2:
ele = Tool.getElement(ElementType.ROCK) ele = Tool.getElement(ElementType.ROCK)
break; break;
...@@ -655,6 +667,7 @@ export class PlayScene extends Scene { ...@@ -655,6 +667,7 @@ export class PlayScene extends Scene {
this.lollipopMark = true this.lollipopMark = true
} }
} }
//重置基础元素及特效类型 //重置基础元素及特效类型
initBaseElement() { initBaseElement() {
var elements = this.chapterData.map.baseElements; var elements = this.chapterData.map.baseElements;
...@@ -680,6 +693,7 @@ export class PlayScene extends Scene { ...@@ -680,6 +693,7 @@ export class PlayScene extends Scene {
if (!ele.hasState(StateType.BUBBLE)) ele.effectType = arr[0] ? arr[0] - 1 : null; if (!ele.hasState(StateType.BUBBLE)) ele.effectType = arr[0] ? arr[0] - 1 : null;
} }
} }
//初始化引导,游戏和道具 //初始化引导,游戏和道具
initGuide() { initGuide() {
//游戏引导 //游戏引导
...@@ -702,6 +716,7 @@ export class PlayScene extends Scene { ...@@ -702,6 +716,7 @@ export class PlayScene extends Scene {
// } // }
// } // }
} }
//初始化节日元素,暂时不用 //初始化节日元素,暂时不用
initFestivalEle(): boolean { initFestivalEle(): boolean {
//添加节日元素,条件可能会变 //添加节日元素,条件可能会变
...@@ -744,8 +759,7 @@ export class PlayScene extends Scene { ...@@ -744,8 +759,7 @@ export class PlayScene extends Scene {
if (!this.warningCop) { if (!this.warningCop) {
//替换顺序 //替换顺序
this.upsetElement(); this.upsetElement();
} } else {
else {
this.enableMouseEvt(true); this.enableMouseEvt(true);
} }
} }
...@@ -792,6 +806,7 @@ export class PlayScene extends Scene { ...@@ -792,6 +806,7 @@ export class PlayScene extends Scene {
this.elementContainer.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.mouseDownE, this); this.elementContainer.removeEventListener(FYGE.MouseEvent.MOUSE_DOWN, this.mouseDownE, this);
this.elementContainer.removeEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMoveE, this); this.elementContainer.removeEventListener(FYGE.MouseEvent.MOUSE_MOVE, this.mouseMoveE, this);
} }
onEnterFrame() { onEnterFrame() {
if (this.enableTouch && !this.gameGuide) { if (this.enableTouch && !this.gameGuide) {
this.noActionCount++; this.noActionCount++;
...@@ -805,6 +820,7 @@ export class PlayScene extends Scene { ...@@ -805,6 +820,7 @@ export class PlayScene extends Scene {
this.warningAni(); this.warningAni();
} }
} }
//出现交换提示 //出现交换提示
warningAni() { warningAni() {
var a = this.warningCop[0]; var a = this.warningCop[0];
...@@ -813,21 +829,22 @@ export class PlayScene extends Scene { ...@@ -813,21 +829,22 @@ export class PlayScene extends Scene {
var ay = a.y; var ay = a.y;
var bx = b.x; var bx = b.x;
var by = b.y; var by = b.y;
FYGE.Tween.get(a, { loop: true }) FYGE.Tween.get(a, {loop: true})
.to({ x: (bx - ax) / 10 + ax, y: (by - ay) / 10 + ay }, 100) .to({x: (bx - ax) / 10 + ax, y: (by - ay) / 10 + ay}, 100)
.to({ x: ax, y: ay }, 100) .to({x: ax, y: ay}, 100)
.wait(200) .wait(200)
.to({ x: (bx - ax) / 10 + ax, y: (by - ay) / 10 + ay }, 100) .to({x: (bx - ax) / 10 + ax, y: (by - ay) / 10 + ay}, 100)
.to({ x: ax, y: ay }, 100) .to({x: ax, y: ay}, 100)
.wait(400) .wait(400)
FYGE.Tween.get(b, { loop: true }) FYGE.Tween.get(b, {loop: true})
.to({ x: (ax - bx) / 10 + bx, y: (ay - by) / 10 + by }, 100) .to({x: (ax - bx) / 10 + bx, y: (ay - by) / 10 + by}, 100)
.to({ x: bx, y: by }, 100) .to({x: bx, y: by}, 100)
.wait(200) .wait(200)
.to({ x: (ax - bx) / 10 + bx, y: (ay - by) / 10 + by }, 100) .to({x: (ax - bx) / 10 + bx, y: (ay - by) / 10 + by}, 100)
.to({ x: bx, y: by }, 100) .to({x: bx, y: by}, 100)
.wait(400) .wait(400)
} }
//重置移动提示 //重置移动提示
resetWarning() { resetWarning() {
if (!this.warningCop) return if (!this.warningCop) return
...@@ -845,6 +862,7 @@ export class PlayScene extends Scene { ...@@ -845,6 +862,7 @@ export class PlayScene extends Scene {
b.x = bp[0]; b.x = bp[0];
b.y = bp[1]; b.y = bp[1];
} }
// onTap_settingBtn() { // onTap_settingBtn() {
// this.settingGroup.visible = !this.settingGroup.visible; // this.settingGroup.visible = !this.settingGroup.visible;
// } // }
...@@ -887,6 +905,7 @@ export class PlayScene extends Scene { ...@@ -887,6 +905,7 @@ export class PlayScene extends Scene {
this.useProp(PropType.BOOMS) this.useProp(PropType.BOOMS)
// } // }
} }
onTap_hammerBtn() { onTap_hammerBtn() {
// if (this.propBtnCon.hammerBtn.propNumShow.count <= 0) { // if (this.propBtnCon.hammerBtn.propNumShow.count <= 0) {
// //购买弹框 // //购买弹框
...@@ -902,6 +921,7 @@ export class PlayScene extends Scene { ...@@ -902,6 +921,7 @@ export class PlayScene extends Scene {
this.useProp(PropType.HAMMERS) this.useProp(PropType.HAMMERS)
// } // }
} }
onTap_stepBtn() { onTap_stepBtn() {
// if (this.propBtnCon.stepBtn.propNumShow.count <= 0) { // if (this.propBtnCon.stepBtn.propNumShow.count <= 0) {
// //购买弹框 // //购买弹框
...@@ -917,6 +937,7 @@ export class PlayScene extends Scene { ...@@ -917,6 +937,7 @@ export class PlayScene extends Scene {
this.useProp(PropType.STEPS) this.useProp(PropType.STEPS)
// } // }
} }
//使用道具逻辑 //使用道具逻辑
useProp(prop: PropType) { useProp(prop: PropType) {
//去掉移动提示侦听 //去掉移动提示侦听
...@@ -939,7 +960,7 @@ export class PlayScene extends Scene { ...@@ -939,7 +960,7 @@ export class PlayScene extends Scene {
this.choosed.parent.removeChild(this.choosed) this.choosed.parent.removeChild(this.choosed)
} }
let fun: Function; let fun: Function;
this.elementContainer.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, fun = function (e) { this.elementContainer.addEventListener(FYGE.MouseEvent.MOUSE_DOWN, fun = function(e) {
var ele = e.currentTarget.parent.parent; var ele = e.currentTarget.parent.parent;
if (ele instanceof Element && if (ele instanceof Element &&
// ele.type != ElementType.ROCK && // ele.type != ElementType.ROCK &&
...@@ -982,6 +1003,7 @@ export class PlayScene extends Scene { ...@@ -982,6 +1003,7 @@ export class PlayScene extends Scene {
}, this); }, this);
} }
} }
sendPropUse(prop: PropType, index?: number) { sendPropUse(prop: PropType, index?: number) {
//移除事件 //移除事件
this.propGuide.removeAllEventListener(); this.propGuide.removeAllEventListener();
...@@ -1055,6 +1077,7 @@ export class PlayScene extends Scene { ...@@ -1055,6 +1077,7 @@ export class PlayScene extends Scene {
// } // }
// }, prop) // }, prop)
} }
mouseDownE(e: FYGE.MouseEvent) { mouseDownE(e: FYGE.MouseEvent) {
//现在有两级,element的showImage是FrameAni //现在有两级,element的showImage是FrameAni
var ele = e.currentTarget.parent.parent var ele = e.currentTarget.parent.parent
...@@ -1082,6 +1105,7 @@ export class PlayScene extends Scene { ...@@ -1082,6 +1105,7 @@ export class PlayScene extends Scene {
} }
} }
} }
mouseMoveE(e) { mouseMoveE(e) {
if (this.SELECTED && e.currentTarget.parent.parent instanceof Element) { if (this.SELECTED && e.currentTarget.parent.parent instanceof Element) {
var ele = e.currentTarget.parent.parent var ele = e.currentTarget.parent.parent
...@@ -1093,6 +1117,7 @@ export class PlayScene extends Scene { ...@@ -1093,6 +1117,7 @@ export class PlayScene extends Scene {
} }
} }
} }
//交换元素回调函数,处理数据及重新交换 //交换元素回调函数,处理数据及重新交换
private callbackEx(s, o) { private callbackEx(s, o) {
this.exchangeData(s, o); this.exchangeData(s, o);
...@@ -1127,11 +1152,12 @@ export class PlayScene extends Scene { ...@@ -1127,11 +1152,12 @@ export class PlayScene extends Scene {
this.exchangeElementAni(s, o); this.exchangeElementAni(s, o);
} }
} }
//交换元素动画 //交换元素动画
private exchangeElementAni(s: Element, o: Element, callback?) { private exchangeElementAni(s: Element, o: Element, callback?) {
this.enableMouseEvt(false); this.enableMouseEvt(false);
FYGE.Tween.get(s) FYGE.Tween.get(s)
.to({ x: o.x, y: o.y }, 166) .to({x: o.x, y: o.y}, 166)
.call(() => { .call(() => {
if (callback) { if (callback) {
callback.bind(this)(s, o); callback.bind(this)(s, o);
...@@ -1140,8 +1166,9 @@ export class PlayScene extends Scene { ...@@ -1140,8 +1166,9 @@ export class PlayScene extends Scene {
} }
}) })
FYGE.Tween.get(o) FYGE.Tween.get(o)
.to({ x: s.x, y: s.y }, 166) .to({x: s.x, y: s.y}, 166)
} }
//数据交换 //数据交换
private exchangeData(a: Element, b: Element) { private exchangeData(a: Element, b: Element) {
var latA = this.lattices[a.index]; var latA = this.lattices[a.index];
...@@ -1149,7 +1176,9 @@ export class PlayScene extends Scene { ...@@ -1149,7 +1176,9 @@ export class PlayScene extends Scene {
latA.element = b; latA.element = b;
latB.element = a; latB.element = a;
} }
fallVerMark: boolean fallVerMark: boolean
/** /**
* 掉落方法还有问题,遇到那种少量垂直元素,只能等垂直元素到底后,才考虑斜落,以后再考虑一边掉落逻辑, * 掉落方法还有问题,遇到那种少量垂直元素,只能等垂直元素到底后,才考虑斜落,以后再考虑一边掉落逻辑,
* 比如在一次性fallVerticalEx每列加上斜落元素,必须自身下方是空,无连通的情况 * 比如在一次性fallVerticalEx每列加上斜落元素,必须自身下方是空,无连通的情况
...@@ -1193,6 +1222,7 @@ export class PlayScene extends Scene { ...@@ -1193,6 +1222,7 @@ export class PlayScene extends Scene {
} }
} }
/** /**
* 竖直掉落,一格判断,,没有按竖直生成口从上到下,所以有点问题 * 竖直掉落,一格判断,,没有按竖直生成口从上到下,所以有点问题
*/ */
...@@ -1210,16 +1240,16 @@ export class PlayScene extends Scene { ...@@ -1210,16 +1240,16 @@ export class PlayScene extends Scene {
if (lat.down != null) { if (lat.down != null) {
latDown = this.lattices[lat.down]; latDown = this.lattices[lat.down];
indexDown = lat.down; indexDown = lat.down;
connects.push({ index: indexDown, type: FallType.THROUGH }) connects.push({index: indexDown, type: FallType.THROUGH})
} else { } else {
latDown = this.lattices[index + Tool.colNum] latDown = this.lattices[index + Tool.colNum]
indexDown = index + Tool.colNum; indexDown = index + Tool.colNum;
connects.push({ index: indexDown, type: FallType.STRIGHT }) connects.push({index: indexDown, type: FallType.STRIGHT})
} }
//下方有格子,并且再this.empty中 //下方有格子,并且再this.empty中
var emptyIndex = this.emptys.indexOf(indexDown) var emptyIndex = this.emptys.indexOf(indexDown)
if (emptyIndex > -1) { if (emptyIndex > -1) {
anis.push({ ele: lat.element, indexs: connects }); anis.push({ele: lat.element, indexs: connects});
//去掉一个 //去掉一个
this.emptys.splice(emptyIndex, 1); this.emptys.splice(emptyIndex, 1);
//加上一个 //加上一个
...@@ -1233,7 +1263,7 @@ export class PlayScene extends Scene { ...@@ -1233,7 +1263,7 @@ export class PlayScene extends Scene {
lat.isGenerate && lat.isGenerate &&
!Tool.judgeFall(this.lattices[index - Tool.colNum]) !Tool.judgeFall(this.lattices[index - Tool.colNum])
) { ) {
anis.push({ ele: null, indexs: [{ index: index, type: FallType.STRIGHT }] }); anis.push({ele: null, indexs: [{index: index, type: FallType.STRIGHT}]});
Tool.removeEle(index, this.emptys) Tool.removeEle(index, this.emptys)
} }
} }
...@@ -1266,7 +1296,7 @@ export class PlayScene extends Scene { ...@@ -1266,7 +1296,7 @@ export class PlayScene extends Scene {
if (indexs != null) { if (indexs != null) {
//最后一个 //最后一个
var downIndex = indexs[indexs.length - 1].index; var downIndex = indexs[indexs.length - 1].index;
anis.push({ ele: lat.element, indexs: indexs }); anis.push({ele: lat.element, indexs: indexs});
//去掉最后一个 //去掉最后一个
// this.emptys.splice(emptyIndex, 1); // this.emptys.splice(emptyIndex, 1);
Tool.removeEle(downIndex, this.emptys) Tool.removeEle(downIndex, this.emptys)
...@@ -1317,16 +1347,13 @@ export class PlayScene extends Scene { ...@@ -1317,16 +1347,13 @@ export class PlayScene extends Scene {
} }
} }
if (this.connectState == 1) { if (this.connectState == 1) {
for (var m = Tool.colNum; m >= 0; m--)operation(m) for (var m = Tool.colNum; m >= 0; m--) operation(m)
} } else if (this.connectState == 2) {
else if (this.connectState == 2) {
for (var m = 0; m < Tool.colNum; m++) operation(m) for (var m = 0; m < Tool.colNum; m++) operation(m)
} } else if (this.connectState == 3) {
else if (this.connectState == 3) {
for (var m = Tool.colNum; m >= 0; m--) operation(m); for (var m = Tool.colNum; m >= 0; m--) operation(m);
for (var m = 0; m < Tool.colNum; m++) operation(m); for (var m = 0; m < Tool.colNum; m++) operation(m);
} } else if (this.connectState == 4) {
else if (this.connectState == 4) {
for (var m = 0; m < Tool.colNum; m++) operation(m); for (var m = 0; m < Tool.colNum; m++) operation(m);
for (var m = Tool.colNum; m >= 0; m--) operation(m); for (var m = Tool.colNum; m >= 0; m--) operation(m);
} }
...@@ -1341,7 +1368,9 @@ export class PlayScene extends Scene { ...@@ -1341,7 +1368,9 @@ export class PlayScene extends Scene {
var anis: FallAniData[] = []; var anis: FallAniData[] = [];
var emptys = this.emptys; var emptys = this.emptys;
//排序从大到小 //排序从大到小
emptys.sort(function (a, b) { return a < b ? 1 : -1 }) emptys.sort(function(a, b) {
return a < b ? 1 : -1
})
for (var i = 0; i < emptys.length; i++) { for (var i = 0; i < emptys.length; i++) {
let indexMy = emptys[i]; let indexMy = emptys[i];
var lat = this.lattices[indexMy]; var lat = this.lattices[indexMy];
...@@ -1397,7 +1426,7 @@ export class PlayScene extends Scene { ...@@ -1397,7 +1426,7 @@ export class PlayScene extends Scene {
//如果latFall存在 //如果latFall存在
if (latFall) { if (latFall) {
//能掉落,记录元素动画 //能掉落,记录元素动画
anis.push({ ele: latFall.element, indexs: [{ index: indexMy, type: type }] }); anis.push({ele: latFall.element, indexs: [{index: indexMy, type: type}]});
//去掉 //去掉
// console.log(emptys) // console.log(emptys)
// console.log(indexFall) // console.log(indexFall)
...@@ -1416,7 +1445,7 @@ export class PlayScene extends Scene { ...@@ -1416,7 +1445,7 @@ export class PlayScene extends Scene {
//判断是否是生成口 //判断是否是生成口
if (lat.isGenerate) { if (lat.isGenerate) {
//是生成口,就不用管落下乐 //是生成口,就不用管落下乐
anis.push({ ele: null, indexs: [{ index: indexMy, type: FallType.STRIGHT }] }) anis.push({ele: null, indexs: [{index: indexMy, type: FallType.STRIGHT}]})
//去掉 //去掉
emptys.splice(i, 1); emptys.splice(i, 1);
//优先判断生成的,不用管掉落了,跳下一个 //优先判断生成的,不用管掉落了,跳下一个
...@@ -1467,7 +1496,7 @@ export class PlayScene extends Scene { ...@@ -1467,7 +1496,7 @@ export class PlayScene extends Scene {
mask.y = fp[1]; mask.y = fp[1];
this.elementContainer.addChild(mask); this.elementContainer.addChild(mask);
ele.mask = mask; ele.mask = mask;
tween.to({ x: fp[0], y: fp[1] }, deltaTime) tween.to({x: fp[0], y: fp[1]}, deltaTime)
.call(() => { .call(() => {
//移除遮罩 //移除遮罩
ele.mask = null; ele.mask = null;
...@@ -1475,7 +1504,7 @@ export class PlayScene extends Scene { ...@@ -1475,7 +1504,7 @@ export class PlayScene extends Scene {
mask.recover() mask.recover()
}) })
} else { } else {
tween.to({ x: fp[0], y: fp[1] }, deltaTime) tween.to({x: fp[0], y: fp[1]}, deltaTime)
} }
wait += deltaTime wait += deltaTime
} else { } else {
...@@ -1498,11 +1527,11 @@ export class PlayScene extends Scene { ...@@ -1498,11 +1527,11 @@ export class PlayScene extends Scene {
//如果上格子下面有格子, 用遮罩的写法, //如果上格子下面有格子, 用遮罩的写法,
if (this.lattices[indexUp + Tool.colNum]) { if (this.lattices[indexUp + Tool.colNum]) {
EleMaskAni(ele, upPos, wait, this.elementContainer, true, deltaTime); EleMaskAni(ele, upPos, wait, this.elementContainer, true, deltaTime);
tween.set({ alpha: 0 }) tween.set({alpha: 0})
.wait(deltaTime) .wait(deltaTime)
.set({ alpha: 1 }) .set({alpha: 1})
} else { } else {
tween.to({ x: upPos[0], y: upPos[1] + Tool.height }, deltaTime); tween.to({x: upPos[0], y: upPos[1] + Tool.height}, deltaTime);
} }
//down处的动画 //down处的动画
//如果下格子上方有格子,用遮罩的写法 //如果下格子上方有格子,用遮罩的写法
...@@ -1525,9 +1554,9 @@ export class PlayScene extends Scene { ...@@ -1525,9 +1554,9 @@ export class PlayScene extends Scene {
oriRow = Tool.indexToRc(index)[0]; oriRow = Tool.indexToRc(index)[0];
//动画 //动画
if (lastX != null) { if (lastX != null) {
tween.set({ x: lastX, y: lastY }) tween.set({x: lastX, y: lastY})
} }
tween.to({ x: p[0], y: p[1] }, delta * deltaTime) tween.to({x: p[0], y: p[1]}, delta * deltaTime)
//累计等待时间 //累计等待时间
wait += delta * deltaTime; wait += delta * deltaTime;
lastX = null lastX = null
...@@ -1736,8 +1765,7 @@ export class PlayScene extends Scene { ...@@ -1736,8 +1765,7 @@ export class PlayScene extends Scene {
else if (len == 4) { else if (len == 4) {
if ([s, o].indexOf(ele) > -1) { if ([s, o].indexOf(ele) > -1) {
ele.temEffectType = EffectType.HORIZONTAL; ele.temEffectType = EffectType.HORIZONTAL;
} } else if (!s && k == 2) {
else if (!s && k == 2) {
ele.temEffectType = EffectType.HORIZONTAL; ele.temEffectType = EffectType.HORIZONTAL;
} }
//最终判断 //最终判断
...@@ -1770,7 +1798,6 @@ export class PlayScene extends Scene { ...@@ -1770,7 +1798,6 @@ export class PlayScene extends Scene {
} }
/** /**
* 执行消除,应该是一个迭代,只要eliminatedElements有东西就一直执行 * 执行消除,应该是一个迭代,只要eliminatedElements有东西就一直执行
* 掉落后的逻辑很复杂 * 掉落后的逻辑很复杂
...@@ -1817,6 +1844,7 @@ export class PlayScene extends Scene { ...@@ -1817,6 +1844,7 @@ export class PlayScene extends Scene {
}, 200) }, 200)
} }
} }
/** /**
* 掉落完后的操作 * 掉落完后的操作
*/ */
...@@ -1913,6 +1941,7 @@ export class PlayScene extends Scene { ...@@ -1913,6 +1941,7 @@ export class PlayScene extends Scene {
}) })
}) })
} }
/** /**
* 果冻蔓延和气泡变色需要重新检查死图 * 果冻蔓延和气泡变色需要重新检查死图
*/ */
...@@ -1925,7 +1954,7 @@ export class PlayScene extends Scene { ...@@ -1925,7 +1954,7 @@ export class PlayScene extends Scene {
showToast("元素已无法消除") showToast("元素已无法消除")
setTimeout(() => { setTimeout(() => {
// //playSound(SoundType.fail); // //playSound(SoundType.fail);
var panelsDatas = this.returnPanels("failed", { level: this.chapter }) var panelsDatas = this.returnPanels("failed", {level: this.chapter})
// PanelCtrl.instance.showPanels(panelsDatas[0], panelsDatas[1], () => { }); // PanelCtrl.instance.showPanels(panelsDatas[0], panelsDatas[1], () => { });
// PanelCtrl.instance.show("failed", { level: this.chapter }); // PanelCtrl.instance.show("failed", { level: this.chapter });
}, 1000) }, 1000)
...@@ -1941,13 +1970,15 @@ export class PlayScene extends Scene { ...@@ -1941,13 +1970,15 @@ export class PlayScene extends Scene {
if (this.gameGuide) { if (this.gameGuide) {
this.addChild(this.gameGuide) this.addChild(this.gameGuide)
this.gameGuide.show() this.gameGuide.show()
}; }
;
//允许移动 //允许移动
this.enableMouseEvt(true); this.enableMouseEvt(true);
//检查是否有红包炸弹弹框;有就弹出;然后置空 //检查是否有红包炸弹弹框;有就弹出;然后置空
this.openRedBombPanel(); this.openRedBombPanel();
} }
} }
/** /**
* 特效元素的组合效果 * 特效元素的组合效果
*/ */
...@@ -1971,7 +2002,7 @@ export class PlayScene extends Scene { ...@@ -1971,7 +2002,7 @@ export class PlayScene extends Scene {
this.recoverEle(one); this.recoverEle(one);
this.recoverEle(two); this.recoverEle(two);
//先不管特效组合时的自身的分数 //先不管特效组合时的自身的分数
//把所有元素加入 //把所有元素加入
for (var i = 0; i < this.lattices.length; i++) { for (var i = 0; i < this.lattices.length; i++) {
var lat = this.lattices[i]; var lat = this.lattices[i];
if (Tool.judgeEliminate(lat)) { if (Tool.judgeEliminate(lat)) {
...@@ -2108,6 +2139,7 @@ export class PlayScene extends Scene { ...@@ -2108,6 +2139,7 @@ export class PlayScene extends Scene {
} }
} }
} }
/** /**
* 螺旋线消除 * 螺旋线消除
*/ */
...@@ -2129,6 +2161,7 @@ export class PlayScene extends Scene { ...@@ -2129,6 +2161,7 @@ export class PlayScene extends Scene {
} }
this.magicRotateData.length = 0; this.magicRotateData.length = 0;
} }
/** /**
* 普通元素消除,先消除无特效的,有特效的存下,然后触发,找下一步消除的元素 * 普通元素消除,先消除无特效的,有特效的存下,然后触发,找下一步消除的元素
* 加入石头,果冻,鸡蛋,各种状态 * 加入石头,果冻,鸡蛋,各种状态
...@@ -2146,7 +2179,7 @@ export class PlayScene extends Scene { ...@@ -2146,7 +2179,7 @@ export class PlayScene extends Scene {
if (!ele) { if (!ele) {
//以防万一还是判断一次 //以防万一还是判断一次
} }
//下面带状态的要优先判断 //下面带状态的要优先判断
//有枷锁的 //有枷锁的
else if (ele.hasState(StateType.LOCK)) { else if (ele.hasState(StateType.LOCK)) {
//被禁锢的解开 //被禁锢的解开
...@@ -2248,9 +2281,10 @@ export class PlayScene extends Scene { ...@@ -2248,9 +2281,10 @@ export class PlayScene extends Scene {
} }
return effectIndexs return effectIndexs
} }
/** /**
* 特效元素消除时,波及,添加新的消除元素 * 特效元素消除时,波及,添加新的消除元素
* @param effectIndexs * @param effectIndexs
*/ */
effectEliminate(effectIndexs: number[]) { effectEliminate(effectIndexs: number[]) {
if (effectIndexs.length && !this.hasPassed) this.effectContinuityTimes++; if (effectIndexs.length && !this.hasPassed) this.effectContinuityTimes++;
...@@ -2363,6 +2397,7 @@ export class PlayScene extends Scene { ...@@ -2363,6 +2397,7 @@ export class PlayScene extends Scene {
//playSound(sounds[a]); //playSound(sounds[a]);
// } // }
} }
/** /**
* 判断是否通关 * 判断是否通关
*/ */
...@@ -2405,8 +2440,7 @@ export class PlayScene extends Scene { ...@@ -2405,8 +2440,7 @@ export class PlayScene extends Scene {
if (effectElements.length) { if (effectElements.length) {
Array.prototype.push.apply(this.eliminatedElements, effectElements); Array.prototype.push.apply(this.eliminatedElements, effectElements);
this.eliminate(); this.eliminate();
} } else {
else {
//如果步数原先就为0或没有元素了;直接提交了 //如果步数原先就为0或没有元素了;直接提交了
if (this.steps == 0 || elements.length == 0) { if (this.steps == 0 || elements.length == 0) {
this.score += 1000 * this.steps; this.score += 1000 * this.steps;
...@@ -2453,10 +2487,11 @@ export class PlayScene extends Scene { ...@@ -2453,10 +2487,11 @@ export class PlayScene extends Scene {
} }
} }
} }
/** /**
* 创建分数得动画 * 创建分数得动画
* @param score * @param score
* @param p * @param p
*/ */
pushScoreAni(score: number, p: number[]) {//暂时不用 pushScoreAni(score: number, p: number[]) {//暂时不用
let scoreAni = Pool.takeOut(RecoverName.SCORE_ANI); let scoreAni = Pool.takeOut(RecoverName.SCORE_ANI);
...@@ -2477,12 +2512,10 @@ export class PlayScene extends Scene { ...@@ -2477,12 +2512,10 @@ export class PlayScene extends Scene {
if (this.oneStepScore > 5000) { if (this.oneStepScore > 5000) {
//playSound(SoundType.toast); //playSound(SoundType.toast);
sv = "wonderful"; sv = "wonderful";
} } else if (this.oneStepScore > 3000) {
else if (this.oneStepScore > 3000) {
//playSound(SoundType.toast); //playSound(SoundType.toast);
sv = "amazing"; sv = "amazing";
} } else if (this.oneStepScore > 1000) {
else if (this.oneStepScore > 1000) {
//playSound(SoundType.toast); //playSound(SoundType.toast);
sv = "great"; sv = "great";
} }
...@@ -2530,7 +2563,7 @@ export class PlayScene extends Scene { ...@@ -2530,7 +2563,7 @@ export class PlayScene extends Scene {
var lat = this.lattices[index]; var lat = this.lattices[index];
lat.element = ele; lat.element = ele;
FYGE.Tween.get(ele) FYGE.Tween.get(ele)
.to({ x: p[0], y: p[1] }, 500) .to({x: p[0], y: p[1]}, 500)
.call(() => { .call(() => {
if (++count == countAll) { if (++count == countAll) {
//交换结束后,判断是否有三消 //交换结束后,判断是否有三消
...@@ -2561,7 +2594,7 @@ export class PlayScene extends Scene { ...@@ -2561,7 +2594,7 @@ export class PlayScene extends Scene {
* 从容器移除 * 从容器移除
* 回收元素 * 回收元素
* 如果格子有冰等等 * 如果格子有冰等等
* @param index * @param index
*/ */
recoverEle(index: number) { recoverEle(index: number) {
let ele = this.removeOperation(index); let ele = this.removeOperation(index);
...@@ -2591,8 +2624,8 @@ export class PlayScene extends Scene { ...@@ -2591,8 +2624,8 @@ export class PlayScene extends Scene {
/** /**
* 包括捞结果 * 包括捞结果
* @param json * @param json
* @param callback * @param callback
*/ */
submit(json: string) { submit(json: string) {
// NetManager.ins.hc_submit((s, data) => { // NetManager.ins.hc_submit((s, data) => {
...@@ -2652,8 +2685,8 @@ export class PlayScene extends Scene { ...@@ -2652,8 +2685,8 @@ export class PlayScene extends Scene {
/** /**
* 为了能加入红包炸弹的弹框 * 为了能加入红包炸弹的弹框
* @param panel * @param panel
* @param data * @param data
*/ */
returnPanels(panelName, data) { returnPanels(panelName, data) {
var panels = [], params = []; var panels = [], params = [];
...@@ -2670,7 +2703,7 @@ export class PlayScene extends Scene { ...@@ -2670,7 +2703,7 @@ export class PlayScene extends Scene {
/** /**
* 播放动画 * 播放动画
* @param name * @param name
*/ */
playAni(name: RecoverName, p: number[]) { playAni(name: RecoverName, p: number[]) {
let ani = Pool.takeOut(name); let ani = Pool.takeOut(name);
...@@ -2693,7 +2726,7 @@ export class PlayScene extends Scene { ...@@ -2693,7 +2726,7 @@ export class PlayScene extends Scene {
/** /**
* 格子上的冰块破碎 * 格子上的冰块破碎
* @param lat * @param lat
*/ */
iceBroken(lat: Lattice) { iceBroken(lat: Lattice) {
if (lat && lat.ice) { if (lat && lat.ice) {
...@@ -2754,6 +2787,7 @@ export class PlayScene extends Scene { ...@@ -2754,6 +2787,7 @@ export class PlayScene extends Scene {
} }
} }
} }
//检查附近所有元素 //检查附近所有元素
checkNebAll(latttice: Lattice) { checkNebAll(latttice: Lattice) {
//如果格子有冰 //如果格子有冰
...@@ -2787,18 +2821,20 @@ export class PlayScene extends Scene { ...@@ -2787,18 +2821,20 @@ export class PlayScene extends Scene {
return lat.element.type == ElementType.FESTIVALELE_SMALL; return lat.element.type == ElementType.FESTIVALELE_SMALL;
}); });
} }
/** /**
* 石头的移除,包括动效 * 石头的移除,包括动效
* @param index * @param index
*/ */
removeRock(index: number) { removeRock(index: number) {
this.removeOperation(index); this.removeOperation(index);
//播放动效 //播放动效
this.playAni(RecoverName.ROCK_ANI, Tool.getPositionByIndex(index)) this.playAni(RecoverName.ROCK_ANI, Tool.getPositionByIndex(index))
} }
/** /**
* 果冻的移除,包括动效 * 果冻的移除,包括动效
* @param index * @param index
*/ */
removeJelly(index: number) { removeJelly(index: number) {
this.jellyBrokenMark = true; this.jellyBrokenMark = true;
...@@ -2814,7 +2850,7 @@ export class PlayScene extends Scene { ...@@ -2814,7 +2850,7 @@ export class PlayScene extends Scene {
if (this.festivalTargetNum) { if (this.festivalTargetNum) {
this.festivalTargetNum--; this.festivalTargetNum--;
//@ts-ignore //@ts-ignore
var p = this.festivalTarget.localToGlobal({ x: 40 * 0.8, y: 40 * 0.8 }) var p = this.festivalTarget.localToGlobal({x: 40 * 0.8, y: 40 * 0.8})
this.addChild(FlyTargetAni(ElementType.FESTIVALELE_SMALL, [ele.x, ele.y], [p.x, p.y], () => { this.addChild(FlyTargetAni(ElementType.FESTIVALELE_SMALL, [ele.x, ele.y], [p.x, p.y], () => {
this.festivalTarget.count--; this.festivalTarget.count--;
})) }))
...@@ -2826,13 +2862,14 @@ export class PlayScene extends Scene { ...@@ -2826,13 +2862,14 @@ export class PlayScene extends Scene {
} }
} }
} }
/** /**
* 移除元素的操作: * 移除元素的操作:
* 进入emptys * 进入emptys
* 从场景移除 * 从场景移除
* 回收元素 * 回收元素
* 格子元素置空 * 格子元素置空
* @param index * @param index
*/ */
removeOperation(index: number): Element { removeOperation(index: number): Element {
//没有格子,或者没有元素, //没有格子,或者没有元素,
...@@ -2883,4 +2920,4 @@ export class PlayScene extends Scene { ...@@ -2883,4 +2920,4 @@ export class PlayScene extends Scene {
// if (!currentTarget) return null; // if (!currentTarget) return null;
// } // }
// return currentTarget // return currentTarget
// } // }
\ No newline at end of file
...@@ -13,6 +13,7 @@ import Tween = FYGE.Tween; ...@@ -13,6 +13,7 @@ import Tween = FYGE.Tween;
import { Panel } from "../../../module/views/Panel"; import { Panel } from "../../../module/views/Panel";
import { showPanel } from "../../../module/ctrls"; import { showPanel } from "../../../module/ctrls";
import { StartPanel } from "../../panels/StartPanel"; import { StartPanel } from "../../panels/StartPanel";
import { StartPanelPrize } from "../../panels/StartPanelPrize";
export enum CHECK_TYPE { export enum CHECK_TYPE {
COM, // 普通 COM, // 普通
...@@ -21,6 +22,22 @@ export enum CHECK_TYPE { ...@@ -21,6 +22,22 @@ export enum CHECK_TYPE {
export default class CheckBtn extends Container { export default class CheckBtn extends Container {
private checkData: {
level: number,
scores: number,
stars: number,
isPrizeLevel: boolean,
isVisitSuccess: boolean
isPlayed: boolean
} = {
level: 1,
scores: 0,
stars: 0,
isPrizeLevel: false,
isVisitSuccess: false,
isPlayed: false
};
private btn: Button = null; private btn: Button = null;
private checkLabel: TextField = null; private checkLabel: TextField = null;
...@@ -35,9 +52,13 @@ export default class CheckBtn extends Container { ...@@ -35,9 +52,13 @@ export default class CheckBtn extends Container {
private _data: any = null; private _data: any = null;
public set data(data) { public set data(data) {
this._data = data; this._data = data;
if (!data) return;
if (!data.isVisitSuccess) return; if (!data.isVisitSuccess) return;
this.enabled = data.isVisitSuccess; this.enabled = data.isVisitSuccess;
this.starCount = data.stars; this.starCount = data.stars;
this.checkData = data;
this.checkData.isPlayed = true;
} }
private _starCount = 0; private _starCount = 0;
...@@ -154,6 +175,7 @@ export default class CheckBtn extends Container { ...@@ -154,6 +175,7 @@ export default class CheckBtn extends Container {
// 关卡文字 // 关卡文字
this.checkNum = data.check; this.checkNum = data.check;
this.checkData.level = data.check;
this.checkLabel = this.btn.addChild(Tools.getText( this.checkLabel = this.btn.addChild(Tools.getText(
data.check, 30, '#ffffff', data.check, 30, '#ffffff',
TEXT_ALIGN.CENTER, 90, 8, 33 TEXT_ALIGN.CENTER, 90, 8, 33
...@@ -161,6 +183,7 @@ export default class CheckBtn extends Container { ...@@ -161,6 +183,7 @@ export default class CheckBtn extends Container {
this.checkLabel.stroke = 2; this.checkLabel.stroke = 2;
this.checkLabel.strokeColor = '#316ec6'; this.checkLabel.strokeColor = '#316ec6';
// 当前关卡动画
this.checkCurEffect = this.addChild(new CheckCurEffect()); this.checkCurEffect = this.addChild(new CheckCurEffect());
this.checkCurEffect.visible = false; this.checkCurEffect.visible = false;
...@@ -169,13 +192,19 @@ export default class CheckBtn extends Container { ...@@ -169,13 +192,19 @@ export default class CheckBtn extends Container {
// 点击事件 // 点击事件
this.btn.addEventListener(MouseEvent.CLICK, () => { this.btn.addEventListener(MouseEvent.CLICK, () => {
console.log(`关卡:${this.checkNum}`); console.log(`关卡:${this.checkNum}`);
showPanel(StartPanel, {check: this.checkNum}); console.log(this.checkData);
this._isPrize
? showPanel(StartPanelPrize, this.checkData)
: showPanel(StartPanel, this.checkData);
}, this); }, this);
} }
} }
/**
* 关卡按钮star
*/
class CheckStar extends Sprite { class CheckStar extends Sprite {
private static starEnableTexture: Texture = null; private static starEnableTexture: Texture = null;
...@@ -196,6 +225,9 @@ class CheckStar extends Sprite { ...@@ -196,6 +225,9 @@ class CheckStar extends Sprite {
} }
/**
* 当前关卡的动画
*/
class CheckCurEffect extends Container { class CheckCurEffect extends Container {
private light1: Sprite = null; private light1: Sprite = null;
...@@ -216,30 +248,22 @@ class CheckCurEffect extends Container { ...@@ -216,30 +248,22 @@ class CheckCurEffect extends Container {
public play() { public play() {
// 时间 0 0.4 0.7 1 1.3 2
// point_light_1
// 缩放 0% 150% 150%
// 透明度 100% 0 0
// point_light_2
// 缩放 80% 130% 130%
// 透明度 0% 100% 0% 0%
Tween.get(this.light1, {loop: true}) Tween.get(this.light1, {loop: true})
.set({scaleX: 0, scaleY: 0}) .set({scaleX: 0, scaleY: 0})
.to({scaleX: 1.5, scaleY: 1.5}, 1300) .to({scaleX: 1.5, scaleY: 1.5}, 1300)
.wait(700); .wait(700);
Tween.get(this.light1, {loop: true}) Tween.get(this.light1, {loop: true})
.set({alpha: 0}) .set({alpha: 1})
.to({alpha: 1}, 700) .wait(700)
// .to({alpha: 1}, 700)
.to({alpha: 0}, 600) .to({alpha: 0}, 600)
.wait(700) .wait(700)
Tween.get(this.light2, {loop: true}) Tween.get(this.light2, {loop: true})
.set({scaleX: 0.8, scaleY: 0.8}) .set({scaleX: 0.8, scaleY: 0.8})
.to({scaleX: 1.3, scaleY: 1.3}, 1000) .to({scaleX: 1.3, scaleY: 1.3}, 1000)
.wait(700); .wait(1000);
Tween.get(this.light2, {loop: true}) Tween.get(this.light2, {loop: true})
.set({alpha: 0}) .set({alpha: 0})
......
import MapPart from "./MapPart"; import MapPart from "./MapPart";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import Point = FYGE.Point; import Point = FYGE.Point;
import FrameAni = FYGE.FrameAni;
import Texture = FYGE.Texture;
export default class MapBottom extends MapPart { export default class MapBottom extends MapPart {
public static HEIGHT = 1093; public static HEIGHT = 1092;
protected totalCount = 8; protected totalCount = 8;
private crabAni: FrameAni = null;
protected btnPos = [ protected btnPos = [
[370, 930], [370, 930],
[437, 761], [437, 761],
...@@ -25,6 +29,19 @@ export default class MapBottom extends MapPart { ...@@ -25,6 +29,19 @@ export default class MapBottom extends MapPart {
this.bg.texture = RES.getRes('map_bg1.jpg'); this.bg.texture = RES.getRes('map_bg1.jpg');
this.initIcon(); this.initIcon();
this.initEffect();
}
private initEffect() {
// 螃蟹
const crabTextures: Texture[] = new Array(31);
for (let i = 0; i < 16; i++) {
crabTextures[31 - i] = crabTextures[i] = RES.getRes(`map_crab_${i}.png`);
}
this.crabAni = this.addChild(new FrameAni(crabTextures));
this.crabAni.position.set(220, 50);
this.crabAni.play(-1);
} }
public update() { public update() {
......
import MapPart from "./MapPart"; import MapPart from "./MapPart";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import Point = FYGE.Point; import Point = FYGE.Point;
import Sprite = FYGE.Sprite;
import { Tools } from "../../Tools";
import Tween = FYGE.Tween;
import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
export default class MapMid extends MapPart { export default class MapMid extends MapPart {
...@@ -8,6 +13,13 @@ export default class MapMid extends MapPart { ...@@ -8,6 +13,13 @@ export default class MapMid extends MapPart {
protected totalCount = 10; protected totalCount = 10;
private balloon: Sprite = null;
private water: Sprite = null;
private water1: Texture = null;
private water2: Texture = null;
private whaleAni: FrameAni = null;
private owlAni: FrameAni = null;
protected btnPos = [ protected btnPos = [
[267, 1519], [267, 1519],
[211, 1325], [211, 1325],
...@@ -26,9 +38,51 @@ export default class MapMid extends MapPart { ...@@ -26,9 +38,51 @@ export default class MapMid extends MapPart {
this.data = data; this.data = data;
this.bg.texture = RES.getRes('map_bg2.jpg'); this.bg.texture = RES.getRes('map_bg2.jpg');
// 流水
this.water1 = RES.getRes('water1.png');
this.water2 = RES.getRes('water2.png');
this.initIcon(); this.initIcon();
this.initEffect();
} }
private initEffect() {
// 热气球
this.balloon = this.addChild(Tools.getSprite('map_狐狸气球.png', -216, 750));
Tween.get(this.balloon, {loop: true})
.set({x: -216, y: 1170})
.to({x: 750 + 100, y: 765}, 20006);
this.balloon.mouseEnable = this.balloon.mouseChildren = false;
// 流水
this.water = this.addChild(new Sprite(this.water1));
this.water.position.set(544, 687);
// 鲸鱼
const whaleTextures: Texture[] = new Array(25);
for (let i = 0; i < 13; i++) {
whaleTextures[25 - i] = whaleTextures[i] = RES.getRes(`map_whale_${i}.png`);
}
this.whaleAni = this.addChild(new FrameAni(whaleTextures));
this.whaleAni.position.set(645, 575);
this.whaleAni.play(-1);
// 猫头鹰
const owlTextures: Texture[] = new Array(31);
for (let i = 0; i < 16; i++) {
owlTextures[31 - i] = owlTextures[i] = RES.getRes(`map_owl_${i}.png`);
}
this.owlAni = this.addChild(new FrameAni(owlTextures));
this.owlAni.position.set(538, 1548);
this.owlAni.play(-1);
}
private waterIndex1: boolean = true;
private waterIndex: number = 0;
public update() { public update() {
super.update(); super.update();
let up = this.localToGlobal(new Point(0, -10), new Point()); let up = this.localToGlobal(new Point(0, -10), new Point());
...@@ -39,6 +93,14 @@ export default class MapMid extends MapPart { ...@@ -39,6 +93,14 @@ export default class MapMid extends MapPart {
|| this.stage.viewRect.isPointIn(bp) || this.stage.viewRect.isPointIn(bp)
|| this.stage.viewRect.isPointIn(ucp) || this.stage.viewRect.isPointIn(ucp)
|| this.stage.viewRect.isPointIn(bcp); || this.stage.viewRect.isPointIn(bcp);
// 流水动画
if (this.waterIndex++ > 6) {
this.waterIndex1 = !this.waterIndex1;
this.water.texture = this.waterIndex1 ? this.water1 : this.water2;
this.waterIndex = 0;
}
} }
......
...@@ -8,6 +8,8 @@ import { layers } from "../../../module/views/layers"; ...@@ -8,6 +8,8 @@ import { layers } from "../../../module/views/layers";
import { sendTbNet, TbNetName } from "../../TaoBaoNet"; import { sendTbNet, TbNetName } from "../../TaoBaoNet";
import ScrollPage = FYGE.ScrollPage; import ScrollPage = FYGE.ScrollPage;
import Container = FYGE.Container; import Container = FYGE.Container;
import { Tools } from "../../Tools";
import Graphics = FYGE.Graphics;
export class MapScene extends Scene { export class MapScene extends Scene {
private mapContainer: Container = null; private mapContainer: Container = null;
...@@ -20,27 +22,30 @@ export class MapScene extends Scene { ...@@ -20,27 +22,30 @@ export class MapScene extends Scene {
MapScene.checkArr = []; MapScene.checkArr = [];
} }
private uiLayer: Container = null; private uiLayer: MapUI = null;
private mapAvatar: MapAvatar = null;
public get groupNames(): string[] { public get groupNames(): string[] {
return ['map']; return [
'map',
'mapCrabEffect',
'mapOwlEffect',
'mapWhaleEffect',
'mapCheckPrizeEffect'
];
} }
protected initUi() { protected initUi() {
super.initUi(); super.initUi();
this.scrollPage = this.addChild(new ScrollPage( this.scrollPage = this.addChild(new ScrollPage(
750, layers.stageHeight, 750, layers.stageHeight,
888, true, true 888, true, true
)); ));
this.mapContainer = this.scrollPage.view.addChild(new Container()); this.mapContainer = this.scrollPage.view.addChild(new Container());
this.uiLayer = this.addChild(new MapUI()); this.uiLayer = this.addChild(new MapUI());
this.initMap(); this.initMap();
this.updateMapCheck(); this.updateMapCheck();
} }
private updateMapCheck() { private updateMapCheck() {
...@@ -49,6 +54,8 @@ export class MapScene extends Scene { ...@@ -49,6 +54,8 @@ export class MapScene extends Scene {
if (!success) return; if (!success) return;
this.uiLayer.energyBox.count = res.data.power;
const currentLevel = res.data.currentLevel; const currentLevel = res.data.currentLevel;
// 已经通关的 // 已经通关的
...@@ -58,8 +65,13 @@ export class MapScene extends Scene { ...@@ -58,8 +65,13 @@ export class MapScene extends Scene {
} }
// 当前关卡 // 当前关卡
MapScene.checkArr[currentLevel].type = CHECK_TYPE.CUR; if (currentLevel < 121 && currentLevel > 0) {
MapScene.checkArr[currentLevel].enabled = true; MapScene.checkArr[currentLevel].type = CHECK_TYPE.CUR;
MapScene.checkArr[currentLevel].enabled = true;
!this.mapAvatar && (this.mapAvatar = this.addChild(new MapAvatar()));
this.mapAvatar.parent && this.mapAvatar.parent.removeChild(this.mapAvatar);
MapScene.checkArr[currentLevel].addChild(this.mapAvatar);
}
// 未通关的 // 未通关的
for (let i = currentLevel + 1; i < 121; i++) { for (let i = currentLevel + 1; i < 121; i++) {
...@@ -67,6 +79,7 @@ export class MapScene extends Scene { ...@@ -67,6 +79,7 @@ export class MapScene extends Scene {
MapScene.checkArr[i].enabled = false; MapScene.checkArr[i].enabled = false;
} }
// 闯关记录里有的
res.data.visitors.forEach((v) => { res.data.visitors.forEach((v) => {
MapScene.checkArr[v.level].data = v; MapScene.checkArr[v.level].data = v;
}); });
...@@ -99,7 +112,6 @@ export class MapScene extends Scene { ...@@ -99,7 +112,6 @@ export class MapScene extends Scene {
for (let i = midData.length / 10 - 1; i >= 0; i--) { for (let i = midData.length / 10 - 1; i >= 0; i--) {
const data = midData.splice(i * 10, 10); const data = midData.splice(i * 10, 10);
// console.log(data);
const nMid = new MapMid(data); const nMid = new MapMid(data);
this.mapContainer.addChild(nMid); this.mapContainer.addChild(nMid);
nMid.y = maxHeight; nMid.y = maxHeight;
...@@ -116,10 +128,6 @@ export class MapScene extends Scene { ...@@ -116,10 +128,6 @@ export class MapScene extends Scene {
this.scrollPage.maxDistance = maxHeight; this.scrollPage.maxDistance = maxHeight;
this.scrollPage.scrollTo(maxHeight, 0); this.scrollPage.scrollTo(maxHeight, 0);
// MapScene.checkArr.forEach(v => {
// v.type = CHECK_TYPE.PRI;
// v.enabled = false;
// });
this.scrollToCheck(1); this.scrollToCheck(1);
} }
...@@ -150,3 +158,26 @@ export class MapScene extends Scene { ...@@ -150,3 +158,26 @@ export class MapScene extends Scene {
super.removeEvents(); super.removeEvents();
} }
} }
/**
* 地图上的头像
*/
export class MapAvatar extends Container {
constructor() {
super();
this.addChild(Tools.getSprite('map_avatar_bg.png'))
.anchorTexture.set(0.5, 1);
this.position.set(54, 28);
this.mouseChildren = this.mouseEnable = false;
const mask = this.addChild(new Graphics());
mask.drawCircle(0, -58, 38);
/// TODO 加头像
}
}
...@@ -6,14 +6,19 @@ import TEXT_ALIGN = FYGE.TEXT_ALIGN; ...@@ -6,14 +6,19 @@ import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import { Tools } from "../../Tools"; import { Tools } from "../../Tools";
import MouseEvent = FYGE.MouseEvent; import MouseEvent = FYGE.MouseEvent;
import { showPanel } from "../../../module/ctrls";
import { RulePanel } from "../../panels/RulePanel";
import { BuyPowerPanel } from "../../panels/BuyPowerPanel";
import { TaskPanel } from "../../panels/TaskPanel";
export default class MapUI extends Container { export default class MapUI extends Container {
public energyBox: EnergyBox = null;
private creditsBox: CreditsBox = null;
private prizeBox: PrizeBox = null;
private myPrizeBtn: Button = null; private myPrizeBtn: Button = null;
private ruleBtn: Button = null; private ruleBtn: Button = null;
private taskBtn: Button = null; private taskBtn: Button = null;
private energyBox: EnergyBox = null;
private creditsBox: CreditsBox = null;
private prizeBox: PrizeBox = null;
constructor() { constructor() {
super(); super();
...@@ -27,19 +32,21 @@ export default class MapUI extends Container { ...@@ -27,19 +32,21 @@ export default class MapUI extends Container {
this.ruleBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.ruleBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.myPrizeBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.myPrizeBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.prizeBox.addEventListener(MouseEvent.CLICK, this.clickBtn, this); this.prizeBox.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.taskBtn.addEventListener(MouseEvent.CLICK, this.clickBtn, this);
} }
private removeEvent() { private removeEvent() {
this.ruleBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.ruleBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.myPrizeBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.myPrizeBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.prizeBox.removeEventListener(MouseEvent.CLICK, this.clickBtn, this); this.prizeBox.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
this.taskBtn.removeEventListener(MouseEvent.CLICK, this.clickBtn, this);
} }
private clickBtn(e) { private clickBtn(e) {
switch (e.target) { switch (e.target) {
case this.ruleBtn: case this.ruleBtn:
/// TODO 规则
console.log('规则'); console.log('规则');
showPanel(RulePanel);
break; break;
case this.myPrizeBtn: case this.myPrizeBtn:
...@@ -51,6 +58,11 @@ export default class MapUI extends Container { ...@@ -51,6 +58,11 @@ export default class MapUI extends Container {
/// TODO 奖励盒子 /// TODO 奖励盒子
console.log('奖励盒子'); console.log('奖励盒子');
break; break;
case this.taskBtn:
console.log('任务');
showPanel(TaskPanel);
break;
} }
} }
...@@ -106,6 +118,7 @@ class EnergyBox extends Container { ...@@ -106,6 +118,7 @@ class EnergyBox extends Container {
private clickAdd() { private clickAdd() {
/// TODO 增加按钮 /// TODO 增加按钮
console.log('增加按钮'); console.log('增加按钮');
showPanel(BuyPowerPanel);
} }
private initUi(data) { private initUi(data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment