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
f1492d59
Commit
f1492d59
authored
Oct 26, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Plain Diff
1
parents
1d86372f
e73267bb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
13 deletions
+15
-13
MainBase.ts
egret/libs/new_wx/MainBase.ts
+5
-3
ele10.png
egret/resource/assets/mainScene/ele10.png
+0
-0
ele11.png
egret/resource/assets/mainScene/ele11.png
+0
-0
default.res.json
egret/resource/default.res.json
+9
-9
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
No files found.
egret/libs/new_wx/MainBase.ts
View file @
f1492d59
...
...
@@ -198,7 +198,7 @@ export default class MainBase extends eui.UILayer {
else
{
RES
.
getResAsync
(
'main_mapbottom_png'
);
RES
.
getResAsync
(
'lightani_png'
);
for
(
var
i
=
1
;
i
<
19
;
i
++
)
{
RES
.
getResAsync
(
"boom"
+
i
+
"_png"
)
}
...
...
@@ -237,7 +237,7 @@ export default class MainBase extends eui.UILayer {
for
(
var
i
=
1
;
i
<=
11
;
i
++
)
{
RES
.
getResAsync
(
"stepAni"
+
i
+
"_png"
)
}
var
aaa
=
[
1
,
3
,
5
,
7
,
9
,
11
,
14
,
16
,
18
,
19
,
21
,
23
,
25
,
27
,
29
,
32
,
34
];
for
(
var
i
=
1
;
i
<=
60
;
i
++
)
{
if
(
aaa
.
indexOf
(
i
)
>=
0
)
{
...
...
@@ -291,6 +291,8 @@ export default class MainBase extends eui.UILayer {
"ele7"
,
"ele8"
,
"ele9"
,
"ele10"
,
"ele11"
,
"leftArrow"
,
"chooseRect"
,
"lightedStar"
,
...
...
@@ -315,7 +317,7 @@ export default class MainBase extends eui.UILayer {
this
.
ajaxElement
().
then
(()
=>
{
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
INVITE_SCENE
);
})
}
else
if
(
window
[
'isInvitePage'
]
==
2
)
{
}
else
if
(
window
[
'isInvitePage'
]
==
2
)
{
this
.
ajaxElement
().
then
(()
=>
{
SceneCtrl
.
instance
.
change
(
ModuleTypes
.
INVITE_SCENE2
);
})
...
...
egret/resource/assets/mainScene/ele10.png
View replaced file @
1d86372f
View file @
f1492d59
10.3 KB
|
W:
|
H:
7.43 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/mainScene/ele11.png
0 → 100644
View file @
f1492d59
7.31 KB
egret/resource/default.res.json
View file @
f1492d59
...
...
@@ -97,7 +97,7 @@
"name"
:
"h5"
},
{
"keys"
:
"bonusFra1_png,bonusFra10_png,bonusFra11_png,bonusFra12_png,bonusFra13_png,bonusFra14_png,bonusFra15_png,bonusFra16_png,bonusFra17_png,bonusFra18_png,bonusFra19_png,bonusFra2_png,bonusFra20_png,bonusFra21_png,bonusFra22_png,bonusFra23_png,bonusFra24_png,bonusFra25_png,bonusFra26_png,bonusFra27_png,bonusFra3_png,bonusFra4_png,bonusFra5_png,bonusFra6_png,bonusFra7_png,bonusFra8_png,bonusFra9_png,bonusShoot_png,bonusTime_png,boom1_png,boom10_png,boom11_png,boom12_png,boom13_png,boom14_png,boom15_png,boom16_png,boom17_png,boom18_png,boom2_png,boom3_png,boom4_png,boom5_png,boom6_png,boom7_png,boom8_png,boom9_png,boomBtn_png,chooseRect_png,dangqianfenshu_png,eggPiece1_png,eggPiece2_png,eggPiece3_png,eggPiece4_png,eggPiece5_png,eggStatus0_png,eggStatus1_png,eggStatus2_png,ele0_png,ele0Exp_png,ele0Line_png,ele1_png,ele1Exp_png,ele1Line_png,ele2_png,ele2Exp_png,ele2Line_png,ele3_png,ele3Exp_png,ele3Line_png,ele4_png,ele4Exp_png,ele4Line_png,ele5_png,ele6_png,ele7_png,ele8_png,ele9_png,eleDis1_png,eleDis10_png,eleDis11_png,eleDis12_png,eleDis13_png,eleDis14_png,eleDis15_png,eleDis16_png,eleDis17_png,eleDis18_png,eleDis19_png,eleDis2_png,eleDis3_png,eleDis4_png,eleDis5_png,eleDis6_png,eleDis7_png,eleDis8_png,eleDis9_png,exLighting1_png,exLighting11_png,exLighting14_png,exLighting16_png,exLighting18_png,exLighting19_png,exLighting21_png,exLighting23_png,exLighting25_png,exLighting27_png,exLighting29_png,exLighting3_png,exLighting32_png,exLighting34_png,exLighting5_png,exLighting7_png,exLighting9_png,greenCircleDown_png,greenCircleUp_png,guidePropBoom_png,guidePropCow_png,guidePropHammer_png,guidePropHand_png,guidePropMsgPanel_png,guidePropShoe_png,hammerBtn_png,ice2_png,ice3_png,ice4_png,ice5_png,ice6_png,jellyArrow_png,leftArrow_png,lightedStar_png,lineLight_png,lockVine_png,magicLion_png,magicLionBg_png,mainMusicBtnOff_png,mainMusicBtnOn_png,mainQuestionBtn_png,mainQuitBtn_png,mainSettingBg_png,mainSoundBtnOff_png,mainSoundBtnOn_png,main_mapbottom_png,playSceneBg_jpg,progressDown_png,propNum0_png,propNum1_png,propNum2_png,propNum3_png,propNum4_png,propNum5_png,propNum6_png,propNum7_png,propNum8_png,propNum9_png,propNumBg_png,rectLat_png,rightArrow_png,rightMark_png,rock2_png,rock3_png,rock4_png,rock5_png,rock6_png,scoreNumber0_png,scoreNumber1_png,scoreNumber2_png,scoreNumber3_png,scoreNumber4_png,scoreNumber5_png,scoreNumber6_png,scoreNumber7_png,scoreNumber8_png,scoreNumber9_png,setting_png,starProgress_png,stepAni1_png,stepAni10_png,stepAni11_png,stepAni2_png,stepAni3_png,stepAni4_png,stepAni5_png,stepAni6_png,stepAni7_png,stepAni8_png,stepAni9_png,stepBtn_png,stepNumber0_png,stepNumber1_png,stepNumber2_png,stepNumber3_png,stepNumber4_png,stepNumber5_png,stepNumber6_png,stepNumber7_png,stepNumber8_png,stepNumber9_png,stepsBoard_png,targetBoard_png,targetNumber0_png,targetNumber1_png,targetNumber2_png,targetNumber3_png,targetNumber4_png,targetNumber5_png,targetNumber6_png,targetNumber7_png,targetNumber8_png,targetNumber9_png,unlightedStar_png,yellowCircleDown_png,yellowCircleUp_png,yezi1_png,bubbleStar19_png,bubleEle0_png,bubleEle1_png,bubleEle2_png,bubleEle3_png,bubleEle4_png,bubbleStar1_png,bubbleStar2_png,bubbleStar3_png,bubbleStar4_png,bubbleStar5_png,bubbleStar6_png,bubbleStar7_png,bubbleStar8_png,bubbleStar9_png,bubbleStar10_png,bubbleStar11_png,bubbleStar12_png,bubbleStar13_png,bubbleStar14_png,bubbleStar15_png,bubbleStar16_png,bubbleStar17_png,bubbleStar18_png"
,
"keys"
:
"bonusFra1_png,bonusFra10_png,bonusFra11_png,bonusFra12_png,bonusFra13_png,bonusFra14_png,bonusFra15_png,bonusFra16_png,bonusFra17_png,bonusFra18_png,bonusFra19_png,bonusFra2_png,bonusFra20_png,bonusFra21_png,bonusFra22_png,bonusFra23_png,bonusFra24_png,bonusFra25_png,bonusFra26_png,bonusFra27_png,bonusFra3_png,bonusFra4_png,bonusFra5_png,bonusFra6_png,bonusFra7_png,bonusFra8_png,bonusFra9_png,bonusShoot_png,bonusTime_png,boom1_png,boom10_png,boom11_png,boom12_png,boom13_png,boom14_png,boom15_png,boom16_png,boom17_png,boom18_png,boom2_png,boom3_png,boom4_png,boom5_png,boom6_png,boom7_png,boom8_png,boom9_png,boomBtn_png,chooseRect_png,dangqianfenshu_png,eggPiece1_png,eggPiece2_png,eggPiece3_png,eggPiece4_png,eggPiece5_png,eggStatus0_png,eggStatus1_png,eggStatus2_png,ele0_png,ele0Exp_png,ele0Line_png,ele1_png,ele1Exp_png,ele1Line_png,ele2_png,ele2Exp_png,ele2Line_png,ele3_png,ele3Exp_png,ele3Line_png,ele4_png,ele4Exp_png,ele4Line_png,ele5_png,ele6_png,ele7_png,ele8_png,ele9_png,eleDis1_png,eleDis10_png,eleDis11_png,eleDis12_png,eleDis13_png,eleDis14_png,eleDis15_png,eleDis16_png,eleDis17_png,eleDis18_png,eleDis19_png,eleDis2_png,eleDis3_png,eleDis4_png,eleDis5_png,eleDis6_png,eleDis7_png,eleDis8_png,eleDis9_png,exLighting1_png,exLighting11_png,exLighting14_png,exLighting16_png,exLighting18_png,exLighting19_png,exLighting21_png,exLighting23_png,exLighting25_png,exLighting27_png,exLighting29_png,exLighting3_png,exLighting32_png,exLighting34_png,exLighting5_png,exLighting7_png,exLighting9_png,greenCircleDown_png,greenCircleUp_png,guidePropBoom_png,guidePropCow_png,guidePropHammer_png,guidePropHand_png,guidePropMsgPanel_png,guidePropShoe_png,hammerBtn_png,ice2_png,ice3_png,ice4_png,ice5_png,ice6_png,jellyArrow_png,leftArrow_png,lightedStar_png,lineLight_png,lockVine_png,magicLion_png,magicLionBg_png,mainMusicBtnOff_png,mainMusicBtnOn_png,mainQuestionBtn_png,mainQuitBtn_png,mainSettingBg_png,mainSoundBtnOff_png,mainSoundBtnOn_png,main_mapbottom_png,playSceneBg_jpg,progressDown_png,propNum0_png,propNum1_png,propNum2_png,propNum3_png,propNum4_png,propNum5_png,propNum6_png,propNum7_png,propNum8_png,propNum9_png,propNumBg_png,rectLat_png,rightArrow_png,rightMark_png,rock2_png,rock3_png,rock4_png,rock5_png,rock6_png,scoreNumber0_png,scoreNumber1_png,scoreNumber2_png,scoreNumber3_png,scoreNumber4_png,scoreNumber5_png,scoreNumber6_png,scoreNumber7_png,scoreNumber8_png,scoreNumber9_png,setting_png,starProgress_png,stepAni1_png,stepAni10_png,stepAni11_png,stepAni2_png,stepAni3_png,stepAni4_png,stepAni5_png,stepAni6_png,stepAni7_png,stepAni8_png,stepAni9_png,stepBtn_png,stepNumber0_png,stepNumber1_png,stepNumber2_png,stepNumber3_png,stepNumber4_png,stepNumber5_png,stepNumber6_png,stepNumber7_png,stepNumber8_png,stepNumber9_png,stepsBoard_png,targetBoard_png,targetNumber0_png,targetNumber1_png,targetNumber2_png,targetNumber3_png,targetNumber4_png,targetNumber5_png,targetNumber6_png,targetNumber7_png,targetNumber8_png,targetNumber9_png,unlightedStar_png,yellowCircleDown_png,yellowCircleUp_png,yezi1_png,bubbleStar19_png,bubleEle0_png,bubleEle1_png,bubleEle2_png,bubleEle3_png,bubleEle4_png,bubbleStar1_png,bubbleStar2_png,bubbleStar3_png,bubbleStar4_png,bubbleStar5_png,bubbleStar6_png,bubbleStar7_png,bubbleStar8_png,bubbleStar9_png,bubbleStar10_png,bubbleStar11_png,bubbleStar12_png,bubbleStar13_png,bubbleStar14_png,bubbleStar15_png,bubbleStar16_png,bubbleStar17_png,bubbleStar18_png
,ele11_png,ele10_png
"
,
"name"
:
"main2"
},
{
...
...
@@ -2749,24 +2749,24 @@
"name"
:
"turnable_icon3_png"
},
{
"url"
:
"assets/
turntableprize/turnprize_icon
1.png"
,
"url"
:
"assets/
mainScene/ele1
1.png"
,
"type"
:
"image"
,
"name"
:
"
turnprize_icon
1_png"
"name"
:
"
ele1
1_png"
},
{
"url"
:
"assets/
turntableprize/turnprize_icon2
.png"
,
"url"
:
"assets/
mainScene/ele10
.png"
,
"type"
:
"image"
,
"name"
:
"
turnprize_icon2
_png"
"name"
:
"
ele10
_png"
},
{
"url"
:
"assets/
turntableprize/turnprize_icon3
.png"
,
"url"
:
"assets/
mainScene/ele11
.png"
,
"type"
:
"image"
,
"name"
:
"
turnprize_icon3
_png"
"name"
:
"
ele11
_png"
},
{
"url"
:
"assets/
startpanel2/startpanel_
ele10.png"
,
"url"
:
"assets/
mainScene/
ele10.png"
,
"type"
:
"image"
,
"name"
:
"
startpanel_
ele10_png"
"name"
:
"ele10_png"
}
]
}
\ No newline at end of file
egret/src/mainScene/MainScene.ts
View file @
f1492d59
...
...
@@ -2027,7 +2027,7 @@ export default class MainScene extends Scene {
else
if
(
ele
.
hasState
(
StateType
.
HAIRBALLBROWN
))
{
var
hairballBrownState
:
HairballBrownState
=
ele
.
getState
(
StateType
.
HAIRBALLBROWN
);
hairballBrownState
.
isActive
=
true
;
//算个数,不能在这里算,得在分裂时算
//算个数,不能在这里算,得在分裂时算
,分裂时算也有问题,目标完成就后置了,会出bug,最好就是不设为目标。
// this.goElementTarget(ElementType.HAIRBALLBROWN, [ele.x, ele.y]);
}
//有灰色毛球的,消失
...
...
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