Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
xiaoxiaole
Commits
18601d69
Commit
18601d69
authored
Feb 09, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ba185f36
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
80 additions
and
13 deletions
+80
-13
main2.tmproject
egret/resource/TextureMerger/main2.tmproject
+1
-1
monsterState.json
egret/resource/assets/mc/monsterState.json
+16
-0
monsterState.png
egret/resource/assets/mc/monsterState.png
+0
-0
default.res.json
egret/resource/default.res.json
+10
-0
MyExmlPlugin.ts
egret/scripts/MyExmlPlugin.ts
+1
-0
createMonsterStatusAni.ts
egret/src/effect/createMonsterStatusAni.ts
+25
-0
doMonsterAI.ts
egret/src/mainScene/doMonsterAI.ts
+8
-2
MapScene.ts
egret/src/mapScene/MapScene.ts
+2
-1
MonsterShootAni.ts
egret/src/something/anis/MonsterShootAni.ts
+2
-4
Monster.ts
egret/src/something/class/Monster.ts
+15
-5
No files found.
egret/resource/TextureMerger/main2.tmproject
View file @
18601d69
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"main2","version":5,"files":["../assets/mainScene/bonusFra1.png","../assets/mainScene/bonusFra10.png","../assets/mainScene/bonusFra11.png","../assets/mainScene/bonusFra12.png","../assets/mainScene/bonusFra13.png","../assets/mainScene/bonusFra14.png","../assets/mainScene/bonusFra15.png","../assets/mainScene/bonusFra16.png","../assets/mainScene/bonusFra17.png","../assets/mainScene/bonusFra18.png","../assets/mainScene/bonusFra19.png","../assets/mainScene/bonusFra2.png","../assets/mainScene/bonusFra20.png","../assets/mainScene/bonusFra21.png","../assets/mainScene/bonusFra22.png","../assets/mainScene/bonusFra23.png","../assets/mainScene/bonusFra24.png","../assets/mainScene/bonusFra25.png","../assets/mainScene/bonusFra26.png","../assets/mainScene/bonusFra27.png","../assets/mainScene/bonusFra3.png","../assets/mainScene/bonusFra4.png","../assets/mainScene/bonusFra5.png","../assets/mainScene/bonusFra6.png","../assets/mainScene/bonusFra7.png","../assets/mainScene/bonusFra8.png","../assets/mainScene/bonusFra9.png","../assets/mainScene/bonusShoot.png","../assets/mainScene/bonusTime.png","../assets/mainScene/boom1.png","../assets/mainScene/boom10.png","../assets/mainScene/boom11.png","../assets/mainScene/boom12.png","../assets/mainScene/boom13.png","../assets/mainScene/boom14.png","../assets/mainScene/boom15.png","../assets/mainScene/boom16.png","../assets/mainScene/boom17.png","../assets/mainScene/boom18.png","../assets/mainScene/boom2.png","../assets/mainScene/boom3.png","../assets/mainScene/boom4.png","../assets/mainScene/boom5.png","../assets/mainScene/boom6.png","../assets/mainScene/boom7.png","../assets/mainScene/boom8.png","../assets/mainScene/boom9.png","../assets/mainScene/boomBtn.png","../assets/mainScene/chooseRect.png","../assets/mainScene/dangqianfenshu.png","../assets/mainScene/eggPiece1.png","../assets/mainScene/eggPiece2.png","../assets/mainScene/eggPiece3.png","../assets/mainScene/eggPiece4.png","../assets/mainScene/eggPiece5.png","../assets/mainScene/eggStatus0.png","../assets/mainScene/eggStatus1.png","../assets/mainScene/eggStatus2.png","../assets/mainScene/ele0.png","../assets/mainScene/ele0Exp.png","../assets/mainScene/ele0Line.png","../assets/mainScene/ele1.png","../assets/mainScene/ele1Exp.png","../assets/mainScene/ele1Line.png","../assets/mainScene/ele2.png","../assets/mainScene/ele2Exp.png","../assets/mainScene/ele2Line.png","../assets/mainScene/ele3.png","../assets/mainScene/ele3Exp.png","../assets/mainScene/ele3Line.png","../assets/mainScene/ele4.png","../assets/mainScene/ele4Exp.png","../assets/mainScene/ele4Line.png","../assets/mainScene/ele5.png","../assets/mainScene/ele6.png","../assets/mainScene/ele7.png","../assets/mainScene/ele8.png","../assets/mainScene/ele9.png","../assets/mainScene/eleDis1.png","../assets/mainScene/eleDis10.png","../assets/mainScene/eleDis11.png","../assets/mainScene/eleDis12.png","../assets/mainScene/eleDis13.png","../assets/mainScene/eleDis14.png","../assets/mainScene/eleDis15.png","../assets/mainScene/eleDis16.png","../assets/mainScene/eleDis17.png","../assets/mainScene/eleDis18.png","../assets/mainScene/eleDis19.png","../assets/mainScene/eleDis2.png","../assets/mainScene/eleDis3.png","../assets/mainScene/eleDis4.png","../assets/mainScene/eleDis5.png","../assets/mainScene/eleDis6.png","../assets/mainScene/eleDis7.png","../assets/mainScene/eleDis8.png","../assets/mainScene/eleDis9.png","../assets/mainScene/exLighting1.png","../assets/mainScene/exLighting11.png","../assets/mainScene/exLighting14.png","../assets/mainScene/exLighting16.png","../assets/mainScene/exLighting18.png","../assets/mainScene/exLighting19.png","../assets/mainScene/exLighting21.png","../assets/mainScene/exLighting23.png","../assets/mainScene/exLighting25.png","../assets/mainScene/exLighting27.png","../assets/mainScene/exLighting29.png","../assets/mainScene/exLighting3.png","../assets/mainScene/exLighting32.png","../assets/mainScene/exLighting34.png","../assets/mainScene/exLighting5.png","../assets/mainScene/exLighting7.png","../assets/mainScene/exLighting9.png","../assets/mainScene/greenCircleDown.png","../assets/mainScene/greenCircleUp.png","../assets/mainScene/guidePropBoom.png","../assets/mainScene/guidePropCow.png","../assets/mainScene/guidePropHammer.png","../assets/mainScene/guidePropHand.png","../assets/mainScene/guidePropMsgPanel.png","../assets/mainScene/guidePropShoe.png","../assets/mainScene/hammerBtn.png","../assets/mainScene/ice2.png","../assets/mainScene/ice3.png","../assets/mainScene/ice4.png","../assets/mainScene/ice5.png","../assets/mainScene/ice6.png","../assets/mainScene/jellyArrow.png","../assets/mainScene/leftArrow.png","../assets/mainScene/lightedStar.png","../assets/mainScene/lineLight.png","../assets/mainScene/lockVine.png","../assets/mainScene/magicLion.png","../assets/mainScene/magicLionBg.png","../assets/mainScene/mainMusicBtnOff.png","../assets/mainScene/mainMusicBtnOn.png","../assets/mainScene/mainQuestionBtn.png","../assets/mainScene/mainQuitBtn.png","../assets/mainScene/mainSettingBg.png","../assets/mainScene/mainSoundBtnOff.png","../assets/mainScene/mainSoundBtnOn.png","../assets/mainScene/main_mapbottom.png","../assets/mainScene/progressDown.png","../assets/mainScene/propNum0.png","../assets/mainScene/propNum1.png","../assets/mainScene/propNum2.png","../assets/mainScene/propNum3.png","../assets/mainScene/propNum4.png","../assets/mainScene/propNum5.png","../assets/mainScene/propNum6.png","../assets/mainScene/propNum7.png","../assets/mainScene/propNum8.png","../assets/mainScene/propNum9.png","../assets/mainScene/propNumBg.png","../assets/mainScene/rectLat.png","../assets/mainScene/rightArrow.png","../assets/mainScene/rightMark.png","../assets/mainScene/rock2.png","../assets/mainScene/rock3.png","../assets/mainScene/rock4.png","../assets/mainScene/rock5.png","../assets/mainScene/rock6.png","../assets/mainScene/scoreNumber0.png","../assets/mainScene/scoreNumber1.png","../assets/mainScene/scoreNumber2.png","../assets/mainScene/scoreNumber3.png","../assets/mainScene/scoreNumber4.png","../assets/mainScene/scoreNumber5.png","../assets/mainScene/scoreNumber6.png","../assets/mainScene/scoreNumber7.png","../assets/mainScene/scoreNumber8.png","../assets/mainScene/scoreNumber9.png","../assets/mainScene/setting.png","../assets/mainScene/starProgress.png","../assets/mainScene/stepAni1.png","../assets/mainScene/stepAni10.png","../assets/mainScene/stepAni11.png","../assets/mainScene/stepAni2.png","../assets/mainScene/stepAni3.png","../assets/mainScene/stepAni4.png","../assets/mainScene/stepAni5.png","../assets/mainScene/stepAni6.png","../assets/mainScene/stepAni7.png","../assets/mainScene/stepAni8.png","../assets/mainScene/stepAni9.png","../assets/mainScene/stepBtn.png","../assets/mainScene/stepNumber0.png","../assets/mainScene/stepNumber1.png","../assets/mainScene/stepNumber2.png","../assets/mainScene/stepNumber3.png","../assets/mainScene/stepNumber4.png","../assets/mainScene/stepNumber5.png","../assets/mainScene/stepNumber6.png","../assets/mainScene/stepNumber7.png","../assets/mainScene/stepNumber8.png","../assets/mainScene/stepNumber9.png","../assets/mainScene/stepsBoard.png","../assets/mainScene/targetBoard.png","../assets/mainScene/targetNumber0.png","../assets/mainScene/targetNumber1.png","../assets/mainScene/targetNumber2.png","../assets/mainScene/targetNumber3.png","../assets/mainScene/targetNumber4.png","../assets/mainScene/targetNumber5.png","../assets/mainScene/targetNumber6.png","../assets/mainScene/targetNumber7.png","../assets/mainScene/targetNumber8.png","../assets/mainScene/targetNumber9.png","../assets/mainScene/unlightedStar.png","../assets/mainScene/yellowCircleDown.png","../assets/mainScene/yellowCircleUp.png","../assets/mainScene/yezi1.png","../assets/mainScene/bubbleStar19.png","../assets/mainScene/bubleEle0.png","../assets/mainScene/bubleEle1.png","../assets/mainScene/bubleEle2.png","../assets/mainScene/bubleEle3.png","../assets/mainScene/bubleEle4.png","../assets/mainScene/bubbleStar1.png","../assets/mainScene/bubbleStar2.png","../assets/mainScene/bubbleStar3.png","../assets/mainScene/bubbleStar4.png","../assets/mainScene/bubbleStar5.png","../assets/mainScene/bubbleStar6.png","../assets/mainScene/bubbleStar7.png","../assets/mainScene/bubbleStar8.png","../assets/mainScene/bubbleStar9.png","../assets/mainScene/bubbleStar10.png","../assets/mainScene/bubbleStar11.png","../assets/mainScene/bubbleStar12.png","../assets/mainScene/bubbleStar13.png","../assets/mainScene/bubbleStar14.png","../assets/mainScene/bubbleStar15.png","../assets/mainScene/bubbleStar16.png","../assets/mainScene/bubbleStar17.png","../assets/mainScene/bubbleStar18.png","../assets/mainScene/ele11.png","../assets/mainScene/ele10.png","../assets/mainScene/brownBallFace.png","../assets/mainScene/eyeDownLeft.png","../assets/mainScene/eyeSingle.png","../assets/mainScene/greyBallFace.png","../assets/mainScene/eyeDownRight.png","../assets/mainScene/hairballPiece9.png","../assets/mainScene/hairballPiece8.png","../assets/mainScene/hairballPiece7.png","../assets/mainScene/hairballPiece6.png","../assets/mainScene/hairballPiece5.png","../assets/mainScene/hairballPiece4.png","../assets/mainScene/hairballPiece3.png","../assets/mainScene/hairballPiece2.png","../assets/mainScene/hairballPiece11.png","../assets/mainScene/hairballPiece10.png","../assets/mainScene/hairballPiece1.png","../assets/mainScene/hairballDisBg.png","../assets/mainScene/curScoreNum9.png","../assets/mainScene/curScoreNum8.png","../assets/mainScene/curScoreNum7.png","../assets/mainScene/curScoreNum6.png","../assets/mainScene/curScoreNum5.png","../assets/mainScene/curScoreNum4.png","../assets/mainScene/curScoreNum3.png","../assets/mainScene/curScoreNum2.png","../assets/mainScene/curScoreNum1.png","../assets/mainScene/curScoreNum0.png","../assets/mainScene/festivalTargetBg.png","../assets/mainScene/lineLight9.png","../assets/mainScene/lineLight8.png","../assets/mainScene/lineLight7.png","../assets/mainScene/lineLight6.png","../assets/mainScene/lineLight5.png","../assets/mainScene/lineLight4.png","../assets/mainScene/lineLight3.png","../assets/mainScene/lineLight2.png","../assets/mainScene/lineLight13.png","../assets/mainScene/lineLight12.png","../assets/mainScene/lineLight11.png","../assets/mainScene/lineLight10.png","../assets/mainScene/lineLight1.png","../assets/mainScene/fesRedUp.png","../assets/mainScene/fesRedSmallLight.png","../assets/mainScene/fesRedDown.png","../assets/mainScene/fesRedCap.png","../assets/mainScene/fesRedBombSta1.png","../assets/mainScene/fesRedBigLight.png","../assets/mainScene/fesEleSmallDis9.png","../assets/mainScene/fesEleSmallDis8.png","../assets/mainScene/fesEleSmallDis7.png","../assets/mainScene/fesEleSmallDis6.png","../assets/mainScene/fesEleSmallDis5.png","../assets/mainScene/fesEleSmallDis4.png","../assets/mainScene/fesEleSmallDis3.png","../assets/mainScene/fesEleSmallDis2.png","../assets/mainScene/fesEleSmallDis10.png","../assets/mainScene/fesEleSmallDis1.png","../assets/mainScene/ele12.png","../assets/mainScene/ele13.png","../assets/mainScene/xingxingbi.png","../assets/mainScene/tinyRedMid.png","../assets/mainScene/tinyRedLeft.png","../assets/mainScene/tinyRedRight.png","../assets/mainScene/rectLatWhite.png","../assets/mainScene/fesRedBombSta2.png","../assets/mainScene/ele14.png","../assets/mainScene/redBombYStar.png","../assets/mainScene/redBombBStar.png","../assets/mainScene/redBombBSnow.png","../assets/mainScene/线条尾部炸开_00000.png","../assets/mainScene/线条尾部炸开_00001.png","../assets/mainScene/线条尾部炸开_00002.png","../assets/mainScene/线条尾部炸开_00003.png","../assets/mainScene/线条尾部炸开_00004.png","../assets/mainScene/线条尾部炸开_00005.png","../assets/mainScene/线条尾部炸开_00006.png","../assets/mainScene/线条尾部炸开_00007.png","../assets/mainScene/线条尾部炸开_00008.png","../assets/mainScene/ele15.png","../assets/mainScene/ele16.png","../assets/mainScene/ele17.png","../assets/mainScene/ele18.png","../assets/mainScene/ele19.png","../assets/mainScene/ele20.png","../assets/mainScene/empty.png","../assets/mainScene/ele23.png","../assets/mainScene/ele25.png","../assets/mainScene/ele27.png","../assets/mainScene/ele26.png","../assets/mainScene/ele24.png","../assets/mainScene/ele22.png","../assets/mainScene/chocolateMark3.png","../assets/mainScene/chocolateMark1.png","../assets/mainScene/chocolateFour.png","../assets/mainScene/chocolateMark0.png","../assets/mainScene/chocolateMark2.png"]}
\ No newline at end of file
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"main2","version":5,"files":["../assets/mainScene/bonusFra1.png","../assets/mainScene/bonusFra10.png","../assets/mainScene/bonusFra11.png","../assets/mainScene/bonusFra12.png","../assets/mainScene/bonusFra13.png","../assets/mainScene/bonusFra14.png","../assets/mainScene/bonusFra15.png","../assets/mainScene/bonusFra16.png","../assets/mainScene/bonusFra17.png","../assets/mainScene/bonusFra18.png","../assets/mainScene/bonusFra19.png","../assets/mainScene/bonusFra2.png","../assets/mainScene/bonusFra20.png","../assets/mainScene/bonusFra21.png","../assets/mainScene/bonusFra22.png","../assets/mainScene/bonusFra23.png","../assets/mainScene/bonusFra24.png","../assets/mainScene/bonusFra25.png","../assets/mainScene/bonusFra26.png","../assets/mainScene/bonusFra27.png","../assets/mainScene/bonusFra3.png","../assets/mainScene/bonusFra4.png","../assets/mainScene/bonusFra5.png","../assets/mainScene/bonusFra6.png","../assets/mainScene/bonusFra7.png","../assets/mainScene/bonusFra8.png","../assets/mainScene/bonusFra9.png","../assets/mainScene/bonusShoot.png","../assets/mainScene/bonusTime.png","../assets/mainScene/boom1.png","../assets/mainScene/boom10.png","../assets/mainScene/boom11.png","../assets/mainScene/boom12.png","../assets/mainScene/boom13.png","../assets/mainScene/boom14.png","../assets/mainScene/boom15.png","../assets/mainScene/boom16.png","../assets/mainScene/boom17.png","../assets/mainScene/boom18.png","../assets/mainScene/boom2.png","../assets/mainScene/boom3.png","../assets/mainScene/boom4.png","../assets/mainScene/boom5.png","../assets/mainScene/boom6.png","../assets/mainScene/boom7.png","../assets/mainScene/boom8.png","../assets/mainScene/boom9.png","../assets/mainScene/boomBtn.png","../assets/mainScene/chooseRect.png","../assets/mainScene/dangqianfenshu.png","../assets/mainScene/eggPiece1.png","../assets/mainScene/eggPiece2.png","../assets/mainScene/eggPiece3.png","../assets/mainScene/eggPiece4.png","../assets/mainScene/eggPiece5.png","../assets/mainScene/eggStatus0.png","../assets/mainScene/eggStatus1.png","../assets/mainScene/eggStatus2.png","../assets/mainScene/ele0.png","../assets/mainScene/ele0Exp.png","../assets/mainScene/ele0Line.png","../assets/mainScene/ele1.png","../assets/mainScene/ele1Exp.png","../assets/mainScene/ele1Line.png","../assets/mainScene/ele2.png","../assets/mainScene/ele2Exp.png","../assets/mainScene/ele2Line.png","../assets/mainScene/ele3.png","../assets/mainScene/ele3Exp.png","../assets/mainScene/ele3Line.png","../assets/mainScene/ele4.png","../assets/mainScene/ele4Exp.png","../assets/mainScene/ele4Line.png","../assets/mainScene/ele5.png","../assets/mainScene/ele6.png","../assets/mainScene/ele7.png","../assets/mainScene/ele8.png","../assets/mainScene/ele9.png","../assets/mainScene/eleDis1.png","../assets/mainScene/eleDis10.png","../assets/mainScene/eleDis11.png","../assets/mainScene/eleDis12.png","../assets/mainScene/eleDis13.png","../assets/mainScene/eleDis14.png","../assets/mainScene/eleDis15.png","../assets/mainScene/eleDis16.png","../assets/mainScene/eleDis17.png","../assets/mainScene/eleDis18.png","../assets/mainScene/eleDis19.png","../assets/mainScene/eleDis2.png","../assets/mainScene/eleDis3.png","../assets/mainScene/eleDis4.png","../assets/mainScene/eleDis5.png","../assets/mainScene/eleDis6.png","../assets/mainScene/eleDis7.png","../assets/mainScene/eleDis8.png","../assets/mainScene/eleDis9.png","../assets/mainScene/exLighting1.png","../assets/mainScene/exLighting11.png","../assets/mainScene/exLighting14.png","../assets/mainScene/exLighting16.png","../assets/mainScene/exLighting18.png","../assets/mainScene/exLighting19.png","../assets/mainScene/exLighting21.png","../assets/mainScene/exLighting23.png","../assets/mainScene/exLighting25.png","../assets/mainScene/exLighting27.png","../assets/mainScene/exLighting29.png","../assets/mainScene/exLighting3.png","../assets/mainScene/exLighting32.png","../assets/mainScene/exLighting34.png","../assets/mainScene/exLighting5.png","../assets/mainScene/exLighting7.png","../assets/mainScene/exLighting9.png","../assets/mainScene/greenCircleDown.png","../assets/mainScene/greenCircleUp.png","../assets/mainScene/guidePropBoom.png","../assets/mainScene/guidePropCow.png","../assets/mainScene/guidePropHammer.png","../assets/mainScene/guidePropHand.png","../assets/mainScene/guidePropMsgPanel.png","../assets/mainScene/guidePropShoe.png","../assets/mainScene/hammerBtn.png","../assets/mainScene/ice2.png","../assets/mainScene/ice3.png","../assets/mainScene/ice4.png","../assets/mainScene/ice5.png","../assets/mainScene/ice6.png","../assets/mainScene/jellyArrow.png","../assets/mainScene/leftArrow.png","../assets/mainScene/lightedStar.png","../assets/mainScene/lineLight.png","../assets/mainScene/lockVine.png","../assets/mainScene/magicLion.png","../assets/mainScene/magicLionBg.png","../assets/mainScene/mainMusicBtnOff.png","../assets/mainScene/mainMusicBtnOn.png","../assets/mainScene/mainQuestionBtn.png","../assets/mainScene/mainQuitBtn.png","../assets/mainScene/mainSettingBg.png","../assets/mainScene/mainSoundBtnOff.png","../assets/mainScene/mainSoundBtnOn.png","../assets/mainScene/main_mapbottom.png","../assets/mainScene/progressDown.png","../assets/mainScene/propNum0.png","../assets/mainScene/propNum1.png","../assets/mainScene/propNum2.png","../assets/mainScene/propNum3.png","../assets/mainScene/propNum4.png","../assets/mainScene/propNum5.png","../assets/mainScene/propNum6.png","../assets/mainScene/propNum7.png","../assets/mainScene/propNum8.png","../assets/mainScene/propNum9.png","../assets/mainScene/propNumBg.png","../assets/mainScene/rectLat.png","../assets/mainScene/rightArrow.png","../assets/mainScene/rightMark.png","../assets/mainScene/rock2.png","../assets/mainScene/rock3.png","../assets/mainScene/rock4.png","../assets/mainScene/rock5.png","../assets/mainScene/rock6.png","../assets/mainScene/scoreNumber0.png","../assets/mainScene/scoreNumber1.png","../assets/mainScene/scoreNumber2.png","../assets/mainScene/scoreNumber3.png","../assets/mainScene/scoreNumber4.png","../assets/mainScene/scoreNumber5.png","../assets/mainScene/scoreNumber6.png","../assets/mainScene/scoreNumber7.png","../assets/mainScene/scoreNumber8.png","../assets/mainScene/scoreNumber9.png","../assets/mainScene/setting.png","../assets/mainScene/starProgress.png","../assets/mainScene/stepAni1.png","../assets/mainScene/stepAni10.png","../assets/mainScene/stepAni11.png","../assets/mainScene/stepAni2.png","../assets/mainScene/stepAni3.png","../assets/mainScene/stepAni4.png","../assets/mainScene/stepAni5.png","../assets/mainScene/stepAni6.png","../assets/mainScene/stepAni7.png","../assets/mainScene/stepAni8.png","../assets/mainScene/stepAni9.png","../assets/mainScene/stepBtn.png","../assets/mainScene/stepNumber0.png","../assets/mainScene/stepNumber1.png","../assets/mainScene/stepNumber2.png","../assets/mainScene/stepNumber3.png","../assets/mainScene/stepNumber4.png","../assets/mainScene/stepNumber5.png","../assets/mainScene/stepNumber6.png","../assets/mainScene/stepNumber7.png","../assets/mainScene/stepNumber8.png","../assets/mainScene/stepNumber9.png","../assets/mainScene/stepsBoard.png","../assets/mainScene/targetBoard.png","../assets/mainScene/targetNumber0.png","../assets/mainScene/targetNumber1.png","../assets/mainScene/targetNumber2.png","../assets/mainScene/targetNumber3.png","../assets/mainScene/targetNumber4.png","../assets/mainScene/targetNumber5.png","../assets/mainScene/targetNumber6.png","../assets/mainScene/targetNumber7.png","../assets/mainScene/targetNumber8.png","../assets/mainScene/targetNumber9.png","../assets/mainScene/unlightedStar.png","../assets/mainScene/yellowCircleDown.png","../assets/mainScene/yellowCircleUp.png","../assets/mainScene/yezi1.png","../assets/mainScene/bubbleStar19.png","../assets/mainScene/bubleEle0.png","../assets/mainScene/bubleEle1.png","../assets/mainScene/bubleEle2.png","../assets/mainScene/bubleEle3.png","../assets/mainScene/bubleEle4.png","../assets/mainScene/bubbleStar1.png","../assets/mainScene/bubbleStar2.png","../assets/mainScene/bubbleStar3.png","../assets/mainScene/bubbleStar4.png","../assets/mainScene/bubbleStar5.png","../assets/mainScene/bubbleStar6.png","../assets/mainScene/bubbleStar7.png","../assets/mainScene/bubbleStar8.png","../assets/mainScene/bubbleStar9.png","../assets/mainScene/bubbleStar10.png","../assets/mainScene/bubbleStar11.png","../assets/mainScene/bubbleStar12.png","../assets/mainScene/bubbleStar13.png","../assets/mainScene/bubbleStar14.png","../assets/mainScene/bubbleStar15.png","../assets/mainScene/bubbleStar16.png","../assets/mainScene/bubbleStar17.png","../assets/mainScene/bubbleStar18.png","../assets/mainScene/ele11.png","../assets/mainScene/ele10.png","../assets/mainScene/brownBallFace.png","../assets/mainScene/eyeDownLeft.png","../assets/mainScene/eyeSingle.png","../assets/mainScene/greyBallFace.png","../assets/mainScene/eyeDownRight.png","../assets/mainScene/hairballPiece9.png","../assets/mainScene/hairballPiece8.png","../assets/mainScene/hairballPiece7.png","../assets/mainScene/hairballPiece6.png","../assets/mainScene/hairballPiece5.png","../assets/mainScene/hairballPiece4.png","../assets/mainScene/hairballPiece3.png","../assets/mainScene/hairballPiece2.png","../assets/mainScene/hairballPiece11.png","../assets/mainScene/hairballPiece10.png","../assets/mainScene/hairballPiece1.png","../assets/mainScene/hairballDisBg.png","../assets/mainScene/curScoreNum9.png","../assets/mainScene/curScoreNum8.png","../assets/mainScene/curScoreNum7.png","../assets/mainScene/curScoreNum6.png","../assets/mainScene/curScoreNum5.png","../assets/mainScene/curScoreNum4.png","../assets/mainScene/curScoreNum3.png","../assets/mainScene/curScoreNum2.png","../assets/mainScene/curScoreNum1.png","../assets/mainScene/curScoreNum0.png","../assets/mainScene/festivalTargetBg.png","../assets/mainScene/lineLight9.png","../assets/mainScene/lineLight8.png","../assets/mainScene/lineLight7.png","../assets/mainScene/lineLight6.png","../assets/mainScene/lineLight5.png","../assets/mainScene/lineLight4.png","../assets/mainScene/lineLight3.png","../assets/mainScene/lineLight2.png","../assets/mainScene/lineLight13.png","../assets/mainScene/lineLight12.png","../assets/mainScene/lineLight11.png","../assets/mainScene/lineLight10.png","../assets/mainScene/lineLight1.png","../assets/mainScene/fesRedUp.png","../assets/mainScene/fesRedSmallLight.png","../assets/mainScene/fesRedDown.png","../assets/mainScene/fesRedCap.png","../assets/mainScene/fesRedBombSta1.png","../assets/mainScene/fesRedBigLight.png","../assets/mainScene/fesEleSmallDis9.png","../assets/mainScene/fesEleSmallDis8.png","../assets/mainScene/fesEleSmallDis7.png","../assets/mainScene/fesEleSmallDis6.png","../assets/mainScene/fesEleSmallDis5.png","../assets/mainScene/fesEleSmallDis4.png","../assets/mainScene/fesEleSmallDis3.png","../assets/mainScene/fesEleSmallDis2.png","../assets/mainScene/fesEleSmallDis10.png","../assets/mainScene/fesEleSmallDis1.png","../assets/mainScene/ele12.png","../assets/mainScene/ele13.png","../assets/mainScene/xingxingbi.png","../assets/mainScene/tinyRedMid.png","../assets/mainScene/tinyRedLeft.png","../assets/mainScene/tinyRedRight.png","../assets/mainScene/rectLatWhite.png","../assets/mainScene/fesRedBombSta2.png","../assets/mainScene/ele14.png","../assets/mainScene/redBombYStar.png","../assets/mainScene/redBombBStar.png","../assets/mainScene/redBombBSnow.png","../assets/mainScene/线条尾部炸开_00000.png","../assets/mainScene/线条尾部炸开_00001.png","../assets/mainScene/线条尾部炸开_00002.png","../assets/mainScene/线条尾部炸开_00003.png","../assets/mainScene/线条尾部炸开_00004.png","../assets/mainScene/线条尾部炸开_00005.png","../assets/mainScene/线条尾部炸开_00006.png","../assets/mainScene/线条尾部炸开_00007.png","../assets/mainScene/线条尾部炸开_00008.png","../assets/mainScene/ele15.png","../assets/mainScene/ele16.png","../assets/mainScene/ele17.png","../assets/mainScene/ele18.png","../assets/mainScene/ele19.png","../assets/mainScene/ele20.png","../assets/mainScene/empty.png","../assets/mainScene/ele23.png","../assets/mainScene/ele25.png","../assets/mainScene/ele27.png","../assets/mainScene/ele26.png","../assets/mainScene/ele24.png","../assets/mainScene/ele22.png","../assets/mainScene/chocolateMark3.png","../assets/mainScene/chocolateMark1.png","../assets/mainScene/chocolateFour.png","../assets/mainScene/chocolateMark0.png","../assets/mainScene/chocolateMark2.png","../assets/mainScene/redbombParticle.png"]}
\ No newline at end of file
egret/resource/assets/mc/monsterState.json
0 → 100644
View file @
18601d69
{
"file"
:
"monsterState.png"
,
"frames"
:{
"糖果消失_00014"
:{
"x"
:
422
,
"y"
:
462
,
"w"
:
84
,
"h"
:
100
,
"offX"
:
56
,
"offY"
:
46
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00013"
:{
"x"
:
332
,
"y"
:
462
,
"w"
:
88
,
"h"
:
105
,
"offX"
:
55
,
"offY"
:
44
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00012"
:{
"x"
:
239
,
"y"
:
370
,
"w"
:
91
,
"h"
:
106
,
"offX"
:
54
,
"offY"
:
42
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00011"
:{
"x"
:
374
,
"y"
:
348
,
"w"
:
93
,
"h"
:
112
,
"offX"
:
52
,
"offY"
:
40
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00010"
:{
"x"
:
146
,
"y"
:
370
,
"w"
:
91
,
"h"
:
110
,
"offX"
:
53
,
"offY"
:
40
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00009"
:{
"x"
:
378
,
"y"
:
131
,
"w"
:
105
,
"h"
:
109
,
"offX"
:
53
,
"offY"
:
42
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00008"
:{
"x"
:
378
,
"y"
:
0
,
"w"
:
130
,
"h"
:
129
,
"offX"
:
41
,
"offY"
:
33
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00007"
:{
"x"
:
191
,
"y"
:
0
,
"w"
:
185
,
"h"
:
184
,
"offX"
:
14
,
"offY"
:
6
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00006"
:{
"x"
:
0
,
"y"
:
344
,
"w"
:
144
,
"h"
:
143
,
"offX"
:
34
,
"offY"
:
26
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00005"
:{
"x"
:
239
,
"y"
:
478
,
"w"
:
85
,
"h"
:
84
,
"offX"
:
63
,
"offY"
:
55
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00004"
:{
"x"
:
146
,
"y"
:
482
,
"w"
:
55
,
"h"
:
59
,
"offX"
:
73
,
"offY"
:
69
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00003"
:{
"x"
:
374
,
"y"
:
242
,
"w"
:
103
,
"h"
:
104
,
"offX"
:
49
,
"offY"
:
47
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00002"
:{
"x"
:
0
,
"y"
:
192
,
"w"
:
149
,
"h"
:
150
,
"offX"
:
26
,
"offY"
:
24
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00001"
:{
"x"
:
191
,
"y"
:
186
,
"w"
:
181
,
"h"
:
182
,
"offX"
:
10
,
"offY"
:
8
,
"sourceW"
:
200
,
"sourceH"
:
200
},
"糖果消失_00000"
:{
"x"
:
0
,
"y"
:
0
,
"w"
:
189
,
"h"
:
190
,
"offX"
:
6
,
"offY"
:
4
,
"sourceW"
:
200
,
"sourceH"
:
200
}}}
\ No newline at end of file
egret/resource/assets/mc/monsterState.png
0 → 100644
View file @
18601d69
155 KB
egret/resource/default.res.json
View file @
18601d69
...
...
@@ -231,6 +231,10 @@
{
"keys"
:
"backindex_png"
,
"name"
:
"backindex"
},
{
"name"
:
"preload"
,
"keys"
:
"monsterState_json"
}
],
"resources"
:
[
...
...
@@ -4467,6 +4471,12 @@
"url"
:
"assets/mainScene/monster_shoot.png"
,
"type"
:
"image"
,
"name"
:
"monster_shoot_png"
},
{
"name"
:
"monsterState_json"
,
"type"
:
"sheet"
,
"url"
:
"assets/mc/monsterState.json"
,
"subkeys"
:
"糖果消失_00014,糖果消失_00013,糖果消失_00012,糖果消失_00011,糖果消失_00010,糖果消失_00009,糖果消失_00008,糖果消失_00007,糖果消失_00006,糖果消失_00005,糖果消失_00004,糖果消失_00003,糖果消失_00002,糖果消失_00001,糖果消失_00000"
}
]
}
\ No newline at end of file
egret/scripts/MyExmlPlugin.ts
View file @
18601d69
...
...
@@ -9,6 +9,7 @@ export class MyExmlPlugin extends ExmlPlugin2 implements plugins.Command {
async
onFile
(
file
:
plugins
.
File
)
{
const
excludes
=
[
'candydiebg.png'
,
'monsterState.png'
,
'candysub.png'
,
'candydis0.png'
,
...
...
egret/src/effect/createMonsterStatusAni.ts
0 → 100644
View file @
18601d69
import
MovieClip
from
"../movieclip/MovieClip"
;
import
{
getEffectFramesStr
}
from
"./createEffect1"
;
import
wait
from
"../../libs/new_tc/wait"
;
export
const
createMonsterStatusAni
=
async
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
await
RES
.
getResAsync
(
'monsterState_json'
);
const
list
=
getEffectFramesStr
(
'糖果消失_000'
,
0
,
14
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
1
,
anchor
:
[.
5
,
.
5
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,
()
=>
{
if
(
movieclip
.
parent
)
movieclip
.
parent
.
removeChild
(
movieclip
);
},
this
)
await
wait
(
300
)
}
\ No newline at end of file
egret/src/mainScene/doMonsterAI.ts
View file @
18601d69
...
...
@@ -7,6 +7,7 @@ import wait from "../../libs/new_tc/wait";
import
{
MonsterShootAni
,
monstShootAniDur
}
from
"../something/anis/MonsterShootAni"
;
import
{
RecoverName
}
from
"../something/enum/RecoverName"
;
import
{
Pool
}
from
"../something/Pool"
;
import
{
createMonsterStatusAni
}
from
"../effect/createMonsterStatusAni"
;
/**
* 独眼怪爆炸
*/
...
...
@@ -49,10 +50,12 @@ export default async (thisObj: MainScene) => {
foundsResult
[
index
]
=
founds
;
}
for
(
let
index
=
0
;
index
<
activeMosterEles
.
length
;
index
++
)
{
const
playEffect
=
async
(
index
)
=>
{
const
monsterEle
=
activeMosterEles
[
index
];
//找到相同颜色的元素
let
founds
=
foundsResult
[
index
];
await
createMonsterStatusAni
(
monsterEle
.
x
,
monsterEle
.
y
,
thisObj
);
monsterEle
.
monster
.
hide
();
founds
.
forEach
((
ele
)
=>
{
let
bonusShootAni
:
MonsterShootAni
=
Pool
.
takeOut
(
RecoverName
.
MONSTER_SHOOT_ANI
);
if
(
!
bonusShootAni
)
...
...
@@ -61,10 +64,13 @@ export default async (thisObj: MainScene) => {
bonusShootAni
.
play
(
r
*
180
/
Math
.
PI
,
[
monsterEle
.
x
,
monsterEle
.
y
],
[
ele
.
x
,
ele
.
y
],
()
=>
{
});
thisObj
.
addChild
(
bonusShootAni
);
});
};
for
(
let
index
=
0
;
index
<
activeMosterEles
.
length
;
index
++
)
{
playEffect
(
index
);
}
if
(
genarateEffect
.
length
>
0
)
await
wait
(
monstShootAniDur
);
await
wait
(
monstShootAniDur
+
300
);
for
(
let
index
=
0
;
index
<
foundsResult
.
length
;
index
++
)
{
const
founds
=
foundsResult
[
index
];
founds
.
forEach
(
ele
=>
{
...
...
egret/src/mapScene/MapScene.ts
View file @
18601d69
...
...
@@ -364,16 +364,17 @@ export default class MapScene extends Scene {
RES
.
getResAsync
(
'candydie3_json'
);
RES
.
getResAsync
(
'candydie4_json'
);
RES
.
getResAsync
(
'candysub_json'
);
RES
.
getResAsync
(
'monsterState_json'
);
RES
.
getResAsync
(
'candydiebg_json'
);
RES
.
getResAsync
(
'redrainbg_jpg'
);
RES
.
getResAsync
(
'hbRule_bg_png'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster0.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster1.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster2.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster3.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster4.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/monster5.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/box.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/invite.svga'
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/turntable.svga'
);
...
...
egret/src/something/anis/MonsterShootAni.ts
View file @
18601d69
import
{
ImageAni
}
from
"../class/ImageAni"
;
import
{
Pool
}
from
"../Pool"
;
import
{
RecoverName
}
from
"../enum/RecoverName"
;
import
{
playSound
,
SoundType
}
from
"../../soundCtr
l"
;
import
{
Pool
}
from
"../Poo
l"
;
export
const
monstShootAniDur
:
number
=
5
00
;
export
const
monstShootAniDur
:
number
=
4
00
;
/**
* 需要回调的
* 手动修改this.shoot.rotation=
...
...
egret/src/something/class/Monster.ts
View file @
18601d69
import
{
ElementType
}
from
"../enum/ElementType"
;
import
{
loadSvga
}
from
"../../loadSvga"
;
import
getResPath
from
"../../../libs/new_tc/getResPath"
;
import
{
createMonsterStatusAni
}
from
"../../effect/createMonsterStatusAni"
;
const
frames
=
[
[
1
,
120
],
[
121
,
360
],
...
...
@@ -8,21 +9,30 @@ const frames = [
[
601
,
960
],
];
export
class
Monster
extends
eui
.
Component
{
nextStatus
()
{
async
nextStatus
()
{
this
.
_statusNum
++
;
if
(
this
.
_statusNum
>
4
)
{
this
.
_statusNum
=
4
;
this
.
removeEvents
();
}
//播放动画,动画时间要短200ms以内
if
(
this
.
_statusNum
<=
3
)
if
(
this
.
_statusNum
<=
3
)
{
createMonsterStatusAni
(
this
.
x
,
this
.
y
,
this
.
parent
);
this
.
changeSource
();
}
}
hide
(){
this
.
_mv
.
scaleX
=
this
.
_mv
.
scaleY
=
0
;
}
resetStatus
()
{
this
.
addEvents
();
this
.
_statusNum
=
0
;
this
.
_mv
.
gotoAndPlay
(
1
);
egret
.
Tween
.
get
(
this
.
_mv
).
to
({
scaleY
:
1
,
scaleX
:
1
},
500
,
egret
.
Ease
.
backOut
).
call
(()
=>
{
this
.
changeSource
();
})
}
get
active
():
boolean
{
...
...
@@ -40,7 +50,7 @@ export class Monster extends eui.Component {
return
`ele
${
this
.
res
}
_
${
this
.
_statusNum
}
_png`
;
}
type
;
constructor
(
res
:
ElementType
,
type
:
number
,
n
:
number
=
0
)
{
constructor
(
res
:
ElementType
,
type
:
number
,
n
:
number
=
3
)
{
super
();
this
.
res
=
res
;
this
.
type
=
type
;
...
...
@@ -62,7 +72,7 @@ export class Monster extends eui.Component {
}
onEnterFrame
()
{
if
(
this
.
_statusNum
<=
3
&&
this
.
_mv
.
currentFrame
==
frames
[
this
.
_statusNum
][
1
])
{
if
(
this
.
_statusNum
<=
3
&&
this
.
_mv
.
currentFrame
==
frames
[
this
.
_statusNum
][
1
])
{
this
.
_mv
.
gotoAndPlay
(
frames
[
this
.
_statusNum
][
0
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment