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
410284f4
Commit
410284f4
authored
Jan 07, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
74b24e6e
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
420 additions
and
52 deletions
+420
-52
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-1
createCandyDis0Ani.ts
egret/src/something/anis/candy/createCandyDis0Ani.ts
+1
-1
createCandyDis1Ani.ts
egret/src/something/anis/candy/createCandyDis1Ani.ts
+1
-1
createCandyDis2Ani.ts
egret/src/something/anis/candy/createCandyDis2Ani.ts
+1
-1
createCandyDis3Ani.ts
egret/src/something/anis/candy/createCandyDis3Ani.ts
+1
-1
createCandyDis4Ani.ts
egret/src/something/anis/candy/createCandyDis4Ani.ts
+1
-1
Chapter13.ts
egret/src/something/chapters/Chapter13.ts
+31
-45
Candy.ts
egret/src/something/class/Candy.ts
+1
-1
RecoverName.ts
egret/src/something/enum/RecoverName.ts
+1
-0
homemax.json
mock/happyclear/homemax.json
+381
-0
No files found.
egret/src/mainScene/MainScene.ts
View file @
410284f4
...
@@ -2378,7 +2378,7 @@ export default class MainScene extends Scene {
...
@@ -2378,7 +2378,7 @@ export default class MainScene extends Scene {
this
.
steps
+=
5
;
this
.
steps
+=
5
;
},
333
)
},
333
)
}
else
{
//消融
}
else
{
//消融
this
.
playAni
(
RecoverName
.
ELE
DIS_ANI
,
p
)
this
.
playAni
(
RecoverName
.
CANDY_
DIS_ANI
,
p
)
//这里面会去算个数
//这里面会去算个数
this
.
recoverEle
(
index
);
this
.
recoverEle
(
index
);
}
}
...
...
egret/src/something/anis/candy/createCandyDis0Ani.ts
View file @
410284f4
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDis0Ani
=
(
x
,
y
,
p
)
=>
{
export
const
createCandyDis0Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis0_json'
);
const
spritesheet
=
RES
.
getRes
(
'candydis0_json'
);
if
(
!
spritesheet
)
return
;
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
1
2
);
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
1
1
);
const
movieclip
=
new
MovieClip
({
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
spritesheet
:
spritesheet
,
...
...
egret/src/something/anis/candy/createCandyDis1Ani.ts
View file @
410284f4
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDis1Ani
=
(
x
,
y
,
p
)
=>
{
export
const
createCandyDis1Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis1_json'
);
const
spritesheet
=
RES
.
getRes
(
'candydis1_json'
);
if
(
!
spritesheet
)
return
;
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'
兔子糖果_000'
,
0
,
12
);
const
list
=
getEffectFramesStr
(
'
鸟糖果_000'
,
0
,
11
);
const
movieclip
=
new
MovieClip
({
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
spritesheet
:
spritesheet
,
...
...
egret/src/something/anis/candy/createCandyDis2Ani.ts
View file @
410284f4
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDis2Ani
=
(
x
,
y
,
p
)
=>
{
export
const
createCandyDis2Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis2_json'
);
const
spritesheet
=
RES
.
getRes
(
'candydis2_json'
);
if
(
!
spritesheet
)
return
;
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'
兔子糖果_000'
,
0
,
12
);
const
list
=
getEffectFramesStr
(
'
牛糖果_000'
,
0
,
11
);
const
movieclip
=
new
MovieClip
({
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
spritesheet
:
spritesheet
,
...
...
egret/src/something/anis/candy/createCandyDis3Ani.ts
View file @
410284f4
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDis3Ani
=
(
x
,
y
,
p
)
=>
{
export
const
createCandyDis3Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis3_json'
);
const
spritesheet
=
RES
.
getRes
(
'candydis3_json'
);
if
(
!
spritesheet
)
return
;
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'
兔子糖果_000'
,
0
,
12
);
const
list
=
getEffectFramesStr
(
'
狮子糖果_000'
,
0
,
11
);
const
movieclip
=
new
MovieClip
({
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
spritesheet
:
spritesheet
,
...
...
egret/src/something/anis/candy/createCandyDis4Ani.ts
View file @
410284f4
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
...
@@ -4,7 +4,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDis4Ani
=
(
x
,
y
,
p
)
=>
{
export
const
createCandyDis4Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis4_json'
);
const
spritesheet
=
RES
.
getRes
(
'candydis4_json'
);
if
(
!
spritesheet
)
return
;
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'
兔子
糖果_000'
,
0
,
11
);
const
list
=
getEffectFramesStr
(
'
猪
糖果_000'
,
0
,
11
);
const
movieclip
=
new
MovieClip
({
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
spritesheet
:
spritesheet
,
...
...
egret/src/something/chapters/Chapter13.ts
View file @
410284f4
This diff is collapsed.
Click to expand it.
egret/src/something/class/Candy.ts
View file @
410284f4
...
@@ -6,7 +6,7 @@ export class Candy extends egret.Sprite {
...
@@ -6,7 +6,7 @@ export class Candy extends egret.Sprite {
nextState
():
any
{
nextState
():
any
{
return
new
Promise
(
async
(
r
)
=>
{
return
new
Promise
(
async
(
r
)
=>
{
this
.
_step
--
;
this
.
_step
--
;
if
(
this
.
_step
<
0
)
{
if
(
this
.
_step
<
=
0
)
{
this
.
_step
=
0
;
this
.
_step
=
0
;
}
else
{
}
else
{
if
(
this
.
ele
)
this
.
ele
.
playCandySubAni
();
if
(
this
.
ele
)
this
.
ele
.
playCandySubAni
();
...
...
egret/src/something/enum/RecoverName.ts
View file @
410284f4
...
@@ -45,6 +45,7 @@ export enum RecoverName {
...
@@ -45,6 +45,7 @@ export enum RecoverName {
ROCK_ANI
=
"RockAni"
,
ROCK_ANI
=
"RockAni"
,
ICE_ANI
=
"IceAni"
,
ICE_ANI
=
"IceAni"
,
BOOM_ANI
=
"BoomAni"
,
BOOM_ANI
=
"BoomAni"
,
CANDY_DIS_ANI
=
"CandyDisAni"
,
ELEDIS_ANI
=
"EleDisAni"
,
ELEDIS_ANI
=
"EleDisAni"
,
HORIZONTAL_ANI
=
"HorizontalAni"
,
HORIZONTAL_ANI
=
"HorizontalAni"
,
VERTICAL_ANI
=
"VerticalAni"
,
VERTICAL_ANI
=
"VerticalAni"
,
...
...
mock/happyclear/homemax.json
View file @
410284f4
...
@@ -1131,6 +1131,387 @@
...
@@ -1131,6 +1131,387 @@
"levelNum"
:
225
,
"levelNum"
:
225
,
"maxScore"
:
47440
,
"maxScore"
:
47440
,
"stars"
:
1
"stars"
:
1
},
{
"levelNum"
:
226
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
227
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
228
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
229
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
230
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
231
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
232
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
233
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
234
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
235
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
236
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
237
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
238
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
239
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
240
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
241
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
242
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
243
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
244
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
245
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
246
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
247
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
248
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
249
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
250
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
251
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
252
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
253
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
254
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
255
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
256
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
257
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
258
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
259
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
260
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
261
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
262
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
263
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
264
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
265
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
266
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
267
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
268
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
269
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
270
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
271
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
272
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
273
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
274
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
275
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
276
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
277
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
278
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
279
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
280
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
281
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
282
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
283
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
284
,
"maxScore"
:
47440
,
"stars"
:
1
}
,
{
"levelNum"
:
285
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
286
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
287
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
288
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
289
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
290
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
291
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
292
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
293
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
294
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
295
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
296
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
297
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
298
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
299
,
"maxScore"
:
47440
,
"stars"
:
1
},
{
"levelNum"
:
300
,
"maxScore"
:
47440
,
"stars"
:
1
}
}
],
],
"remainProp"
:
[
"remainProp"
:
[
...
...
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