Commit 178aa111 authored by haiyoucuv's avatar haiyoucuv

节日红包

parent a7e896df
This diff is collapsed.
resource/festival/fesRedBombSta1.png

41.4 KB | W: | H:

resource/festival/fesRedBombSta1.png

43 KB | W: | H:

resource/festival/fesRedBombSta1.png
resource/festival/fesRedBombSta1.png
resource/festival/fesRedBombSta1.png
resource/festival/fesRedBombSta1.png
  • 2-up
  • Swipe
  • Onion skin
resource/festival/fesRedDown.png

1.54 KB | W: | H:

resource/festival/fesRedDown.png

54.2 KB | W: | H:

resource/festival/fesRedDown.png
resource/festival/fesRedDown.png
resource/festival/fesRedDown.png
resource/festival/fesRedDown.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
"name": "common" "name": "common"
}, },
{ {
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png", "keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedBombSta2.png,fesRedBombSta3_0.png,fesRedBombSta3_1.png,fesRedBombSta3_10.png,fesRedBombSta3_11.png,fesRedBombSta3_12.png,fesRedBombSta3_13.png,fesRedBombSta3_2.png,fesRedBombSta3_3.png,fesRedBombSta3_4.png,fesRedBombSta3_5.png,fesRedBombSta3_6.png,fesRedBombSta3_7.png,fesRedBombSta3_8.png,fesRedBombSta3_9.png,fesRedBombSta4_0.png,fesRedBombSta4_1.png,fesRedBombSta4_10.png,fesRedBombSta4_11.png,fesRedBombSta4_12.png,fesRedBombSta4_13.png,fesRedBombSta4_14.png,fesRedBombSta4_15.png,fesRedBombSta4_16.png,fesRedBombSta4_17.png,fesRedBombSta4_2.png,fesRedBombSta4_3.png,fesRedBombSta4_4.png,fesRedBombSta4_5.png,fesRedBombSta4_6.png,fesRedBombSta4_7.png,fesRedBombSta4_8.png,fesRedBombSta4_9.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi1.png",
"name": "festival" "name": "festival"
}, },
{ {
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
"name": "map" "name": "map"
}, },
{ {
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,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,fesRedBombSta1.png,fesRedBombSta2.png,fesRedCap.png,fesRedDown.png,fesRedUp.png,festivalTargetBg.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,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,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,xingxingbi.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,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,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,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,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene" "name": "playScene"
}, },
{ {
......
...@@ -53,7 +53,7 @@ export const ResJson = { ...@@ -53,7 +53,7 @@ export const ResJson = {
"name": "common" "name": "common"
}, },
{ {
"keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi.png", "keys": "fesEleSmallDis1.png,fesEleSmallDis10.png,fesEleSmallDis2.png,fesEleSmallDis3.png,fesEleSmallDis4.png,fesEleSmallDis5.png,fesEleSmallDis6.png,fesEleSmallDis7.png,fesEleSmallDis8.png,fesEleSmallDis9.png,fesRedBigLight.png,fesRedBombSta1.png,fesRedBombSta2.png,fesRedBombSta3_0.png,fesRedBombSta3_1.png,fesRedBombSta3_10.png,fesRedBombSta3_11.png,fesRedBombSta3_12.png,fesRedBombSta3_13.png,fesRedBombSta3_2.png,fesRedBombSta3_3.png,fesRedBombSta3_4.png,fesRedBombSta3_5.png,fesRedBombSta3_6.png,fesRedBombSta3_7.png,fesRedBombSta3_8.png,fesRedBombSta3_9.png,fesRedBombSta4_0.png,fesRedBombSta4_1.png,fesRedBombSta4_10.png,fesRedBombSta4_11.png,fesRedBombSta4_12.png,fesRedBombSta4_13.png,fesRedBombSta4_14.png,fesRedBombSta4_15.png,fesRedBombSta4_16.png,fesRedBombSta4_17.png,fesRedBombSta4_2.png,fesRedBombSta4_3.png,fesRedBombSta4_4.png,fesRedBombSta4_5.png,fesRedBombSta4_6.png,fesRedBombSta4_7.png,fesRedBombSta4_8.png,fesRedBombSta4_9.png,fesRedCap.png,fesRedDown.png,fesRedSmallLight.png,fesRedUp.png,festivalTargetBg.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,xingxingbi1.png",
"name": "festival" "name": "festival"
}, },
{ {
...@@ -73,7 +73,7 @@ export const ResJson = { ...@@ -73,7 +73,7 @@ export const ResJson = {
"name": "map" "name": "map"
}, },
{ {
"keys": "blueDoorBg.png,bonusFra0.png,bonusFra1.png,bonusFra10.png,bonusFra11.png,bonusFra2.png,bonusFra3.png,bonusFra4.png,bonusFra5.png,bonusFra6.png,bonusFra7.png,bonusFra8.png,bonusFra9.png,bonusShoot.png,boom0.png,boom1.png,boom10.png,boom11.png,boom12.png,boom13.png,boom14.png,boom15.png,boom16.png,boom17.png,boom18.png,boom19.png,boom2.png,boom20.png,boom3.png,boom4.png,boom5.png,boom6.png,boom7.png,boom8.png,boom9.png,brownBallFace.png,bubbleStar1.png,bubbleStar10.png,bubbleStar11.png,bubbleStar12.png,bubbleStar13.png,bubbleStar14.png,bubbleStar15.png,bubbleStar16.png,bubbleStar17.png,bubbleStar18.png,bubbleStar19.png,bubbleStar2.png,bubbleStar3.png,bubbleStar4.png,bubbleStar5.png,bubbleStar6.png,bubbleStar7.png,bubbleStar8.png,bubbleStar9.png,bubleEle0.png,bubleEle1.png,bubleEle2.png,bubleEle3.png,bubleEle4.png,chapterNum0.png,chapterNum1.png,chapterNum2.png,chapterNum3.png,chapterNum4.png,chapterNum5.png,chapterNum6.png,chapterNum7.png,chapterNum8.png,chapterNum9.png,chapterNum关.png,chapterNum第.png,chooseRect.png,doorClosed.png,doorOpen.png,eggPiece1.png,eggPiece2.png,eggPiece3.png,eggPiece4.png,eggPiece5.png,eggStatus0.png,eggStatus1.png,eggStatus2.png,ele0Exp.png,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,fesRedBombSta1.png,fesRedBombSta2.png,fesRedCap.png,fesRedDown.png,fesRedUp.png,festivalTargetBg.png,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lineLight1.png,lineLight10.png,lineLight11.png,lineLight12.png,lineLight13.png,lineLight2.png,lineLight3.png,lineLight4.png,lineLight5.png,lineLight6.png,lineLight7.png,lineLight8.png,lineLight9.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,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,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,xingxingbi.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,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,gameGuideBoard.png,greenCircleDown.png,greenCircleUp.png,greyBallFace.png,guidePropBoom.png,guidePropCow.png,guidePropHammer.png,guidePropHand.png,guidePropMsgPanel.png,guidePropShoe.png,hairballDisBg.png,hairballPiece1.png,hairballPiece2.png,hairballPiece3.png,hairballPiece4.png,hairballPiece5.png,hairballPiece6.png,hairballPiece7.png,hairballPiece8-1.png,hairballPiece8.png,hairballPiece9.png,ice2.png,ice3.png,ice4.png,ice5.jpg,ice5.png,ice6.png,jellyArrow.png,leftArrow.png,lightedStar.png,lineLight.png,lockVine.png,magicLion.png,magicLionBg.png,main_mapbottom.png,musicOff.png,musicOn.png,playBg.jpg,propNum0.png,propNum1.png,propNum2.png,propNum3.png,propNum4.png,propNum5.png,propNum6.png,propNum7.png,propNum8.png,propNum9.png,prop_count_bg.png,rectLat.png,rectLatWhite.png,redDoorBg.png,rightArrow.png,rightMark.png,rock2.png,rock3.png,rock4.png,rock5.png,rock6.png,scoreNum0.png,scoreNum1.png,scoreNum2.png,scoreNum3.png,scoreNum4.png,scoreNum5.png,scoreNum6.png,scoreNum7.png,scoreNum8.png,scoreNum9.png,scoreNum关.png,scoreNum冒号.png,scoreNum分.png,scoreNum数.png,scoreNum通.png,settingBg.png,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,stepNum0.png,stepNum1.png,stepNum2.png,stepNum3.png,stepNum4.png,stepNum5.png,stepNum6.png,stepNum7.png,stepNum8.png,stepNum9.png,table.png,tarNum0.png,tarNum1.png,tarNum2.png,tarNum3.png,tarNum4.png,tarNum5.png,tarNum6.png,tarNum7.png,tarNum8.png,tarNum9.png,topBg.png,unlightedStar.png,yellowCircleDown.png,yellowCircleUp.png,yellowDoorBg.png",
"name": "playScene" "name": "playScene"
}, },
{ {
......
...@@ -66,6 +66,9 @@ import { G_EVENT } from '../common/G_EVENT'; ...@@ -66,6 +66,9 @@ import { G_EVENT } from '../common/G_EVENT';
import Tween = FYGE.Tween; import Tween = FYGE.Tween;
import { BitmapRecycle } from "../something/class/BitmapRecycle"; import { BitmapRecycle } from "../something/class/BitmapRecycle";
import { FesRedPrizePanel } from "../panels/FesRedPrizePanel"; import { FesRedPrizePanel } from "../panels/FesRedPrizePanel";
import FrameAni = FYGE.FrameAni;
import Texture = FYGE.Texture;
import Container = FYGE.Container;
const aniClass = { const aniClass = {
"BoomAni": BoomAni, "BoomAni": BoomAni,
...@@ -123,7 +126,7 @@ const festivalIndex: number = 40 ...@@ -123,7 +126,7 @@ const festivalIndex: number = 40
export class PlayScene extends Scene { export class PlayScene extends Scene {
get groupNames() { get groupNames() {
return ["playScene", "fiveVerHorDis"] return ["playScene", "fiveVerHorDis", 'festival']
} }
//关卡数据 //关卡数据
...@@ -1961,7 +1964,6 @@ export class PlayScene extends Scene { ...@@ -1961,7 +1964,6 @@ export class PlayScene extends Scene {
this.addChild(this.gameGuide) this.addChild(this.gameGuide)
this.gameGuide.show() this.gameGuide.show()
} }
;
//允许移动 //允许移动
this.enableMouseEvt(true); this.enableMouseEvt(true);
//检查是否有红包炸弹弹框;有就弹出;然后置空 //检查是否有红包炸弹弹框;有就弹出;然后置空
...@@ -2903,23 +2905,31 @@ export class PlayScene extends Scene { ...@@ -2903,23 +2905,31 @@ export class PlayScene extends Scene {
//红包炸弹动效 //红包炸弹动效
redBombLightAni(index: number, callback: Function) { redBombLightAni(index: number, callback: Function) {
//如果有
// if (movieClips["redBombLight"]) { const node = new Container();
// var p = Tool.getPositionByIndex(index); const down = new FYGE.Sprite(RES.getRes("fesRedDown.png"));
// movieClips["redBombLight"].x = p[0] - 358; down.anchorTexture.set(0.5, 0.5);
// movieClips["redBombLight"].y = p[1] - 137; down.scale.set(0.31, 0.31);
// this.addChild(movieClips["redBombLight"]) node.addChild(down);
// movieClips["redBombLight"].gotoAndPlay(1, true);
// setTimeout(() => { const ani2Texture: Texture[] = [];
// if (movieClips["redBombLight"].parent) { for (let i = 0; i < 18; i++) {
// movieClips["redBombLight"].parent.removeChild(movieClips["redBombLight"]) ani2Texture.push(RES.getRes(`fesRedBombSta4_${i}.png`));
// } }
// }, 56 / 60 * 1000)
// } const ani2 = node.addChild(new FrameAni(ani2Texture));
//时间再调 const p = Tool.getPositionByIndex(index);
// setTimeout(() => {
callback(); this.addChild(node);
// }, 80)
node.x = p[0];
node.y = p[1];
ani2.play(1, () => {
setTimeout(() => {
callback(node);
}, 80)
});
} }
} }
......
...@@ -12,11 +12,6 @@ export class FesRedBombShowAni extends FYGE.Container { ...@@ -12,11 +12,6 @@ export class FesRedBombShowAni extends FYGE.Container {
down.x = -textureDown.width / 2; down.x = -textureDown.width / 2;
down.y = -textureDown.height / 2; down.y = -textureDown.height / 2;
this.addChild(down); this.addChild(down);
var textureUp: FYGE.Texture = RES.getRes("xingxingbi.png");
var up = new FYGE.Sprite(textureUp);
up.x = -textureUp.width / 2; //-89
up.y = -100;
this.addChild(up);
} }
play(position: number[], callback: Function) { play(position: number[], callback: Function) {
this.scaleX = this.scaleY = 0.29; this.scaleX = this.scaleY = 0.29;
...@@ -34,4 +29,4 @@ export class FesRedBombShowAni extends FYGE.Container { ...@@ -34,4 +29,4 @@ export class FesRedBombShowAni extends FYGE.Container {
callback() callback()
}) })
} }
} }
\ No newline at end of file
import { Pool } from "../Pool"; import { Pool } from "../Pool";
import { RecoverName } from "../enum/RecoverName"; import { RecoverName } from "../enum/RecoverName";
...@@ -7,6 +6,7 @@ import { Tool } from "../Tool"; ...@@ -7,6 +6,7 @@ import { Tool } from "../Tool";
import { ElementType } from "../enum/ElementType"; import { ElementType } from "../enum/ElementType";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import Texture = FYGE.Texture; import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
/** /**
* 需要回调的 * 需要回调的
...@@ -16,8 +16,10 @@ export class FesRedShootAni extends FYGE.Container { ...@@ -16,8 +16,10 @@ export class FesRedShootAni extends FYGE.Container {
light: LightingAni; light: LightingAni;
imageAni: FYGE.FrameAni; imageAni: FYGE.FrameAni;
imageAniCon: FYGE.Container imageAniCon: FYGE.Container
constructor() { constructor() {
super() super();
this.light = new LightingAni(); this.light = new LightingAni();
this.addChild(this.light); this.addChild(this.light);
var arr = [] var arr = []
...@@ -28,8 +30,10 @@ export class FesRedShootAni extends FYGE.Container { ...@@ -28,8 +30,10 @@ export class FesRedShootAni extends FYGE.Container {
this.imageAni = new FYGE.FrameAni(arr); this.imageAni = new FYGE.FrameAni(arr);
this.imageAniCon.addChild(this.imageAni); this.imageAniCon.addChild(this.imageAni);
this.addChild(this.imageAniCon); this.addChild(this.imageAniCon);
this.imageAni.visible = false this.imageAni.visible = false;
} }
reset() { reset() {
this.light.visible = true; this.light.visible = true;
this.imageAni.visible = false; this.imageAni.visible = false;
...@@ -38,6 +42,8 @@ export class FesRedShootAni extends FYGE.Container { ...@@ -38,6 +42,8 @@ export class FesRedShootAni extends FYGE.Container {
play(startP: number[], ele: Element, callback: Function) { play(startP: number[], ele: Element, callback: Function) {
this.reset() this.reset()
this.light.visible = true;
//算角度 //算角度
var r = Tool.getForwardRotation(startP, [ele.x, ele.y]) var r = Tool.getForwardRotation(startP, [ele.x, ele.y])
this.light.rotation = r * 180 / Math.PI; this.light.rotation = r * 180 / Math.PI;
...@@ -52,12 +58,12 @@ export class FesRedShootAni extends FYGE.Container { ...@@ -52,12 +58,12 @@ export class FesRedShootAni extends FYGE.Container {
) )
var scaleX = dis / 247; var scaleX = dis / 247;
FYGE.Tween.get(this.light) FYGE.Tween.get(this.light)
.to({ scaleX: scaleX, }, 400) .to({scaleX: scaleX,}, 400)
.call(() => { .call(() => {
ele.reset(ElementType.FESTIVALELE_SMALL); ele.reset(ElementType.FESTIVALELE_SMALL);
ele.scaleX = ele.scaleY = 0.1 ele.scaleX = ele.scaleY = 0.1
FYGE.Tween.get(ele) FYGE.Tween.get(ele)
.to({ scaleX: 1, scaleY: 1 }, 500, FYGE.Ease.backOut) .to({scaleX: 1, scaleY: 1}, 500, FYGE.Ease.backOut)
//回调 //回调
callback(); callback();
...@@ -66,19 +72,19 @@ export class FesRedShootAni extends FYGE.Container { ...@@ -66,19 +72,19 @@ export class FesRedShootAni extends FYGE.Container {
this.imageAni.play(1, () => { this.imageAni.play(1, () => {
if (this.parent) { if (this.parent) {
this.parent.removeChild(this) this.parent.removeChild(this)
}; }
;
Pool.recover(RecoverName.FESREDSHOOT_ANI, this) Pool.recover(RecoverName.FESREDSHOOT_ANI, this)
}) })
setTimeout(() => { setTimeout(() => {
this.light.visible = false; this.light.visible = false;
}, 200) }, 200)
}) });
} }
} }
class LightingAni extends FYGE.Sprite { class LightingAni extends FYGE.Sprite {
sourceAll: Texture[]; sourceAll: Texture[];
currentFrame: number; currentFrame: number;
...@@ -90,6 +96,7 @@ class LightingAni extends FYGE.Sprite { ...@@ -90,6 +96,7 @@ class LightingAni extends FYGE.Sprite {
* 所有时间,帧数按每秒30 * 所有时间,帧数按每秒30
*/ */
allTime: number allTime: number
/** /**
* 播放完的回调 * 播放完的回调
*/ */
...@@ -112,6 +119,7 @@ class LightingAni extends FYGE.Sprite { ...@@ -112,6 +119,7 @@ class LightingAni extends FYGE.Sprite {
this.allTime = this.sourceAll.length / 30 * 1000; this.allTime = this.sourceAll.length / 30 * 1000;
} }
onEnterFrame() { onEnterFrame() {
if (!this.stage) return if (!this.stage) return
var dataNow = Date.now(); var dataNow = Date.now();
......
import { ElementType } from "../enum/ElementType"; import { ElementType } from "../enum/ElementType";
import { RES } from "../../../module/RES"; import { RES } from "../../../module/RES";
import { Tools } from "../../Tools";
import Tween = FYGE.Tween;
import Ease = FYGE.Ease;
import Texture = FYGE.Texture;
import FrameAni = FYGE.FrameAni;
import { Tool } from "../Tool";
/** /**
* 节日元素 * 节日元素
...@@ -18,6 +24,7 @@ export class FestivalEle extends FYGE.Container { ...@@ -18,6 +24,7 @@ export class FestivalEle extends FYGE.Container {
get statusNum() { get statusNum() {
return this._statusNum return this._statusNum
} }
set statusNum(value: number) { set statusNum(value: number) {
if (value >= 0) { if (value >= 0) {
//播放原来的动画 //播放原来的动画
...@@ -30,6 +37,9 @@ export class FestivalEle extends FYGE.Container { ...@@ -30,6 +37,9 @@ export class FestivalEle extends FYGE.Container {
} else { } else {
//不用动画 //不用动画
this._statusNum = 0; this._statusNum = 0;
let child = this.children[this._statusNum];
child["play"](() => {
})
this.isActive = true; this.isActive = true;
} }
} }
...@@ -49,8 +59,6 @@ export class FestivalEle extends FYGE.Container { ...@@ -49,8 +59,6 @@ export class FestivalEle extends FYGE.Container {
} }
reset(n: number = 2) { reset(n: number = 2) {
this.toggleStatus(n); this.toggleStatus(n);
this.isActive = false; this.isActive = false;
...@@ -73,223 +81,104 @@ export class FestivalEle extends FYGE.Container { ...@@ -73,223 +81,104 @@ export class FestivalEle extends FYGE.Container {
//第一种状态 //第一种状态
class Status1 extends FYGE.Container { class Status1 extends FYGE.Container {
upImage: FYGE.Sprite;
constructor() { constructor() {
super(); super();
var textureDown: FYGE.Texture = RES.getRes("fesRedBombSta1.png") const textureDown: FYGE.Texture = RES.getRes("fesRedBombSta1.png")
var down = new FYGE.Sprite(textureDown); const down = new FYGE.Sprite(textureDown);
down.x = -textureDown.width / 2; down.x = -textureDown.width / 2;
down.y = -textureDown.height / 2; down.y = -textureDown.height / 2;
this.addChild(down); this.addChild(down);
var textureUp: FYGE.Texture = RES.getRes("xingxingbi.png"); this.scaleX = this.scaleY = 0.31;
var up = new FYGE.Sprite(textureUp);
up.anchorTexture.set(0.5, 0.5);
// up.anchorOffsetX = textureUp.textureWidth / 2;
// up.anchorOffsetY = textureUp.textureHeight / 2;
up.y = textureUp.height / 2 - 100;
this.addChild(up);
this.upImage = up;
this.scaleX = this.scaleY = 0.29;
} }
reset() { reset() {
this.upImage.scaleX = this.upImage.scaleY = 1;
} }
play(callback: Function) { play(callback: Function) {
FYGE.Tween.get(this.upImage) FYGE.Tween.get(this)
.to({ scaleX: 1.8, scaleY: 1.8 }, 240) .to({scaleX: 0, scaleY: 0}, 240)
.call(() => { .call(() => {
callback(); callback();
}) });
} }
} }
const status2Cfg = [
{
"name": "fesRedCap",
"x": -7,
"y": -6,
"width": 251,
"height": 104
},
{
"name": "fesRedSmallLight",
"x": -7,
"y": -14,
"width": 249,
"height": 159
},
{
"name": "fesRedUp",
"x": -2,
"y": 52,
"width": 237,
"height": 185
},
{
"name": "fesRedDown",
"x": -2,
"y": 0,
"width": 237,
"height": 237
}
]
//第二种状态 //第二种状态
class Status2 extends FYGE.Container { class Status2 extends FYGE.Container {
light: FYGE.Sprite; light: FYGE.Sprite;
fesRedCap: FYGE.Sprite fesRedCap: FYGE.Sprite
constructor() { constructor() {
super(); super();
this.scaleX = this.scaleY = 0.29
for (var i = status2Cfg.length - 1; i >= 0; i--) { const down = new FYGE.Sprite(RES.getRes("fesRedDown.png"));
var bitmap = new FYGE.Sprite(RES.getRes(status2Cfg[i].name + ".png")); down.anchorTexture.set(0.5, 0.5);
bitmap.x = status2Cfg[i].x - 237 / 2; down.scale.set(0.31, 0.31);
bitmap.y = status2Cfg[i].y - 237 / 2; this.addChild(down);
this.addChild(bitmap);
if (status2Cfg[i].name == "fesRedSmallLight") { const up = this.addChild(Tools.getSprite('fesRedBombSta2.png'));
this.light = bitmap up.anchorTexture.set(0.5, 0.5);
} else if (status2Cfg[i].name == "fesRedCap") { up.scale.set(0.92, 0.92);
this.fesRedCap = bitmap;
} this.scale.set(0, 0);
}
} }
reset() {
this.fesRedCap.scaleY = 1;
this.light.alpha = 1;
FYGE.Tween.get(this.light, { loop: true })
.to({ alpha: 0 }, 450)
.to({ alpha: 1 }, 450)
reset() {
Tween.get(this)
.set({scaleX: 0, scaleY: 0})
.to({scaleX: 1, scaleY: 1}, 270, Ease.backOut);
} }
play(callback: Function) { play(callback: Function) {
this.light.alpha = 0; Tween.get(this)
FYGE.Tween.removeTweens(this.light); .to({scaleX: 0, scaleY: 0}, 270, Ease.backOut)
this.fesRedCap.scaleY = 1;
FYGE.Tween.get(this.fesRedCap)
.to({ scaleY: 0.1 }, 180)
.call(() => { .call(() => {
callback(); callback();
}) });
} }
} }
const status3Cfg = [
{
"name": "fesRedUp",
"x": 0,
"y": 52,
"width": 237,
"height": 185
},
{
"name": "tinyRedMid",
"x": 86,
"y": 60,
"width": 74,
"height": 90
},
{
"name": "tinyRedLeft",
"x": 22,
"y": 5,
"width": 116,
"height": 132
},
{
"name": "tinyRedRight",
"x": 123,
"y": 14,
"width": 89,
"height": 106
},
{
"name": "fesRedDown",
"x": 0,
"y": 0,
"width": 237,
"height": 237
}
]
class Status3 extends FYGE.Container { class Status3 extends FYGE.Container {
midRed: FYGE.Sprite;
leftRed: FYGE.Sprite; private ani1: FrameAni;
rightRed: FYGE.Sprite; private timeOut = null;
constructor() { constructor() {
super(); super();
this.scaleX = this.scaleY = 0.29
for (var i = status3Cfg.length - 1; i >= 0; i--) { const down = new FYGE.Sprite(RES.getRes("fesRedDown.png"));
var config = status3Cfg[i]; down.anchorTexture.set(0.5, 0.5);
var bitmap = new FYGE.Sprite(RES.getRes(config.name + ".png")); down.scale.set(0.31, 0.31);
bitmap.x = config.x - 237 / 2; this.addChild(down);
bitmap.y = config.y - 237 / 2;
this.addChild(bitmap); const ani1Texture: Texture[] = [];
if (config.name == "tinyRedMid") { for (let i = 0; i < 14; i++) {
this.midRed = bitmap; ani1Texture.push(RES.getRes(`fesRedBombSta3_${i}.png`));
} else if (config.name == "tinyRedLeft") {
this.leftRed = bitmap;
} else if (config.name == "tinyRedRight") {
this.rightRed = bitmap;
}
} }
this.ani1 = this.addChild(new FrameAni(ani1Texture));
this.scale.set(0, 0);
} }
reset() {
FYGE.Tween.removeTweens(this.leftRed);
FYGE.Tween.removeTweens(this.rightRed);
FYGE.Tween.removeTweens(this.midRed);
var offset = 237 / 2
//动画出来,然后循环
this.leftRed.x = 22 + 40 - offset;
this.leftRed.y = 5 + 100 - offset;
FYGE.Tween.get(this.leftRed)
.to({ x: 22 - 3 - offset, y: 5 - 8 - offset }, 150)
.to({ x: 22 - offset, y: 5 - offset }, 50)
this.rightRed.x = 123 - 7 - offset; playCall() {
this.rightRed.y = 14 + 100 - offset; this.timeOut = setTimeout(() => {
FYGE.Tween.get(this.rightRed) this.ani1.play(1, () => {
.to({ x: 123 + 3 - offset, y: 14 - 8 - offset }, 150) this.playCall();
.to({ x: 123 - offset, y: 14 - offset }, 50) });
}, 1200);
}
this.midRed.x = 86 - 7 - offset; reset() {
this.midRed.y = 60 + 80 - offset; Tween.get(this)
FYGE.Tween.get(this.midRed) .set({scaleX: 0, scaleY: 0})
.to({ x: 86 + 3 - offset, y: 60 - 8 - offset }, 150) .to({scaleX: 1, scaleY: 1}, 270, Ease.backOut)
.to({ x: 86 - offset, y: 60 - offset }, 50)
.call(() => { .call(() => {
//循环动画 this.playCall();
this.leftRed.x = 22 - offset; });
this.leftRed.y = 5 - offset;
FYGE.Tween.get(this.leftRed, { loop: true })
.to({ x: 22 + 2 - offset, y: 5 + 5 - offset }, 150)
.to({ x: 22 - 6 - offset, y: 5 - 14 - offset }, 150)
.to({ x: 22 - offset, y: 5 - offset }, 100)
.wait(500);
this.rightRed.x = 123 - offset;
this.rightRed.y = 14 - offset;
FYGE.Tween.get(this.rightRed, { loop: true })
.to({ x: 123 - 2 - offset, y: 14 + 5 - offset }, 150)
.to({ x: 123 + 6 - offset, y: 14 - 14 - offset }, 150)
.to({ x: 123 - offset, y: 14 - offset }, 100)
.wait(500);
this.midRed.x = 86 - offset;
this.midRed.y = 60 - offset;
FYGE.Tween.get(this.midRed, { loop: true })
.to({ x: 86 - 2 - offset, y: 60 + 5 - offset }, 150)
.to({ x: 86 + 6 - offset, y: 60 - 14 - offset }, 150)
.to({ x: 86 - offset, y: 60 - offset }, 100)
.wait(500);
})
} }
play(callback: Function) {
play(callback: Function) {
} }
} }
...@@ -72,7 +72,7 @@ export class AiControl { ...@@ -72,7 +72,7 @@ export class AiControl {
* 是否有毛球, * 是否有毛球,
* 是否有变色气泡, * 是否有变色气泡,
* 必须在初始化元素后执行,每关进入游戏都会初始化 * 必须在初始化元素后执行,每关进入游戏都会初始化
* @param lattices * @param lattices
*/ */
init(lattices: Lattice[]) { init(lattices: Lattice[]) {
this.hasJelly = judgeJellyExist(lattices); this.hasJelly = judgeJellyExist(lattices);
...@@ -247,7 +247,7 @@ export class AiControl { ...@@ -247,7 +247,7 @@ export class AiControl {
//还原为索引 //还原为索引
for (var i = 0; i < six.length; i++) six[i] = six[i].index; for (var i = 0; i < six.length; i++) six[i] = six[i].index;
//动画 //动画
thisObj.redBombLightAni(index, () => { thisObj.redBombLightAni(index, (node) => {
let count = 0; let count = 0;
let countAll = six.length; let countAll = six.length;
for (let a = 0; a < six.length; a++) { for (let a = 0; a < six.length; a++) {
...@@ -266,6 +266,7 @@ export class AiControl { ...@@ -266,6 +266,7 @@ export class AiControl {
thisObj.fall(() => { thisObj.fall(() => {
thisObj.fallCallback(); thisObj.fallCallback();
}); });
thisObj.removeChild(node);
// callback(); // callback();
} }
}) })
...@@ -352,8 +353,8 @@ export class AiControl { ...@@ -352,8 +353,8 @@ export class AiControl {
/** /**
* 鸡蛋得孵化逻辑 * 鸡蛋得孵化逻辑
* 与果冻不同,需要执行一次threeMatch,如无再执行callback,否则执行eleminate * 与果冻不同,需要执行一次threeMatch,如无再执行callback,否则执行eleminate
* @param thisObj * @param thisObj
* @param callback * @param callback
*/ */
eggMotion(thisObj: PlayScene, callback: Function) { eggMotion(thisObj: PlayScene, callback: Function) {
//无蛋,直接回调 //无蛋,直接回调
...@@ -439,9 +440,9 @@ export class AiControl { ...@@ -439,9 +440,9 @@ export class AiControl {
/** /**
* 变色气泡 * 变色气泡
* *
* @param thisObj * @param thisObj
* @param callback * @param callback
*/ */
bubbleMotion(thisObj: PlayScene, callback: Function) { bubbleMotion(thisObj: PlayScene, callback: Function) {
//无气泡,直接回调,气泡能生成,不能直接判断 //无气泡,直接回调,气泡能生成,不能直接判断
...@@ -505,8 +506,8 @@ export class AiControl { ...@@ -505,8 +506,8 @@ export class AiControl {
/** /**
* 跳动,以及褐色毛球的分裂 * 跳动,以及褐色毛球的分裂
* 黑色毛球眩晕不执行跳动,不过结束后要重置为不眩晕状态,和callback同步执行 * 黑色毛球眩晕不执行跳动,不过结束后要重置为不眩晕状态,和callback同步执行
* @param thisObj * @param thisObj
* @param callback * @param callback
*/ */
hairballMotion(thisObj: PlayScene, callback: Function) { hairballMotion(thisObj: PlayScene, callback: Function) {
//没有毛球。直接回调 //没有毛球。直接回调
...@@ -698,7 +699,7 @@ export class AiControl { ...@@ -698,7 +699,7 @@ export class AiControl {
/** /**
* 判断果冻是否存在 * 判断果冻是否存在
* @param lattices * @param lattices
* @return false表示不存在,true表示存在 * @return false表示不存在,true表示存在
*/ */
function judgeJellyExist(lattices: Lattice[]) { function judgeJellyExist(lattices: Lattice[]) {
...@@ -712,7 +713,7 @@ function judgeJellyExist(lattices: Lattice[]) { ...@@ -712,7 +713,7 @@ function judgeJellyExist(lattices: Lattice[]) {
} }
/** /**
* 判断毛球是否存在,甭管什么毛球 * 判断毛球是否存在,甭管什么毛球
* @param lattices * @param lattices
*/ */
function judgeHairballExist(lattices: Lattice[]) { function judgeHairballExist(lattices: Lattice[]) {
for (var i = 0; i < lattices.length; i++) { for (var i = 0; i < lattices.length; i++) {
...@@ -741,7 +742,7 @@ function judgeFesEleBigExist(lattices: Lattice[]) { ...@@ -741,7 +742,7 @@ function judgeFesEleBigExist(lattices: Lattice[]) {
/** /**
* 判断气泡是否存在,废弃了,气泡会再生,提前判断无意义 * 判断气泡是否存在,废弃了,气泡会再生,提前判断无意义
* @param lattices * @param lattices
*/ */
function judgeBubbleExist(lattices: Lattice[]) { function judgeBubbleExist(lattices: Lattice[]) {
for (var i = 0; i < lattices.length; i++) { for (var i = 0; i < lattices.length; i++) {
...@@ -753,8 +754,8 @@ function judgeBubbleExist(lattices: Lattice[]) { ...@@ -753,8 +754,8 @@ function judgeBubbleExist(lattices: Lattice[]) {
} }
/** /**
* 获取所有鸡蛋的索引 * 获取所有鸡蛋的索引
* @param lattices * @param lattices
* @return * @return
*/ */
function getEggs(lattices: Lattice[]) { function getEggs(lattices: Lattice[]) {
var arr = []; var arr = [];
...@@ -771,8 +772,8 @@ function getEggs(lattices: Lattice[]) { ...@@ -771,8 +772,8 @@ function getEggs(lattices: Lattice[]) {
} }
/** /**
* 获取所有石门的索引 * 获取所有石门的索引
* @param lattices * @param lattices
* @return * @return
*/ */
function getDoors(lattices: Lattice[]): number[] { function getDoors(lattices: Lattice[]): number[] {
var arr: number[] = []; var arr: number[] = [];
...@@ -791,10 +792,10 @@ function getDoors(lattices: Lattice[]): number[] { ...@@ -791,10 +792,10 @@ function getDoors(lattices: Lattice[]): number[] {
* 判断可蔓延的方向,并返回蔓延终点的格子索引 * 判断可蔓延的方向,并返回蔓延终点的格子索引
* 判断可分裂的方向,并返回分裂终点的格子索引 * 判断可分裂的方向,并返回分裂终点的格子索引
* 判断可跳动的方向,并返回跳动终点的格子索引 * 判断可跳动的方向,并返回跳动终点的格子索引
* *
* 4个方向随机, * 4个方向随机,
* 得是基础元素,且无任何状态,可以有特效,且石门非关闭 * 得是基础元素,且无任何状态,可以有特效,且石门非关闭
* @param index * @param index
* @return 没有返回null,注意判断时可能有0 * @return 没有返回null,注意判断时可能有0
*/ */
function judgeActionIndex(index: number, lattices: Lattice[]): number { function judgeActionIndex(index: number, lattices: Lattice[]): number {
......
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