Commit 2c58de48 authored by haiyoucuv's avatar haiyoucuv

map effect

parent 8d1e4c27
...@@ -2,91 +2,13 @@ ...@@ -2,91 +2,13 @@
<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 afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_0.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/panels/RulePanel.ts" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_10.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_11.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_12.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_13.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_14.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_15.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_16.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_17.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_18.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_19.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_20.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_21.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_22.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_23.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_24.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_25.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_26.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_27.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_28.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_29.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_30.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_5.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_6.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_7.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_8.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapCrabEffect/map_crab_9.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_0.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_10.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_11.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_12.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_13.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_14.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_15.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_5.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_6.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_7.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_8.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/mapOwlEffect/map_owl_9.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" beforeDir="false" afterPath="$PROJECT_DIR$/mock/miniTb/babycare.getIndex.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/SkinJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/SkinJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_bg1.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/resource/map/map_bg1.jpg" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/panels/StartPanel.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/panels/StartPanel.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_0.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_0.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/panels/StartPanelPrize.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/panels/StartPanelPrize.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_1.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_1.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_10.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_10.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_11.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_11.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_12.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_12.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_2.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_2.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_3.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_3.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_4.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_4.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_5.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_5.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_6.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_6.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_7.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_7.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_8.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_8.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/map_whale_9.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapWhaleEffect/map_whale_9.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_0.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_0.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_1.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_1.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_10.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_10.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_11.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_11.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_12.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_12.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_13.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_13.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_14.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_14.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_15.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_15.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_16.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_16.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_2.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_2.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_3.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_3.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_4.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_4.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_5.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_5.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_6.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_6.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_7.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_7.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_8.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_8.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/map/prize_check_9.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/mapCheckPrizeEffect/prize_check_9.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapBottom.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapBottom.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapMid.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapMid.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapScene.ts" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/scene/map/MapScene.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapScene.ts" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/scene/map/MapUI.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/scene/map/MapUI.ts" afterDir="false" />
</list> </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" />
...@@ -184,7 +106,7 @@ ...@@ -184,7 +106,7 @@
<workItem from="1594111755267" duration="29551000" /> <workItem from="1594111755267" duration="29551000" />
<workItem from="1594260676967" duration="30060000" /> <workItem from="1594260676967" duration="30060000" />
<workItem from="1594604662575" duration="27200000" /> <workItem from="1594604662575" duration="27200000" />
<workItem from="1594691193000" duration="2162000" /> <workItem from="1594691193000" duration="4649000" />
</task> </task>
<task id="LOCAL-00001" summary="111"> <task id="LOCAL-00001" summary="111">
<created>1594122339119</created> <created>1594122339119</created>
...@@ -228,7 +150,14 @@ ...@@ -228,7 +150,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1594645946117</updated> <updated>1594645946117</updated>
</task> </task>
<option name="localTasksCounter" value="7" /> <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>
<option name="localTasksCounter" value="8" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -236,7 +165,8 @@ ...@@ -236,7 +165,8 @@
</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" />
<option name="LAST_COMMIT_MESSAGE" value="map 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">
...@@ -251,26 +181,26 @@ ...@@ -251,26 +181,26 @@
<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="754" y="183" key="CommitChangelistDialog2" timestamp="1594645945516"> <state x="754" y="183" key="CommitChangelistDialog2" timestamp="1594693383238">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="754" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1594645945516" /> <state x="754" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1594693383238" />
<state width="882" height="329" key="GridCell.Tab.0.bottom" timestamp="1594693317862"> <state width="882" height="329" key="GridCell.Tab.0.bottom" timestamp="1594693733806">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="882" height="329" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1594693317862" /> <state width="882" height="329" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1594693733806" />
<state width="882" height="329" key="GridCell.Tab.0.center" timestamp="1594693317861"> <state width="882" height="329" key="GridCell.Tab.0.center" timestamp="1594693733805">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="882" height="329" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1594693317861" /> <state width="882" height="329" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1594693733805" />
<state width="882" height="329" key="GridCell.Tab.0.left" timestamp="1594693317861"> <state width="882" height="329" key="GridCell.Tab.0.left" timestamp="1594693733804">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="882" height="329" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1594693317861" /> <state width="882" height="329" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1594693733804" />
<state width="882" height="329" key="GridCell.Tab.0.right" timestamp="1594693317861"> <state width="882" height="329" key="GridCell.Tab.0.right" timestamp="1594693733805">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state width="882" height="329" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1594693317861" /> <state width="882" height="329" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1594693733805" />
<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>
...@@ -279,10 +209,10 @@ ...@@ -279,10 +209,10 @@
<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="1594645947536"> <state x="92" y="351" key="Vcs.Push.Dialog.v2" timestamp="1594693385415">
<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="1594645947536" /> <state x="92" y="351" key="Vcs.Push.Dialog.v2/31.23.1889.1177@31.23.1889.1177" timestamp="1594693385415" />
<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="1594111906161">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -307,9 +237,9 @@ ...@@ -307,9 +237,9 @@
<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="1594693134275"> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1594695829743">
<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="1594693134275" /> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594695829743" />
</component> </component>
</project> </project>
\ No newline at end of file
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": "StartPanelPrize", "name": "StartPanelPrize",
"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": 312, "x": 312,
"y": 519, "y": 519,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 6 关", "text": "第 6 关",
"size": 24.78875, "size": 40,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "checkTex" "id": "checkTex"
}, },
{ {
"name": "提示文案", "name": "提示文案",
"x": 206, "x": 206,
"y": 849, "y": 849,
"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": 163, "x": 163,
"y": 1120, "y": 1120,
"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": 1120, "y": 1120,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "开始闯关不要能量.png" "tUp": "开始闯关不要能量.png"
}, },
"id": "startBtn2" "id": "startBtn2"
}, },
{ {
"name": "prize", "name": "prize",
"x": 130, "x": 130,
"y": 903, "y": 903,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "prize.png" "source": "prize.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": "NoEnergyPanel", "name": "NoEnergyPanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "体力不足Bg", "name": "体力不足Bg",
"x": 55, "x": 55,
"y": 497, "y": 497,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "体力不足Bg.png" "source": "体力不足Bg.png"
} }
}, },
{ {
"name": "体力不足按钮", "name": "体力不足按钮",
"x": 163, "x": 163,
"y": 880, "y": 880,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "体力不足按钮.png" "tUp": "体力不足按钮.png"
}, },
"id": "okBtn" "id": "okBtn"
}, },
{ {
"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": "BuyPowerPanel", "name": "BuyPowerPanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "增加体力背景", "name": "增加体力背景",
"x": 55, "x": 55,
"y": 498, "y": 498,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "增加体力背景.png" "source": "增加体力背景.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": "无字按钮底", "name": "无字按钮底",
"x": 163, "x": 163,
"y": 805, "y": 805,
"alpha": 1, "alpha": 1,
"type": "button", "type": "button",
"props": { "props": {
"tUp": "无字按钮底.png" "tUp": "无字按钮底.png"
}, },
"id": "exchangeBtn" "id": "exchangeBtn"
}, },
{ {
"name": "文案", "name": "文案",
"x": 426, "x": 426,
"y": 682, "y": 682,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "+1", "text": "+1",
"size": 36, "size": 36,
"fillColor": "#ffffff", "fillColor": "#ffffff",
"textAlpha": 1 "textAlpha": 1
}, },
"id": "msgTxt" "id": "msgTxt"
} }
] ]
}, },
{ {
"name": "RulePanel", "name": "RulePanel",
"x": 0, "x": 0,
"y": 0, "y": 0,
"type": "container", "type": "container",
"children": [ "children": [
{ {
"name": "活动规则背景", "name": "活动规则背景",
"x": 55, "x": 55,
"y": 438, "y": 438,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "sprite",
"props": { "props": {
"source": "活动规则背景.png" "source": "活动规则背景.png"
} }
}, },
{ {
"name": "规则只要字体颜色和大小,到时删掉", "name": "关闭按钮",
"x": 96, "x": 631,
"y": 549, "y": 410,
"alpha": 1, "alpha": 1,
"type": "text", "type": "button",
"props": { "props": {
"text": "1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\n\r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\r\r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。\r\r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。", "tUp": "关闭按钮.png"
"size": 26, },
"fillColor": "#892a1a", "id": "closeBtn"
"textAlpha": 1 }
} ]
}, },
{ {
"name": "关闭按钮", "name": "TaskPanel",
"x": 631, "x": 0,
"y": 410, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "关闭按钮.png" "name": "任务背景",
}, "x": 0,
"id": "closeBtn" "y": 579,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "任务背景.png"
"name": "TaskPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "按钮4",
"children": [ "x": 525,
{ "y": 1462,
"name": "任务背景", "type": "button",
"x": 0, "props": {
"y": 579, "tUp": "去完成.png",
"alpha": 1, "tDisable": "去完成灰.png"
"type": "sprite", },
"props": { "id": "taskBtn4"
"source": "任务背景.png" },
} {
}, "name": "按钮3",
{ "x": 526,
"name": "按钮4", "y": 1282,
"x": 525, "type": "button",
"y": 1462, "props": {
"type": "button", "tUp": "去完成.png",
"props": { "tDisable": "去完成灰.png"
"tUp": "去完成.png", },
"tDisable": "去完成灰.png" "id": "taskBtn3"
}, },
"id": "taskBtn4" {
}, "name": "按钮2",
{ "x": 526,
"name": "按钮3", "y": 1102,
"x": 526, "type": "button",
"y": 1282, "props": {
"type": "button", "tUp": "去完成.png",
"props": { "tDisable": "去完成灰.png"
"tUp": "去完成.png", },
"tDisable": "去完成灰.png" "id": "taskBtn2"
}, },
"id": "taskBtn3" {
}, "name": "按钮1",
{ "x": 526,
"name": "按钮2", "y": 923,
"x": 526, "type": "button",
"y": 1102, "props": {
"type": "button", "tUp": "去完成.png",
"props": { "tDisable": "去完成灰.png"
"tUp": "去完成.png", },
"tDisable": "去完成灰.png" "id": "taskBtn1"
}, },
"id": "taskBtn2" {
}, "name": "关闭按钮",
{ "x": 671,
"name": "按钮1", "y": 708,
"x": 526, "alpha": 1,
"y": 923, "type": "button",
"type": "button", "props": {
"props": { "tUp": "关闭按钮.png"
"tUp": "去完成.png", },
"tDisable": "去完成灰.png" "id": "closeBtn"
}, }
"id": "taskBtn1" ]
}, },
{ {
"name": "关闭按钮", "name": "ToolsOutPanel",
"x": 671, "x": 0,
"y": 708, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "关闭按钮.png" "name": "道具不足背景",
}, "x": 55,
"id": "closeBtn" "y": 498,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "道具不足背景.png"
"name": "ToolsOutPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "文案",
"children": [ "x": 203,
{ "y": 650,
"name": "道具不足背景", "alpha": 1,
"x": 55, "type": "text",
"y": 498, "props": {
"alpha": 1, "text": "要消耗200积分兑换码?",
"type": "sprite", "size": 34,
"props": { "fillColor": "#df5942",
"source": "道具不足背景.png" "textAlpha": 1
} },
}, "id": "msgTxt"
{ },
"name": "文案", {
"x": 203, "name": "关闭按钮",
"y": 650, "x": 631,
"alpha": 1, "y": 470,
"type": "text", "alpha": 1,
"props": { "type": "button",
"text": "要消耗200积分兑换码?", "props": {
"size": 34, "tUp": "关闭按钮.png"
"fillColor": "#df5942", },
"textAlpha": 1 "id": "closeBtn"
}, },
"id": "msgTxt" {
}, "name": "确定",
{ "x": 383,
"name": "关闭按钮", "y": 745,
"x": 631, "alpha": 1,
"y": 470, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "确定.png"
"props": { },
"tUp": "关闭按钮.png" "id": "sureBtn"
}, },
"id": "closeBtn" {
}, "name": "再想想",
{ "x": 93,
"name": "确定", "y": 745,
"x": 383, "alpha": 1,
"y": 745, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "再想想.png"
"props": { },
"tUp": "确定.png" "id": "consideBtn"
}, }
"id": "sureBtn" ]
}, },
{ {
"name": "再想想", "name": "ExchangeSucPanel",
"x": 93, "x": 0,
"y": 745, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "再想想.png" "name": "兑换成功背景",
}, "x": 55,
"id": "consideBtn" "y": 337,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "兑换成功背景.png"
"name": "ExchangeSucPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "关闭按钮",
"children": [ "x": 631,
{ "y": 470,
"name": "兑换成功背景", "alpha": 1,
"x": 55, "type": "button",
"y": 337, "props": {
"alpha": 1, "tUp": "关闭按钮.png"
"type": "sprite", },
"props": { "id": "closeBtn"
"source": "兑换成功背景.png" },
} {
}, "name": "知道啦",
{ "x": 163,
"name": "关闭按钮", "y": 745,
"x": 631, "alpha": 1,
"y": 470, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "知道啦.png"
"props": { },
"tUp": "关闭按钮.png" "id": "knowBtn"
}, }
"id": "closeBtn" ]
}, },
{ {
"name": "知道啦", "name": "CreditsOutPanel",
"x": 163, "x": 0,
"y": 745, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "知道啦.png" "name": "积分不足背景",
}, "x": 55,
"id": "knowBtn" "y": 498,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "积分不足背景.png"
"name": "CreditsOutPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "关闭按钮",
"children": [ "x": 631,
{ "y": 470,
"name": "积分不足背景", "alpha": 1,
"x": 55, "type": "button",
"y": 498, "props": {
"alpha": 1, "tUp": "关闭按钮.png"
"type": "sprite", },
"props": { "id": "closeBtn"
"source": "积分不足背景.png" },
} {
}, "name": "赚取积分",
{ "x": 163,
"name": "关闭按钮", "y": 745,
"x": 631, "alpha": 1,
"y": 470, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "赚取积分.png"
"props": { },
"tUp": "关闭按钮.png" "id": "earnBtn"
}, }
"id": "closeBtn" ]
}, },
{ {
"name": "赚取积分", "name": "FreePowerPanel",
"x": 163, "x": 0,
"y": 745, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "赚取积分.png" "name": "圆圈",
}, "x": 55,
"id": "earnBtn" "y": 267,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "圆圈.png"
"name": "FreePowerPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "关闭按钮",
"children": [ "x": 631,
{ "y": 470,
"name": "圆圈", "alpha": 1,
"x": 55, "type": "button",
"y": 267, "props": {
"alpha": 1, "tUp": "关闭按钮.png"
"type": "sprite", },
"props": { "id": "closeBtn"
"source": "圆圈.png" },
} {
}, "name": "开心收下",
{ "x": 163,
"name": "关闭按钮", "y": 900,
"x": 631, "alpha": 1,
"y": 470, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "开心收下.png"
"props": { },
"tUp": "关闭按钮.png" "id": "acceptBtn"
}, }
"id": "closeBtn" ]
}, },
{ {
"name": "开心收下", "name": "UseToolPanel",
"x": 163, "x": 0,
"y": 900, "y": 0,
"alpha": 1, "type": "container",
"type": "button", "children": [
"props": { {
"tUp": "开心收下.png" "name": "使用道具背景",
}, "x": 55,
"id": "acceptBtn" "y": 498,
} "alpha": 1,
] "type": "sprite",
}, "props": {
{ "source": "使用道具背景.png"
"name": "UseToolPanel", }
"x": 0, },
"y": 0, {
"type": "container", "name": "文案",
"children": [ "x": 168,
{ "y": 619,
"name": "使用道具背景", "alpha": 1,
"x": 55, "type": "text",
"y": 498, "props": {
"alpha": 1, "text": "确认使用步数道具+10步吗?",
"type": "sprite", "size": 34,
"props": { "fillColor": "#df5942",
"source": "使用道具背景.png" "textAlpha": 1
} },
}, "id": "msgTxt"
{ },
"name": "文案", {
"x": 168, "name": "关闭按钮",
"y": 619, "x": 631,
"alpha": 1, "y": 470,
"type": "text", "alpha": 1,
"props": { "type": "button",
"text": "确认使用步数道具+10步吗?", "props": {
"size": 34, "tUp": "关闭按钮.png"
"fillColor": "#df5942", },
"textAlpha": 1 "id": "closeBtn"
}, },
"id": "msgTxt" {
}, "name": "确定",
{ "x": 383,
"name": "关闭按钮", "y": 745,
"x": 631, "alpha": 1,
"y": 470, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "确定.png"
"props": { },
"tUp": "关闭按钮.png" "id": "sureBtn"
}, },
"id": "closeBtn" {
}, "name": "再想想",
{ "x": 93,
"name": "确定", "y": 745,
"x": 383, "alpha": 1,
"y": 745, "type": "button",
"alpha": 1, "props": {
"type": "button", "tUp": "再想想.png"
"props": { },
"tUp": "确定.png" "id": "consideBtn"
}, }
"id": "sureBtn" ]
}, }
{ ]
"name": "再想想",
"x": 93,
"y": 745,
"alpha": 1,
"type": "button",
"props": {
"tUp": "再想想.png"
},
"id": "consideBtn"
}
]
}
]
} }
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();
}
}
...@@ -7,6 +7,8 @@ import TEXT_ALIGN = FYGE.TEXT_ALIGN; ...@@ -7,6 +7,8 @@ import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import MouseEvent = FYGE.MouseEvent; import MouseEvent = FYGE.MouseEvent;
import { changeScene } from "../../module/ctrls"; import { changeScene } from "../../module/ctrls";
import { PlayScene } from "../scene/PlayScene"; 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() {
...@@ -23,6 +25,18 @@ export class StartPanel extends Panel { ...@@ -23,6 +25,18 @@ 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, FYGE.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;
...@@ -75,7 +89,11 @@ export class StartTarget extends Container { ...@@ -75,7 +89,11 @@ export class StartTarget extends Container {
} else if (passTarget.type == 1) { // 消除元素个数 } else if (passTarget.type == 1) { // 消除元素个数
passTarget.elements.forEach((v, i) => { passTarget.elements.forEach((v, i) => {
this.addChild(new StartTargetItem(v)).x = pos[passTarget.elements.length - 1][i]; const targetItem = this.addChild(new StartTargetItem(v));
targetItem.x = pos[passTarget.elements.length - 1][i];
setTimeout(() => {
targetItem.playEffect();
}, i * 200);
}); });
} }
...@@ -97,5 +115,15 @@ export class StartTargetItem extends Container { ...@@ -97,5 +115,15 @@ export class StartTargetItem extends Container {
targetTex.strokeColor = '#eb5b57'; targetTex.strokeColor = '#eb5b57';
targetTex.stroke = 3; 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)
} }
} }
...@@ -4,6 +4,7 @@ import { changeScene } from "../../module/ctrls"; ...@@ -4,6 +4,7 @@ import { changeScene } from "../../module/ctrls";
import { PlayScene } from "../scene/PlayScene"; import { PlayScene } from "../scene/PlayScene";
import { StartTarget } from "./StartPanel"; import { StartTarget } from "./StartPanel";
import TEXT_ALIGN = FYGE.TEXT_ALIGN; import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import Tween = FYGE.Tween;
export class StartPanelPrize extends Panel { export class StartPanelPrize extends Panel {
get groupNames() { get groupNames() {
...@@ -14,6 +15,18 @@ export class StartPanelPrize extends Panel { ...@@ -14,6 +15,18 @@ export class StartPanelPrize extends Panel {
return "StartPanelPrize" 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, FYGE.Ease.backOut)
.call(() => {
this.isShowing = false;
});
}
closeBtn: FYGE.Button; closeBtn: FYGE.Button;
startBtn: FYGE.Button; startBtn: FYGE.Button;
startBtn2: FYGE.Button; startBtn2: FYGE.Button;
......
...@@ -34,19 +34,14 @@ export class MapScene extends Scene { ...@@ -34,19 +34,14 @@ export class MapScene extends Scene {
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() {
...@@ -126,10 +121,6 @@ export class MapScene extends Scene { ...@@ -126,10 +121,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);
} }
......
...@@ -6,6 +6,8 @@ import TEXT_ALIGN = FYGE.TEXT_ALIGN; ...@@ -6,6 +6,8 @@ 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";
export default class MapUI extends Container { export default class MapUI extends Container {
public energyBox: EnergyBox = null; public energyBox: EnergyBox = null;
...@@ -41,6 +43,7 @@ export default class MapUI extends Container { ...@@ -41,6 +43,7 @@ export default class MapUI extends Container {
case this.ruleBtn: case this.ruleBtn:
/// TODO 规则 /// TODO 规则
console.log('规则'); console.log('规则');
showPanel(RulePanel);
break; break;
case this.myPrizeBtn: case this.myPrizeBtn:
......
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