Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
69e69fba
Commit
69e69fba
authored
Oct 03, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页动画
parent
0fe5ee31
Changes
12
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
197 additions
and
92 deletions
+197
-92
workspace.xml
.idea/workspace.xml
+40
-82
map_bg1.jpg
resource/map/map_bg1.jpg
+0
-0
map_bg2.jpg
resource/map/map_bg2.jpg
+0
-0
map_bg3.jpg
resource/map/map_bg3.jpg
+0
-0
res.json
resource/res.json
+20
-0
ResJson.ts
src/ResJson.ts
+20
-0
LoadingScene.ts
src/scene/LoadingScene.ts
+6
-5
MapBottom.ts
src/scene/map/MapBottom.ts
+11
-0
MapMid.ts
src/scene/map/MapMid.ts
+56
-0
MapPart.ts
src/scene/map/MapPart.ts
+9
-0
MapScene.ts
src/scene/map/MapScene.ts
+0
-5
MapTop.ts
src/scene/map/MapTop.ts
+35
-0
No files found.
.idea/workspace.xml
View file @
69e69fba
This diff is collapsed.
Click to expand it.
resource/map/map_bg1.jpg
View replaced file @
0fe5ee31
View file @
69e69fba
187 KB
|
W:
|
H:
148 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/map/map_bg2.jpg
View replaced file @
0fe5ee31
View file @
69e69fba
This diff is collapsed.
Click to expand it.
resource/map/map_bg3.jpg
View replaced file @
0fe5ee31
View file @
69e69fba
393 KB
|
W:
|
H:
365 KB
|
W:
|
H:
2-up
Swipe
Onion skin
resource/res.json
View file @
69e69fba
...
...
@@ -72,6 +72,26 @@
"keys"
:
"cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,lightImg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_enable.png,map_check_enable_cur.png,map_energyAdd.png,map_energyBg.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_taskBtn_tip.png"
,
"name"
:
"map"
},
{
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"name"
:
"mapAroma1"
},
{
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"name"
:
"mapCat"
},
{
"keys"
:
"cloud.png,top_foot.png,热气球.png,薯片店.png"
,
"name"
:
"mapEffect"
},
{
"keys"
:
"tinyBalloon_0.png,tinyBalloon_1.png,tinyBalloon_10.png,tinyBalloon_11.png,tinyBalloon_12.png,tinyBalloon_13.png,tinyBalloon_14.png,tinyBalloon_15.png,tinyBalloon_16.png,tinyBalloon_17.png,tinyBalloon_18.png,tinyBalloon_19.png,tinyBalloon_2.png,tinyBalloon_20.png,tinyBalloon_21.png,tinyBalloon_22.png,tinyBalloon_23.png,tinyBalloon_24.png,tinyBalloon_25.png,tinyBalloon_26.png,tinyBalloon_27.png,tinyBalloon_28.png,tinyBalloon_29.png,tinyBalloon_3.png,tinyBalloon_30.png,tinyBalloon_31.png,tinyBalloon_32.png,tinyBalloon_33.png,tinyBalloon_34.png,tinyBalloon_35.png,tinyBalloon_36.png,tinyBalloon_37.png,tinyBalloon_38.png,tinyBalloon_39.png,tinyBalloon_4.png,tinyBalloon_40.png,tinyBalloon_41.png,tinyBalloon_42.png,tinyBalloon_43.png,tinyBalloon_44.png,tinyBalloon_45.png,tinyBalloon_46.png,tinyBalloon_47.png,tinyBalloon_48.png,tinyBalloon_49.png,tinyBalloon_5.png,tinyBalloon_50.png,tinyBalloon_51.png,tinyBalloon_52.png,tinyBalloon_53.png,tinyBalloon_54.png,tinyBalloon_55.png,tinyBalloon_56.png,tinyBalloon_57.png,tinyBalloon_58.png,tinyBalloon_59.png,tinyBalloon_6.png,tinyBalloon_60.png,tinyBalloon_61.png,tinyBalloon_62.png,tinyBalloon_63.png,tinyBalloon_64.png,tinyBalloon_65.png,tinyBalloon_66.png,tinyBalloon_67.png,tinyBalloon_68.png,tinyBalloon_69.png,tinyBalloon_7.png,tinyBalloon_70.png,tinyBalloon_71.png,tinyBalloon_72.png,tinyBalloon_73.png,tinyBalloon_74.png,tinyBalloon_75.png,tinyBalloon_76.png,tinyBalloon_77.png,tinyBalloon_78.png,tinyBalloon_79.png,tinyBalloon_8.png,tinyBalloon_80.png,tinyBalloon_81.png,tinyBalloon_82.png,tinyBalloon_83.png,tinyBalloon_84.png,tinyBalloon_85.png,tinyBalloon_9.png"
,
"name"
:
"mapTinyBalloon"
},
{
"keys"
:
"map_tree_0.png,map_tree_1.png,map_tree_10.png,map_tree_100.png,map_tree_101.png,map_tree_102.png,map_tree_103.png,map_tree_104.png,map_tree_105.png,map_tree_11.png,map_tree_12.png,map_tree_13.png,map_tree_14.png,map_tree_15.png,map_tree_16.png,map_tree_17.png,map_tree_18.png,map_tree_19.png,map_tree_2.png,map_tree_20.png,map_tree_21.png,map_tree_22.png,map_tree_23.png,map_tree_24.png,map_tree_25.png,map_tree_26.png,map_tree_27.png,map_tree_28.png,map_tree_29.png,map_tree_3.png,map_tree_30.png,map_tree_31.png,map_tree_32.png,map_tree_33.png,map_tree_34.png,map_tree_35.png,map_tree_36.png,map_tree_37.png,map_tree_38.png,map_tree_39.png,map_tree_4.png,map_tree_40.png,map_tree_41.png,map_tree_42.png,map_tree_43.png,map_tree_44.png,map_tree_45.png,map_tree_46.png,map_tree_47.png,map_tree_48.png,map_tree_49.png,map_tree_5.png,map_tree_50.png,map_tree_51.png,map_tree_52.png,map_tree_53.png,map_tree_54.png,map_tree_55.png,map_tree_56.png,map_tree_57.png,map_tree_58.png,map_tree_59.png,map_tree_6.png,map_tree_60.png,map_tree_61.png,map_tree_62.png,map_tree_63.png,map_tree_64.png,map_tree_65.png,map_tree_66.png,map_tree_67.png,map_tree_68.png,map_tree_69.png,map_tree_7.png,map_tree_70.png,map_tree_71.png,map_tree_72.png,map_tree_73.png,map_tree_74.png,map_tree_75.png,map_tree_76.png,map_tree_77.png,map_tree_78.png,map_tree_79.png,map_tree_8.png,map_tree_80.png,map_tree_81.png,map_tree_82.png,map_tree_83.png,map_tree_84.png,map_tree_85.png,map_tree_86.png,map_tree_87.png,map_tree_88.png,map_tree_89.png,map_tree_9.png,map_tree_90.png,map_tree_91.png,map_tree_92.png,map_tree_93.png,map_tree_94.png,map_tree_95.png,map_tree_96.png,map_tree_97.png,map_tree_98.png,map_tree_99.png"
,
"name"
:
"mapTree"
},
{
"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,ele0Line.png,ele1Exp.png,ele1Line.png,ele2Exp.png,ele2Line.png,ele3Exp.png,ele3Line.png,ele4Exp.png,ele4Line.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,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"
...
...
src/ResJson.ts
View file @
69e69fba
...
...
@@ -72,6 +72,26 @@ export const ResJson = {
"keys"
:
"cur_light_1.png,cur_light_2.png,guide_fox.png,guide_hand.png,guide_light.png,guide_tip.png,lightImg.png,map_avatar_bg.png,map_bg1.jpg,map_bg2.jpg,map_bg3.jpg,map_check_disable.png,map_check_enable.png,map_check_enable_cur.png,map_energyAdd.png,map_energyBg.png,map_prizeBtn.png,map_ruleBtn.png,map_star_disable.png,map_star_enable.png,map_taskBtn.png,map_taskBtn_tip.png"
,
"name"
:
"map"
},
{
"keys"
:
"Aroma_1_0.png,Aroma_1_1.png,Aroma_1_10.png,Aroma_1_11.png,Aroma_1_12.png,Aroma_1_13.png,Aroma_1_14.png,Aroma_1_15.png,Aroma_1_16.png,Aroma_1_17.png,Aroma_1_18.png,Aroma_1_19.png,Aroma_1_2.png,Aroma_1_20.png,Aroma_1_21.png,Aroma_1_22.png,Aroma_1_23.png,Aroma_1_24.png,Aroma_1_25.png,Aroma_1_26.png,Aroma_1_27.png,Aroma_1_28.png,Aroma_1_29.png,Aroma_1_3.png,Aroma_1_30.png,Aroma_1_31.png,Aroma_1_32.png,Aroma_1_33.png,Aroma_1_34.png,Aroma_1_35.png,Aroma_1_36.png,Aroma_1_37.png,Aroma_1_38.png,Aroma_1_4.png,Aroma_1_5.png,Aroma_1_6.png,Aroma_1_7.png,Aroma_1_8.png,Aroma_1_9.png"
,
"name"
:
"mapAroma1"
},
{
"keys"
:
"map_cat_0.png,map_cat_1.png,map_cat_10.png,map_cat_11.png,map_cat_12.png,map_cat_13.png,map_cat_14.png,map_cat_15.png,map_cat_16.png,map_cat_17.png,map_cat_18.png,map_cat_19.png,map_cat_2.png,map_cat_20.png,map_cat_21.png,map_cat_22.png,map_cat_23.png,map_cat_24.png,map_cat_25.png,map_cat_26.png,map_cat_27.png,map_cat_28.png,map_cat_29.png,map_cat_3.png,map_cat_30.png,map_cat_31.png,map_cat_32.png,map_cat_33.png,map_cat_34.png,map_cat_4.png,map_cat_5.png,map_cat_6.png,map_cat_7.png,map_cat_8.png,map_cat_9.png"
,
"name"
:
"mapCat"
},
{
"keys"
:
"cloud.png,top_foot.png,热气球.png,薯片店.png"
,
"name"
:
"mapEffect"
},
{
"keys"
:
"tinyBalloon_0.png,tinyBalloon_1.png,tinyBalloon_10.png,tinyBalloon_11.png,tinyBalloon_12.png,tinyBalloon_13.png,tinyBalloon_14.png,tinyBalloon_15.png,tinyBalloon_16.png,tinyBalloon_17.png,tinyBalloon_18.png,tinyBalloon_19.png,tinyBalloon_2.png,tinyBalloon_20.png,tinyBalloon_21.png,tinyBalloon_22.png,tinyBalloon_23.png,tinyBalloon_24.png,tinyBalloon_25.png,tinyBalloon_26.png,tinyBalloon_27.png,tinyBalloon_28.png,tinyBalloon_29.png,tinyBalloon_3.png,tinyBalloon_30.png,tinyBalloon_31.png,tinyBalloon_32.png,tinyBalloon_33.png,tinyBalloon_34.png,tinyBalloon_35.png,tinyBalloon_36.png,tinyBalloon_37.png,tinyBalloon_38.png,tinyBalloon_39.png,tinyBalloon_4.png,tinyBalloon_40.png,tinyBalloon_41.png,tinyBalloon_42.png,tinyBalloon_43.png,tinyBalloon_44.png,tinyBalloon_45.png,tinyBalloon_46.png,tinyBalloon_47.png,tinyBalloon_48.png,tinyBalloon_49.png,tinyBalloon_5.png,tinyBalloon_50.png,tinyBalloon_51.png,tinyBalloon_52.png,tinyBalloon_53.png,tinyBalloon_54.png,tinyBalloon_55.png,tinyBalloon_56.png,tinyBalloon_57.png,tinyBalloon_58.png,tinyBalloon_59.png,tinyBalloon_6.png,tinyBalloon_60.png,tinyBalloon_61.png,tinyBalloon_62.png,tinyBalloon_63.png,tinyBalloon_64.png,tinyBalloon_65.png,tinyBalloon_66.png,tinyBalloon_67.png,tinyBalloon_68.png,tinyBalloon_69.png,tinyBalloon_7.png,tinyBalloon_70.png,tinyBalloon_71.png,tinyBalloon_72.png,tinyBalloon_73.png,tinyBalloon_74.png,tinyBalloon_75.png,tinyBalloon_76.png,tinyBalloon_77.png,tinyBalloon_78.png,tinyBalloon_79.png,tinyBalloon_8.png,tinyBalloon_80.png,tinyBalloon_81.png,tinyBalloon_82.png,tinyBalloon_83.png,tinyBalloon_84.png,tinyBalloon_85.png,tinyBalloon_9.png"
,
"name"
:
"mapTinyBalloon"
},
{
"keys"
:
"map_tree_0.png,map_tree_1.png,map_tree_10.png,map_tree_100.png,map_tree_101.png,map_tree_102.png,map_tree_103.png,map_tree_104.png,map_tree_105.png,map_tree_11.png,map_tree_12.png,map_tree_13.png,map_tree_14.png,map_tree_15.png,map_tree_16.png,map_tree_17.png,map_tree_18.png,map_tree_19.png,map_tree_2.png,map_tree_20.png,map_tree_21.png,map_tree_22.png,map_tree_23.png,map_tree_24.png,map_tree_25.png,map_tree_26.png,map_tree_27.png,map_tree_28.png,map_tree_29.png,map_tree_3.png,map_tree_30.png,map_tree_31.png,map_tree_32.png,map_tree_33.png,map_tree_34.png,map_tree_35.png,map_tree_36.png,map_tree_37.png,map_tree_38.png,map_tree_39.png,map_tree_4.png,map_tree_40.png,map_tree_41.png,map_tree_42.png,map_tree_43.png,map_tree_44.png,map_tree_45.png,map_tree_46.png,map_tree_47.png,map_tree_48.png,map_tree_49.png,map_tree_5.png,map_tree_50.png,map_tree_51.png,map_tree_52.png,map_tree_53.png,map_tree_54.png,map_tree_55.png,map_tree_56.png,map_tree_57.png,map_tree_58.png,map_tree_59.png,map_tree_6.png,map_tree_60.png,map_tree_61.png,map_tree_62.png,map_tree_63.png,map_tree_64.png,map_tree_65.png,map_tree_66.png,map_tree_67.png,map_tree_68.png,map_tree_69.png,map_tree_7.png,map_tree_70.png,map_tree_71.png,map_tree_72.png,map_tree_73.png,map_tree_74.png,map_tree_75.png,map_tree_76.png,map_tree_77.png,map_tree_78.png,map_tree_79.png,map_tree_8.png,map_tree_80.png,map_tree_81.png,map_tree_82.png,map_tree_83.png,map_tree_84.png,map_tree_85.png,map_tree_86.png,map_tree_87.png,map_tree_88.png,map_tree_89.png,map_tree_9.png,map_tree_90.png,map_tree_91.png,map_tree_92.png,map_tree_93.png,map_tree_94.png,map_tree_95.png,map_tree_96.png,map_tree_97.png,map_tree_98.png,map_tree_99.png"
,
"name"
:
"mapTree"
},
{
"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,ele0Line.png,ele1Exp.png,ele1Line.png,ele2Exp.png,ele2Line.png,ele3Exp.png,ele3Line.png,ele4Exp.png,ele4Line.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,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"
...
...
src/scene/LoadingScene.ts
View file @
69e69fba
...
...
@@ -122,15 +122,16 @@ export class LoadingScene extends Scene {
// ].map((e) => {
// return RES.loadGroup(e)
// }))
await
RES
.
loadGroup
(
"map"
)
await
RES
.
loadGroup
(
"map"
);
await
RES
.
loadGroup
(
"mapEffect"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.6
);
await
RES
.
loadGroup
(
"map
CrabEffect"
)
await
RES
.
loadGroup
(
"map
Tree"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.7
);
await
RES
.
loadGroup
(
"map
OwlEffect"
)
await
RES
.
loadGroup
(
"map
Cat"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.8
);
await
RES
.
loadGroup
(
"map
WhaleEffect"
)
await
RES
.
loadGroup
(
"map
Aroma1"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
0.9
);
await
RES
.
loadGroup
(
"map
CheckPrizeEffect"
)
await
RES
.
loadGroup
(
"map
TinyBalloon"
);
this
.
dispatchEvent
(
FYGE
.
Event
.
PROGRESS
,
1
);
...
...
src/scene/map/MapBottom.ts
View file @
69e69fba
import
MapPart
from
"./MapPart"
;
import
{
RES
}
from
"../../../module/RES"
;
import
Point
=
FYGE
.
Point
;
import
{
Tools
}
from
"../../Tools"
;
import
Tween
=
FYGE
.
Tween
;
import
Ease
=
FYGE
.
Ease
;
export
default
class
MapBottom
extends
MapPart
{
...
...
@@ -25,6 +28,14 @@ export default class MapBottom extends MapPart {
this
.
initIcon
();
}
protected
initEffect
()
{
const
balloon
=
this
.
addChild
(
Tools
.
getSprite
(
'热气球.png'
));
balloon
.
position
.
set
(
19
,
40
);
Tween
.
get
(
balloon
,
{
loop
:
true
})
.
to
({
y
:
-
10
},
2500
,
Ease
.
quadInOut
)
.
to
({
y
:
40
},
2500
,
Ease
.
quadInOut
);
}
public
update
()
{
super
.
update
();
let
up
=
this
.
localToGlobal
(
new
Point
(
0
,
-
10
),
new
Point
());
...
...
src/scene/map/MapMid.ts
View file @
69e69fba
import
MapPart
from
"./MapPart"
;
import
{
RES
}
from
"../../../module/RES"
;
import
Point
=
FYGE
.
Point
;
import
Texture
=
FYGE
.
Texture
;
import
FrameAni
=
FYGE
.
FrameAni
;
import
{
Tools
}
from
"../../Tools"
;
export
default
class
MapMid
extends
MapPart
{
...
...
@@ -38,6 +41,59 @@ export default class MapMid extends MapPart {
this
.
initIcon
();
}
protected
initEffect
()
{
const
mapCatTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
35
;
i
++
)
{
mapCatTexture
.
push
(
RES
.
getRes
(
`map_cat_
${
i
}
.png`
));
}
const
mapCat
=
this
.
addChild
(
new
FrameAni
(
mapCatTexture
));
mapCat
.
position
.
set
(
650
,
420
);
mapCat
.
play
(
-
1
);
const
tinyBalloonTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
86
;
i
++
)
{
tinyBalloonTexture
.
push
(
RES
.
getRes
(
`tinyBalloon_
${
i
}
.png`
));
}
const
tinyBalloon
=
this
.
addChild
(
new
FrameAni
(
tinyBalloonTexture
));
tinyBalloon
.
position
.
set
(
180
,
640
);
tinyBalloon
.
play
(
-
1
);
const
treeTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
106
;
i
++
)
{
treeTexture
.
push
(
RES
.
getRes
(
`map_tree_
${
i
}
.png`
));
}
const
treeEffect1
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect1
.
position
.
set
(
735
,
400
);
treeEffect1
.
play
(
-
1
);
const
treeEffect2
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect2
.
position
.
set
(
30
,
765
);
treeEffect2
.
scaleX
=
-
1
;
treeEffect2
.
play
(
-
1
);
const
treeEffect3
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect3
.
position
.
set
(
30
,
1590
);
treeEffect3
.
scaleX
=
-
1
;
treeEffect3
.
play
(
-
1
);
const
treeEffect4
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect4
.
position
.
set
(
740
,
1780
);
treeEffect4
.
scaleX
=
-
1
;
treeEffect4
.
play
(
-
1
);
this
.
addChild
(
Tools
.
getSprite
(
'薯片店.png'
,
-
80
,
1570
));
const
aromaTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
86
;
i
++
)
{
aromaTexture
.
push
(
RES
.
getRes
(
`Aroma_1_
${
i
}
.png`
));
}
const
aroma
=
this
.
addChild
(
new
FrameAni
(
aromaTexture
));
aroma
.
position
.
set
(
55
,
1460
);
aroma
.
play
(
-
1
);
}
public
update
()
{
super
.
update
();
let
up
=
this
.
localToGlobal
(
new
Point
(
0
,
-
10
),
new
Point
());
...
...
src/scene/map/MapPart.ts
View file @
69e69fba
...
...
@@ -2,6 +2,7 @@ import Sprite = FYGE.Sprite;
import
CheckBtn
from
"./CheckBtn"
;
import
{
MapScene
}
from
"./MapScene"
;
import
Container
=
FYGE
.
Container
;
import
Point
=
FYGE
.
Point
;
export
default
class
MapPart
extends
Container
{
...
...
@@ -13,10 +14,18 @@ export default class MapPart extends Container {
protected
bg
:
Sprite
=
null
;
protected
timeOutArr
=
[];
constructor
(
data
)
{
super
();
this
.
bg
=
this
.
addChild
(
new
Sprite
());
this
.
data
=
data
;
this
.
initEffect
();
}
protected
initEffect
(){
}
protected
initIcon
()
{
...
...
src/scene/map/MapScene.ts
View file @
69e69fba
...
...
@@ -15,7 +15,6 @@ import Tween = FYGE.Tween;
import
Ease
=
FYGE
.
Ease
;
import
{
showPanel
}
from
"../../../module/ctrls"
;
import
{
FreePowerPanel
}
from
"../../panels/FreePowerPanel"
;
import
{
FesRedPrizePanel
}
from
"../../panels/FesRedPrizePanel"
;
export
class
MapScene
extends
Scene
{
private
mapContainer
:
Container
=
null
;
...
...
@@ -35,10 +34,6 @@ export class MapScene extends Scene {
public
get
groupNames
():
string
[]
{
return
[
'map'
,
'mapCrabEffect'
,
'mapOwlEffect'
,
'mapWhaleEffect'
,
'mapCheckPrizeEffect'
];
}
...
...
src/scene/map/MapTop.ts
View file @
69e69fba
import
MapPart
from
"./MapPart"
;
import
{
RES
}
from
"../../../module/RES"
;
import
Point
=
FYGE
.
Point
;
import
{
Tools
}
from
"../../Tools"
;
import
Texture
=
FYGE
.
Texture
;
import
FrameAni
=
FYGE
.
FrameAni
;
import
Tween
=
FYGE
.
Tween
;
export
default
class
MapTop
extends
MapPart
{
...
...
@@ -26,6 +30,36 @@ export default class MapTop extends MapPart {
this
.
initIcon
();
}
protected
initEffect
()
{
const
treeTexture
:
Texture
[]
=
[];
for
(
let
i
=
0
;
i
<
106
;
i
++
)
{
treeTexture
.
push
(
RES
.
getRes
(
`map_tree_
${
i
}
.png`
));
}
const
treeEffect1
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect1
.
position
.
set
(
85
,
913
);
treeEffect1
.
scaleX
=
-
1
;
treeEffect1
.
play
(
-
1
);
const
treeEffect2
=
this
.
addChild
(
new
FrameAni
(
treeTexture
));
treeEffect2
.
position
.
set
(
729
,
1068
);
this
.
timeOutArr
.
push
(
setTimeout
(()
=>
{
treeEffect2
.
play
(
-
1
);
},
1000
)
);
const
foot
=
this
.
addChild
(
Tools
.
getSprite
(
'top_foot.png'
));
foot
.
position
.
set
(
-
24
,
758
);
const
cloud
=
this
.
addChild
(
Tools
.
getSprite
(
'cloud.png'
));
cloud
.
position
.
set
(
750
,
50
);
Tween
.
get
(
cloud
,
{
loop
:
true
})
.
set
({
x
:
750
})
.
to
({
x
:
-
692
},
50000
)
.
wait
(
1000
);
}
public
update
()
{
super
.
update
();
let
up
=
this
.
localToGlobal
(
new
Point
(
0
,
-
10
),
new
Point
());
...
...
@@ -40,6 +74,7 @@ export default class MapTop extends MapPart {
public
destroy
()
{
super
.
destroy
();
this
.
timeOutArr
.
forEach
(
v
=>
clearTimeout
(
v
));
}
}
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