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
4a13b22c
Commit
4a13b22c
authored
Jan 07, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e30a0296
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
119 additions
and
0 deletions
+119
-0
createCandyDie0Ani.ts
egret/src/something/anis/candy/createCandyDie0Ani.ts
+1
-0
createCandyDie1Ani.ts
egret/src/something/anis/candy/createCandyDie1Ani.ts
+1
-0
createCandyDie2Ani.ts
egret/src/something/anis/candy/createCandyDie2Ani.ts
+1
-0
createCandyDie3Ani.ts
egret/src/something/anis/candy/createCandyDie3Ani.ts
+1
-0
createCandyDie4Ani.ts
egret/src/something/anis/candy/createCandyDie4Ani.ts
+1
-0
createCandyDieBgAni.ts
egret/src/something/anis/candy/createCandyDieBgAni.ts
+1
-0
createCandyDis0Ani.ts
egret/src/something/anis/candy/createCandyDis0Ani.ts
+22
-0
createCandyDis1Ani.ts
egret/src/something/anis/candy/createCandyDis1Ani.ts
+22
-0
createCandyDis2Ani.ts
egret/src/something/anis/candy/createCandyDis2Ani.ts
+22
-0
createCandyDis3Ani.ts
egret/src/something/anis/candy/createCandyDis3Ani.ts
+22
-0
createCandyDis4Ani.ts
egret/src/something/anis/candy/createCandyDis4Ani.ts
+22
-0
createCandySubAni.ts
egret/src/something/anis/candy/createCandySubAni.ts
+1
-0
StartScene.ts
egret/src/startScene/StartScene.ts
+2
-0
No files found.
egret/src/something/anis/candy/createCandyDie0Ani.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDie0Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydie0_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'破碎兔_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDie1Ani.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDie1Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydie1_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'破碎鸟_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDie2Ani.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDie2Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydie2_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'破碎牛_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDie3Ani.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDie3Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydie3_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'破碎狮子_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDie4Ani.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDie4Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydie4_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'破碎猪_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDieBgAni.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandyDieBgAni
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydiebg_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'糖果消失光_000'
,
0
,
13
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/something/anis/candy/createCandyDis0Ani.ts
0 → 100644
View file @
4a13b22c
import
{
getEffectFramesStr
}
from
"../../../effect/createEffect1"
;
import
MovieClip
from
"../../../movieclip/MovieClip"
;
export
const
createCandyDis0Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis0_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
0.4
,
anchor
:
[.
5
,
0.25
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,()
=>
{
p
.
removeChild
(
movieclip
);
},
this
);
}
\ No newline at end of file
egret/src/something/anis/candy/createCandyDis1Ani.ts
0 → 100644
View file @
4a13b22c
import
{
getEffectFramesStr
}
from
"../../../effect/createEffect1"
;
import
MovieClip
from
"../../../movieclip/MovieClip"
;
export
const
createCandyDis1Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis1_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
0.4
,
anchor
:
[.
5
,
0.25
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,()
=>
{
p
.
removeChild
(
movieclip
);
},
this
);
}
\ No newline at end of file
egret/src/something/anis/candy/createCandyDis2Ani.ts
0 → 100644
View file @
4a13b22c
import
{
getEffectFramesStr
}
from
"../../../effect/createEffect1"
;
import
MovieClip
from
"../../../movieclip/MovieClip"
;
export
const
createCandyDis2Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis2_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
0.4
,
anchor
:
[.
5
,
0.25
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,()
=>
{
p
.
removeChild
(
movieclip
);
},
this
);
}
\ No newline at end of file
egret/src/something/anis/candy/createCandyDis3Ani.ts
0 → 100644
View file @
4a13b22c
import
{
getEffectFramesStr
}
from
"../../../effect/createEffect1"
;
import
MovieClip
from
"../../../movieclip/MovieClip"
;
export
const
createCandyDis3Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis3_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
12
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
0.4
,
anchor
:
[.
5
,
0.25
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,()
=>
{
p
.
removeChild
(
movieclip
);
},
this
);
}
\ No newline at end of file
egret/src/something/anis/candy/createCandyDis4Ani.ts
0 → 100644
View file @
4a13b22c
import
{
getEffectFramesStr
}
from
"../../../effect/createEffect1"
;
import
MovieClip
from
"../../../movieclip/MovieClip"
;
export
const
createCandyDis4Ani
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candydis4_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'兔子糖果_000'
,
0
,
11
);
const
movieclip
=
new
MovieClip
({
spritesheet
:
spritesheet
,
frameInterval
:
2
,
frames
:
list
,
position
:
[
x
,
y
],
scale
:
0.4
,
anchor
:
[.
5
,
0.25
],
loop
:
false
});
p
.
addChild
(
movieclip
);
movieclip
.
once
(
egret
.
Event
.
COMPLETE
,()
=>
{
p
.
removeChild
(
movieclip
);
},
this
);
}
\ No newline at end of file
egret/src/something/anis/candy/createCandySubAni.ts
View file @
4a13b22c
...
...
@@ -3,6 +3,7 @@ import MovieClip from "../../../movieclip/MovieClip";
export
const
createCandySubAni
=
(
x
,
y
,
p
)
=>
{
const
spritesheet
=
RES
.
getRes
(
'candysub_json'
);
if
(
!
spritesheet
)
return
;
const
list
=
getEffectFramesStr
(
'数字减少星星_000'
,
0
,
15
);
const
movieclip
=
new
MovieClip
({
...
...
egret/src/startScene/StartScene.ts
View file @
4a13b22c
...
...
@@ -117,6 +117,8 @@ export const createData = () => {
if
(
_startSceneData
)
return
_startSceneData
;
const
startSceneData
:
any
=
{};
_startSceneData
=
startSceneData
;
if
(
_startSceneData
.
level
===
null
||
_startSceneData
.
level
===
undefined
)
delete
_startSceneData
.
level
const
repeatCount
=
getRepeatCount
();
const
list
=
[];
...
...
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