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
db21dcd0
Commit
db21dcd0
authored
Mar 02, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
478e3587
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
17 deletions
+20
-17
lineLight.png
egret/resource/assets/mainScene/lineLight.png
+0
-0
monster0.svga
egret/resource/assets/svgas/monster0.svga
+0
-0
monster1.svga
egret/resource/assets/svgas/monster1.svga
+0
-0
monster2.svga
egret/resource/assets/svgas/monster2.svga
+0
-0
monster4.svga
egret/resource/assets/svgas/monster4.svga
+0
-0
CrossAni.ts
egret/src/something/anis/CrossAni.ts
+10
-9
HorizontalAni.ts
egret/src/something/anis/HorizontalAni.ts
+5
-4
VerticalAni.ts
egret/src/something/anis/VerticalAni.ts
+5
-4
No files found.
egret/resource/assets/mainScene/lineLight.png
View replaced file @
478e3587
View file @
db21dcd0
153 KB
|
W:
|
H:
39 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/svgas/monster0.svga
View file @
db21dcd0
No preview for this file type
egret/resource/assets/svgas/monster1.svga
View file @
db21dcd0
No preview for this file type
egret/resource/assets/svgas/monster2.svga
View file @
db21dcd0
No preview for this file type
egret/resource/assets/svgas/monster4.svga
View file @
db21dcd0
No preview for this file type
egret/src/something/anis/CrossAni.ts
View file @
db21dcd0
...
...
@@ -8,16 +8,17 @@ export class CrossAni extends Ani {
constructor
()
{
super
()
this
.
aniName
=
"CrossAni"
;
this
.
showImage
=
new
eui
.
Image
(
"lineLight_png"
);
var
texture
:
egret
.
Texture
=
RES
.
getRes
(
"lineLight_png"
)
this
.
showImage
=
new
eui
.
Image
(
texture
);
this
.
addChild
(
this
.
showImage
);
this
.
showImage
.
anchorOffsetX
=
147
/
2
;
this
.
showImage
.
anchorOffsetY
=
690
;
this
.
showImage
.
anchorOffsetX
=
texture
.
textureWidth
/
2
;
this
.
showImage
.
anchorOffsetY
=
texture
.
textureHeight
/
2
;
this
.
showImage
.
scaleY
=
0.1
;
this
.
showImage2
=
new
eui
.
Image
(
"lineLight_png"
);
this
.
showImage2
=
new
eui
.
Image
(
texture
);
this
.
addChild
(
this
.
showImage2
);
this
.
showImage2
.
anchorOffsetX
=
147
/
2
;
this
.
showImage2
.
anchorOffsetY
=
690
;
this
.
showImage2
.
anchorOffsetX
=
texture
.
textureWidth
/
2
;
this
.
showImage2
.
anchorOffsetY
=
texture
.
textureHeight
/
2
;
this
.
showImage2
.
scaleY
=
0.1
;
this
.
showImage2
.
rotation
=
90
;
}
...
...
@@ -29,11 +30,11 @@ export class CrossAni extends Ani {
this
.
showImage2
.
scaleY
=
0.1
;
this
.
showImage2
.
alpha
=
1
;
egret
.
Tween
.
get
(
this
.
showImage
)
.
to
({
scaleY
:
1.2
},
300
)
.
to
({
scaleY
:
2.4
},
300
)
.
to
({
alpha
:
0
},
100
)
egret
.
Tween
.
get
(
this
.
showImage2
)
.
to
({
scaleY
:
1.2
},
300
)
.
to
({
scaleY
:
2.4
},
300
)
.
to
({
alpha
:
0
},
100
)
.
call
(()
=>
{
this
.
recover
();
...
...
egret/src/something/anis/HorizontalAni.ts
View file @
db21dcd0
...
...
@@ -7,10 +7,11 @@ export class HorizontalAni extends Ani {
constructor
()
{
super
()
this
.
aniName
=
"HorizontalAni"
;
this
.
showImage
=
new
eui
.
Image
(
"lineLight_png"
);
var
texture
:
egret
.
Texture
=
RES
.
getRes
(
"lineLight_png"
)
this
.
showImage
=
new
eui
.
Image
(
texture
);
this
.
addChild
(
this
.
showImage
);
this
.
showImage
.
anchorOffsetX
=
147
/
2
;
this
.
showImage
.
anchorOffsetY
=
690
;
this
.
showImage
.
anchorOffsetX
=
texture
.
textureWidth
/
2
;
this
.
showImage
.
anchorOffsetY
=
texture
.
textureHeight
/
2
;
// this.showImage.x = -147 / 2;
// this.showImage.y = -690;
this
.
showImage
.
scaleY
=
0.1
;
...
...
@@ -22,7 +23,7 @@ export class HorizontalAni extends Ani {
this
.
showImage
.
scaleY
=
0.1
;
this
.
showImage
.
alpha
=
1
;
egret
.
Tween
.
get
(
this
.
showImage
)
.
to
({
scaleY
:
1.2
},
300
)
.
to
({
scaleY
:
2.4
},
300
)
.
to
({
alpha
:
0
},
100
)
.
call
(()
=>
{
this
.
recover
();
...
...
egret/src/something/anis/VerticalAni.ts
View file @
db21dcd0
...
...
@@ -7,10 +7,11 @@ export class VerticalAni extends Ani {
constructor
()
{
super
()
this
.
aniName
=
"VerticalAni"
;
this
.
showImage
=
new
eui
.
Image
(
"lineLight_png"
);
var
texture
:
egret
.
Texture
=
RES
.
getRes
(
"lineLight_png"
)
this
.
showImage
=
new
eui
.
Image
(
texture
);
this
.
addChild
(
this
.
showImage
);
this
.
showImage
.
anchorOffsetX
=
147
/
2
;
this
.
showImage
.
anchorOffsetY
=
690
;
this
.
showImage
.
anchorOffsetX
=
texture
.
textureWidth
/
2
;
this
.
showImage
.
anchorOffsetY
=
texture
.
textureHeight
/
2
;
// this.showImage.x = -147 / 2;
// this.showImage.y = -690;
this
.
showImage
.
scaleY
=
0.1
;
...
...
@@ -22,7 +23,7 @@ export class VerticalAni extends Ani {
this
.
showImage
.
scaleY
=
0.1
;
this
.
showImage
.
alpha
=
1
;
egret
.
Tween
.
get
(
this
.
showImage
)
.
to
({
scaleY
:
1.2
},
300
)
.
to
({
scaleY
:
2.4
},
300
)
.
to
({
alpha
:
0
},
100
)
.
call
(()
=>
{
this
.
recover
();
...
...
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