Commit abab27cf authored by haiyoucuv's avatar haiyoucuv

Success Panel Effect!

parent 7a568545
<?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="effect"> <list default="true" id="9cef0552-af3c-4a1c-be1f-dc41ebe5b6db" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_left_dis.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/common/comm_light.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_left_en.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/starLight/star_light_0.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_mid_dis.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/starLight/star_light_1.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_mid_en.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/starLight/star_light_10.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_right_dis.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/starLight/star_light_11.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_right_en.png" afterDir="false" /> <change afterPath="$PROJECT_DIR$/resource/starLight/star_light_12.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_13.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_14.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_15.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_2.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_3.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_4.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_5.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_6.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_7.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_8.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/resource/starLight/star_light_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$/resource/SuccessNoPrizePanel/闯关成功Bg.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/闯关成功Bg.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_left_dis.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessNoPrizePanel/闯关成功不满星按钮.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/闯关成功不满星按钮.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_left_en.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessPrizePanel/圆角矩形 648.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/圆角矩形 648.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_mid_dis.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_dis.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessPrizePanel/按钮-继续闯关.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/按钮-继续闯关.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_mid_en.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/star_en.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessPrizePanel/红包奖励.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/红包奖励.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_right_dis.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessPrizePanel/道具.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/道具.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/star_right_en.png" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resource/SuccessPrizePanel/闯关成功.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/闯关成功.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/resource/SuccessPanel/按钮-继续闯关.png" beforeDir="false" afterPath="$PROJECT_DIR$/resource/SuccessPanel/去抽奖.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resource/res.json" beforeDir="false" afterPath="$PROJECT_DIR$/resource/res.json" 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/ResJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/ResJson.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/SkinJson.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/SkinJson.ts" afterDir="false" />
...@@ -52,7 +63,7 @@ ...@@ -52,7 +63,7 @@
<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$/resource/SuccessPrizePanel" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/resource/starLight" />
<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)" />
...@@ -65,20 +76,20 @@ ...@@ -65,20 +76,20 @@
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/resource/starLight" />
<recent name="$PROJECT_DIR$/resource/SuccessPrizePanel" /> <recent name="$PROJECT_DIR$/resource/SuccessPrizePanel" />
<recent name="$PROJECT_DIR$/resource/map" /> <recent name="$PROJECT_DIR$/resource/map" />
<recent name="$PROJECT_DIR$/resource/mapCheckPrizeEffect" /> <recent name="$PROJECT_DIR$/resource/mapCheckPrizeEffect" />
<recent name="$PROJECT_DIR$/resource/map_owl_effecrt" /> <recent name="$PROJECT_DIR$/resource/map_owl_effecrt" />
<recent name="$PROJECT_DIR$/resource/map_crab_effect" />
</key> </key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/resource/common" />
<recent name="$PROJECT_DIR$/resource/SuccessPrizePanel" /> <recent name="$PROJECT_DIR$/resource/SuccessPrizePanel" />
<recent name="$PROJECT_DIR$/resource/mapWhaleEffect" /> <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>
</component> </component>
<component name="RunManager" selected="npm.dev"> <component name="RunManager" selected="npm.flushRes">
<configuration name="dev" type="js.build_tools.npm" temporary="true" nameIsGenerated="true"> <configuration name="dev" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" /> <package-json value="$PROJECT_DIR$/package.json" />
<command value="run" /> <command value="run" />
...@@ -123,7 +134,7 @@ ...@@ -123,7 +134,7 @@
<workItem from="1594604662575" duration="27200000" /> <workItem from="1594604662575" duration="27200000" />
<workItem from="1594691193000" duration="14409000" /> <workItem from="1594691193000" duration="14409000" />
<workItem from="1594712553750" duration="3451000" /> <workItem from="1594712553750" duration="3451000" />
<workItem from="1594777357248" duration="3998000" /> <workItem from="1594777357248" duration="15025000" />
</task> </task>
<task id="LOCAL-00001" summary="111"> <task id="LOCAL-00001" summary="111">
<created>1594122339119</created> <created>1594122339119</created>
...@@ -237,7 +248,14 @@ ...@@ -237,7 +248,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1594726952711</updated> <updated>1594726952711</updated>
</task> </task>
<option name="localTasksCounter" value="17" /> <task id="LOCAL-00017" summary="Success Panel Effect!">
<created>1594781505168</created>
<option name="number" value="00017" />
<option name="presentableId" value="LOCAL-00017" />
<option name="project" value="LOCAL" />
<updated>1594781505168</updated>
</task>
<option name="localTasksCounter" value="18" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -247,7 +265,8 @@ ...@@ -247,7 +265,8 @@
<MESSAGE value="111" /> <MESSAGE value="111" />
<MESSAGE value="map effect" /> <MESSAGE value="map effect" />
<MESSAGE value="effect" /> <MESSAGE value="effect" />
<option name="LAST_COMMIT_MESSAGE" value="effect" /> <MESSAGE value="Success Panel Effect!" />
<option name="LAST_COMMIT_MESSAGE" value="Success Panel 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">
...@@ -262,26 +281,26 @@ ...@@ -262,26 +281,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="1594777926546"> <state x="754" y="183" key="CommitChangelistDialog2" timestamp="1594781504873">
<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="1594777926546" /> <state x="754" y="183" key="CommitChangelistDialog2/31.23.1889.1177@31.23.1889.1177" timestamp="1594781504873" />
<state width="882" height="329" key="GridCell.Tab.0.bottom" timestamp="1594780478549"> <state width="882" height="327" key="GridCell.Tab.0.bottom" timestamp="1594793979488">
<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="1594780478549" /> <state width="882" height="327" key="GridCell.Tab.0.bottom/31.23.1889.1177@31.23.1889.1177" timestamp="1594793979488" />
<state width="882" height="329" key="GridCell.Tab.0.center" timestamp="1594780478546"> <state width="882" height="327" key="GridCell.Tab.0.center" timestamp="1594793979487">
<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="1594780478546" /> <state width="882" height="327" key="GridCell.Tab.0.center/31.23.1889.1177@31.23.1889.1177" timestamp="1594793979487" />
<state width="882" height="329" key="GridCell.Tab.0.left" timestamp="1594780478545"> <state width="882" height="327" key="GridCell.Tab.0.left" timestamp="1594793979487">
<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="1594780478545" /> <state width="882" height="327" key="GridCell.Tab.0.left/31.23.1889.1177@31.23.1889.1177" timestamp="1594793979487" />
<state width="882" height="329" key="GridCell.Tab.0.right" timestamp="1594780478547"> <state width="882" height="327" key="GridCell.Tab.0.right" timestamp="1594793979488">
<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="1594780478547" /> <state width="882" height="327" key="GridCell.Tab.0.right/31.23.1889.1177@31.23.1889.1177" timestamp="1594793979488" />
<state x="82" y="353" key="IDE.errors.dialog" timestamp="1594777965326"> <state x="82" y="353" key="IDE.errors.dialog" timestamp="1594777965326">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -302,10 +321,10 @@ ...@@ -302,10 +321,10 @@
<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="1594705166397" /> <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="1594785131032">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
<state x="907" y="23" width="879" height="1158" key="dock-window-1/31.23.1889.1177@31.23.1889.1177" timestamp="1594284506599" /> <state x="907" y="23" width="879" height="1158" key="dock-window-1/31.23.1889.1177@31.23.1889.1177" timestamp="1594785131032" />
<state x="907" y="23" width="879" height="1158" key="dock-window-2" timestamp="1594285002126"> <state x="907" y="23" width="879" height="1158" key="dock-window-2" timestamp="1594285002126">
<screen x="31" y="23" width="1889" height="1177" /> <screen x="31" y="23" width="1889" height="1177" />
</state> </state>
...@@ -322,9 +341,9 @@ ...@@ -322,9 +341,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="1594712635697" /> <state x="157" y="286" key="run.anything.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594712635697" />
<state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1594781273475"> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup" timestamp="1594791368676">
<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="1594781273475" /> <state x="640" y="288" width="670" height="676" key="search.everywhere.popup/31.23.1889.1177@31.23.1889.1177" timestamp="1594791368676" />
</component> </component>
</project> </project>
\ No newline at end of file
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
"name": "StartPanelPrize" "name": "StartPanelPrize"
}, },
{ {
"keys": "star_left_dis.png,star_left_en.png,star_mid_dis.png,star_mid_en.png,star_right_dis.png,star_right_en.png,圆角矩形 648.png,按钮-继续闯关.png,红包奖励.png,道具.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png", "keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,红包奖励.png,道具.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel" "name": "SuccessPanel"
}, },
{ {
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"name": "bonusTime" "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", "keys": "comCloseBtn.png,comm_light.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" "name": "common"
}, },
{ {
...@@ -99,6 +99,10 @@ ...@@ -99,6 +99,10 @@
{ {
"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,settingBg.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,settingBg.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"
},
{
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
...@@ -41,7 +41,7 @@ export const ResJson = { ...@@ -41,7 +41,7 @@ export const ResJson = {
"name": "StartPanelPrize" "name": "StartPanelPrize"
}, },
{ {
"keys": "star_left_dis.png,star_left_en.png,star_mid_dis.png,star_mid_en.png,star_right_dis.png,star_right_en.png,圆角矩形 648.png,按钮-继续闯关.png,红包奖励.png,道具.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png", "keys": "star_dis.png,star_en.png,去抽奖.png,圆角矩形 648.png,红包奖励.png,道具.png,闯关成功.png,闯关成功Bg.png,闯关成功不满星按钮.png",
"name": "SuccessPanel" "name": "SuccessPanel"
}, },
{ {
...@@ -61,7 +61,7 @@ export const ResJson = { ...@@ -61,7 +61,7 @@ export const ResJson = {
"name": "bonusTime" "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", "keys": "comCloseBtn.png,comm_light.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" "name": "common"
}, },
{ {
...@@ -99,6 +99,10 @@ export const ResJson = { ...@@ -99,6 +99,10 @@ export const ResJson = {
{ {
"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,settingBg.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,settingBg.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"
},
{
"keys": "star_light_0.png,star_light_1.png,star_light_10.png,star_light_11.png,star_light_12.png,star_light_13.png,star_light_14.png,star_light_15.png,star_light_2.png,star_light_3.png,star_light_4.png,star_light_5.png,star_light_6.png,star_light_7.png,star_light_8.png,star_light_9.png",
"name": "starLight"
} }
], ],
"path": "./resource/" "path": "./resource/"
......
...@@ -55,14 +55,15 @@ export const SkinJson = { ...@@ -55,14 +55,15 @@ export const SkinJson = {
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 521,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 40, "size": 40,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1,
"bold": true
}, },
"id": "checkTex" "id": "checkTex"
}, },
...@@ -132,26 +133,28 @@ export const SkinJson = { ...@@ -132,26 +133,28 @@ export const SkinJson = {
"id": "againBtn" "id": "againBtn"
}, },
{ {
"name": "按钮-继续闯关", "name": "去抽奖",
"x": 383, "x": 383,
"y": 1095, "y": 1095,
"alpha": 1, "alpha": 1,
"type": "sprite", "type": "button",
"props": { "props": {
"source": "按钮-继续闯关.png" "tUp": "去抽奖.png"
} },
"id": "goPrizeBtn"
}, },
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 521,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 40, "size": 40,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1,
"bold": true
}, },
"id": "checkTex" "id": "checkTex"
}, },
...@@ -220,16 +223,6 @@ export const SkinJson = { ...@@ -220,16 +223,6 @@ export const SkinJson = {
} }
] ]
}, },
{
"name": "star",
"x": 145,
"y": 601,
"alpha": 1,
"type": "sprite",
"props": {
"source": "star.png"
}
},
{ {
"name": "关闭按钮", "name": "关闭按钮",
"x": 631, "x": 631,
...@@ -327,14 +320,15 @@ export const SkinJson = { ...@@ -327,14 +320,15 @@ export const SkinJson = {
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 300, "x": 300,
"y": 519, "y": 521,
"alpha": 1, "alpha": 1,
"type": "text", "type": "text",
"props": { "props": {
"text": "第 24 关", "text": "第 24 关",
"size": 24.78875, "size": 40,
"fillColor": "#df5942", "fillColor": "#df5942",
"textAlpha": 1 "textAlpha": 1,
"bold": true
}, },
"id": "checkTex" "id": "checkTex"
}, },
...@@ -431,14 +425,15 @@ export const SkinJson = { ...@@ -431,14 +425,15 @@ export const SkinJson = {
{ {
"name": "关卡文字", "name": "关卡文字",
"x": 317, "x": 317,
"y": 519, "y": 521,
"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,
"bold": true
}, },
"id": "checkTex" "id": "checkTex"
}, },
...@@ -474,14 +469,15 @@ export const SkinJson = { ...@@ -474,14 +469,15 @@ export const SkinJson = {
{ {
"name": "关卡数", "name": "关卡数",
"x": 312, "x": 312,
"y": 519, "y": 521,
"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,
"bold": true
}, },
"id": "checkTex" "id": "checkTex"
}, },
......
...@@ -5,16 +5,31 @@ import { Tools } from "../Tools"; ...@@ -5,16 +5,31 @@ import { Tools } from "../Tools";
import Sprite = FYGE.Sprite; import Sprite = FYGE.Sprite;
import Tween = FYGE.Tween; import Tween = FYGE.Tween;
import Ease = FYGE.Ease; import Ease = FYGE.Ease;
import FrameAni = FYGE.FrameAni;
import Texture = FYGE.Texture;
import { RES } from "../../module/RES";
export class SuccessNoPrizePanel extends Panel { export class SuccessNoPrizePanel extends Panel {
get groupNames() { get groupNames() {
return ["SuccessPanel"] return ["SuccessPanel", 'starLight']
} }
get skinName() { get skinName() {
return "SuccessNoPrizePanel" return "SuccessNoPrizePanel"
} }
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; closeBtn: FYGE.Button;
tipsTex: FYGE.TextField; tipsTex: FYGE.TextField;
checkTex: FYGE.TextField; checkTex: FYGE.TextField;
...@@ -51,56 +66,140 @@ export class SuccessNoPrizePanel extends Panel { ...@@ -51,56 +66,140 @@ export class SuccessNoPrizePanel extends Panel {
} }
export class SuccessStarGroup extends Container { export class SuccessStarGroup extends Container {
private leftStar: SuccessStar = null;
private midStar: SuccessStar = null; private leftStarDis: Sprite = null;
private rightStar: SuccessStar = null; private midStarDis: Sprite = null;
private rightStarDis: Sprite = null;
private leftStarEn: Sprite = null;
private midStarEn: Sprite = null;
private rightStarEn: Sprite = null;
private leftStarAni: FrameAni = null;
private midStarAni: FrameAni = null;
private rightStarAni: FrameAni = null;
constructor() { constructor() {
super(); super();
this.leftStar = this.addChild(new SuccessStar()); this.leftStarDis = this.addChild(Tools.getSprite('star_dis.png'));
this.midStar = this.addChild(new SuccessStar()); this.midStarDis = this.addChild(Tools.getSprite('star_dis.png'));
this.rightStar = this.addChild(new SuccessStar()); this.rightStarDis = this.addChild(Tools.getSprite('star_dis.png'));
this.leftStar.position.set(-158, 36); this.leftStarEn = this.addChild(Tools.getSprite('star_en.png'));
this.leftStar.rotation = -25; this.midStarEn = this.addChild(Tools.getSprite('star_en.png'));
this.leftStar.scale.set(0.81, 0.81); this.rightStarEn = this.addChild(Tools.getSprite('star_en.png'));
this.rightStar.position.set(157, 37); this.leftStarDis.anchorTexture.set(0.5, 0.5);
this.rightStar.rotation = 25; this.midStarDis.anchorTexture.set(0.5, 0.5);
this.rightStar.scale.set(0.81, 0.81); this.rightStarDis.anchorTexture.set(0.5, 0.5);
} this.leftStarEn.anchorTexture.set(0.5, 0.5);
this.midStarEn.anchorTexture.set(0.5, 0.5);
this.rightStarEn.anchorTexture.set(0.5, 0.5);
public play(count: number) { this.leftStarDis.position.set(-158, 36);
this.leftStar.play(); this.leftStarDis.rotation = -25;
if (count == 1) return; this.leftStarDis.scale.set(0.81, 0.81);
this.midStar.play(400);
if (count == 2) return;
this.rightStar.play(800);
}
}
export class SuccessStar extends Container { this.leftStarEn.position.set(-157, 41);
private starEn: Sprite = null; this.leftStarEn.rotation = -25;
private starDis: Sprite = null; this.leftStarEn.scale.set(0.81, 0.81);
constructor() { this.midStarEn.y = 5;
super();
this.starDis = this.addChild(Tools.getSprite('star_mid_dis.png')); this.rightStarDis.position.set(157, 37);
this.starDis.anchorTexture.set(0.5, 0.5); this.rightStarDis.rotation = 25;
this.starEn = this.addChild(Tools.getSprite('star_mid_en.png')); this.rightStarDis.scale.set(0.81, 0.81);
this.starEn.anchorTexture.set(0.5, 0.5);
this.starEn.scale.set(0, 0); this.rightStarEn.position.set(156, 41);
this.starEn.y = 2; this.rightStarEn.rotation = 25;
this.rightStarEn.scale.set(0.81, 0.81);
this.leftStarEn.scale.set(0, 0);
this.midStarEn.scale.set(0, 0);
this.rightStarEn.scale.set(0, 0);
const starAniFrame: Texture[] = new Array(16);
for (let i = 0; i < 15; i++) {
starAniFrame[i] = RES.getRes(`star_light_${i}.png`);
} }
starAniFrame[15] = null;
public play(wait: number = 0, time: number = 400) { this.leftStarAni = this.addChild(new FrameAni(starAniFrame));
Tween.get(this.starEn) this.leftStarAni.visible = false;
.wait(wait) this.leftStarAni.position.set(-158, 44);
.set({scaleX: 0, scaleY: 0})
.to({scaleX: 1, scaleY: 1}, time, Ease.quadInOut); this.midStarAni = this.addChild(new FrameAni(starAniFrame));
this.midStarAni.visible = false;
this.midStarAni.y = 8;
this.rightStarAni = this.addChild(new FrameAni(starAniFrame));
this.rightStarAni.visible = false;
this.rightStarAni.position.set(158, 42);
} }
public play(count: number, wait: number = 600) {
const time1 = 200;
const time2 = 100;
const max = 3;
const interval = 100;
Tween.get(this.leftStarEn)
.wait(wait)
.set({scaleX: max, scaleY: max})
.to({scaleX: 0.648, scaleY: 0.648}, time1, Ease.quadOut)
.call(() => {
this.leftStarAni.visible = true;
this.leftStarAni.play(1);
})
.to({scaleX: 0.81, scaleY: 0.81}, time2, Ease.quadOut)
.wait(interval)
.call(() => {
if (count <= 1) return;
Tween.get(this.midStarEn)
.set({scaleX: max, scaleY: max})
.to({scaleX: 0.8, scaleY: 0.8}, time1, Ease.quadOut)
.call(() => {
this.midStarAni.visible = true;
this.midStarAni.play(1);
})
.to({scaleX: 1, scaleY: 1}, time2, Ease.quadOut)
.wait(interval)
.call(() => {
if (count <= 2) return;
Tween.get(this.rightStarEn)
.set({scaleX: max, scaleY: max})
.to({scaleX: 0.648, scaleY: 0.648}, time1, Ease.quadOut)
.call(() => {
this.rightStarAni.visible = true;
this.rightStarAni.play(1);
})
.to({scaleX: 0.81, scaleY: 0.81}, time2, Ease.quadOut)
});
});
}
} }
// export class SuccessStar extends Container {
// private starEn: Sprite = null;
// private starDis: Sprite = null;
//
// constructor() {
// super();
// this.starDis = this.addChild(Tools.getSprite('star_dis.png'));
// this.starDis.anchorTexture.set(0.5, 0.5);
// this.starEn = this.addChild(Tools.getSprite('star_en.png'));
// this.starEn.anchorTexture.set(0.5, 0.5);
// this.starEn.scale.set(0, 0);
// this.starEn.y = 3;
// }
//
// public play(wait: number = 0, time: number = 400) {
// Tween.get(this.starEn)
// .wait(wait)
// .set({scaleX: 3, scaleY: 3})
// .to({scaleX: 1, scaleY: 1}, time, Ease.quadInOut);
//
// }
//
// }
import { Panel } from "../../module/views/Panel"; import { Panel } from "../../module/views/Panel";
import TEXT_ALIGN = FYGE.TEXT_ALIGN; import TEXT_ALIGN = FYGE.TEXT_ALIGN;
import { SuccessStarGroup } from "./SuccessNoPrizePanel";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
export class SuccessPrizePanel extends Panel { export class SuccessPrizePanel extends Panel {
get groupNames() { get groupNames() {
return ["SuccessPanel"] return ["SuccessPanel", 'starLight']
} }
get skinName() { get skinName() {
return "SuccessPrizePanel" return "SuccessPrizePanel"
} }
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; closeBtn: FYGE.Button;
tipsTex: FYGE.TextField; tipsTex: FYGE.TextField;
checkTex: FYGE.TextField; checkTex: FYGE.TextField;
againBtn: FYGE.Button; againBtn: FYGE.Button;
noPrizeAgainBtn: FYGE.Button; noPrizeAgainBtn: FYGE.Button;
goPrizeBtn: FYGE.Button;
private starGroup: SuccessStarGroup = null;
initUi() { initUi() {
this.checkTex.textWidth = 750; this.checkTex.textWidth = 750;
this.checkTex.x = 0; this.checkTex.x = 0;
this.checkTex.textAlign = TEXT_ALIGN.CENTER; this.checkTex.textAlign = TEXT_ALIGN.CENTER;
this.tipsTex.textAlign = TEXT_ALIGN.CENTER;
this.starGroup = this.addChild(new SuccessStarGroup());
this.starGroup.position.set(373, 678);
this.starGroup.play(4);
} }
start(data) { start(data) {
......
...@@ -12,6 +12,7 @@ import { Tools } from "../../Tools"; ...@@ -12,6 +12,7 @@ import { Tools } from "../../Tools";
import Graphics = FYGE.Graphics; import Graphics = FYGE.Graphics;
import { showPanel } from "../../../module/ctrls"; import { showPanel } from "../../../module/ctrls";
import { SuccessNoPrizePanel } from "../../panels/SuccessNoPrizePanel"; import { SuccessNoPrizePanel } from "../../panels/SuccessNoPrizePanel";
import { SuccessPrizePanel } from "../../panels/SuccessPrizePanel";
export class MapScene extends Scene { export class MapScene extends Scene {
private mapContainer: Container = null; private mapContainer: Container = null;
...@@ -49,7 +50,7 @@ export class MapScene extends Scene { ...@@ -49,7 +50,7 @@ export class MapScene extends Scene {
this.initMap(); this.initMap();
this.updateMapCheck(); this.updateMapCheck();
showPanel(SuccessNoPrizePanel); showPanel(SuccessPrizePanel);
} }
private updateMapCheck() { private updateMapCheck() {
......
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