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
23ce7b5e
Commit
23ce7b5e
authored
Oct 30, 2019
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
771f27cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
88 additions
and
1 deletion
+88
-1
MainBase.ts
egret/libs/new_wx/MainBase.ts
+4
-0
HairballGreyDisAni.ts
egret/src/something/anis/HairballGreyDisAni.ts
+84
-1
No files found.
egret/libs/new_wx/MainBase.ts
View file @
23ce7b5e
...
@@ -256,7 +256,11 @@ export default class MainBase extends eui.UILayer {
...
@@ -256,7 +256,11 @@ export default class MainBase extends eui.UILayer {
for
(
var
i
=
1
;
i
<=
19
;
i
++
)
{
for
(
var
i
=
1
;
i
<=
19
;
i
++
)
{
RES
.
getResAsync
(
"bubbleStar"
+
i
+
"_png"
)
RES
.
getResAsync
(
"bubbleStar"
+
i
+
"_png"
)
}
}
for
(
var
i
=
1
;
i
<=
11
;
i
++
)
{
RES
.
getResAsync
(
"hairballPiece"
+
i
+
"_png"
)
}
var
arr
=
[
var
arr
=
[
"hairballDisBg"
,
"brownBallFace"
,
"brownBallFace"
,
"greyBallFace"
,
"greyBallFace"
,
"eyeDownLeft"
,
"eyeDownLeft"
,
...
...
egret/src/something/anis/HairballGreyDisAni.ts
View file @
23ce7b5e
...
@@ -30,3 +30,86 @@ export class HairballGreyDisAni extends Ani {
...
@@ -30,3 +30,86 @@ export class HairballGreyDisAni extends Ani {
})
})
}
}
}
}
/**
* 碎片位置参数
*/
const
config
=
[
{
"name"
:
"hairballPiece1"
,
"x"
:
5
,
"y"
:
46
,
"width"
:
33
,
"height"
:
15
},
{
"name"
:
"hairballPiece2"
,
"x"
:
32
,
"y"
:
41
,
"width"
:
36
,
"height"
:
21
},
{
"name"
:
"hairballPiece3"
,
"x"
:
0
,
"y"
:
37
,
"width"
:
36
,
"height"
:
21
},
{
"name"
:
"hairballPiece4"
,
"x"
:
30
,
"y"
:
26
,
"width"
:
41
,
"height"
:
31
},
{
"name"
:
"hairballPiece5"
,
"x"
:
1
,
"y"
:
32
,
"width"
:
42
,
"height"
:
17
},
{
"name"
:
"hairballPiece6"
,
"x"
:
33
,
"y"
:
30
,
"width"
:
34
,
"height"
:
17
},
{
"name"
:
"hairballPiece7"
,
"x"
:
1
,
"y"
:
23
,
"width"
:
47
,
"height"
:
15
},
{
"name"
:
"hairballPiece8"
,
"x"
:
33
,
"y"
:
20
,
"width"
:
38
,
"height"
:
14
},
{
"name"
:
"hairballPiece9"
,
"x"
:
2
,
"y"
:
16
,
"width"
:
41
,
"height"
:
11
},
{
"name"
:
"hairballPiece10"
,
"x"
:
31
,
"y"
:
13
,
"width"
:
39
,
"height"
:
10
},
{
"name"
:
"hairballPiece11"
,
"x"
:
5
,
"y"
:
0
,
"width"
:
65
,
"height"
:
23
}
]
\ No newline at end of file
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