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
54697ff1
Commit
54697ff1
authored
Oct 09, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
589cda09
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
testavatar.png
egret/resource/assets/testavatar.png
+0
-0
default.res.json
egret/resource/default.res.json
+6
-1
MapSkin.exml
egret/resource/skins/MapSkin.exml
+6
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+2
-0
No files found.
egret/resource/assets/testavatar.png
0 → 100644
View file @
54697ff1
17.1 KB
egret/resource/default.res.json
View file @
54697ff1
...
...
@@ -90,7 +90,7 @@
},
{
"name"
:
"preload"
,
"keys"
:
"namebg_png,avatar_png,invite_txtbg_png,invite_icon_png,taskicon_png,friend_avatar_png,ad_icon_png"
"keys"
:
"namebg_png,avatar_png,invite_txtbg_png,invite_icon_png,taskicon_png,friend_avatar_png,ad_icon_png
,testavatar_png
"
}
],
"resources"
:
[
...
...
@@ -2008,6 +2008,11 @@
"name"
:
"ad_icon_png"
,
"type"
:
"image"
,
"url"
:
"assets/map/ad_icon.png"
},
{
"name"
:
"testavatar_png"
,
"type"
:
"image"
,
"url"
:
"assets/testavatar.png"
}
]
}
\ No newline at end of file
egret/resource/skins/MapSkin.exml
View file @
54697ff1
...
...
@@ -148,9 +148,14 @@
</e:Group>
<e:Label
text=
"点击开宝箱"
y=
"791"
size=
"37"
horizontalCenter=
"0"
bold=
"true"
/>
</e:Group>
<e:Group
id=
"friendBtn"
x=
"13.56"
y=
"126.88"
width=
"171"
>
<e:Group
id=
"friendBtn"
x=
"13.56"
y=
"126.88"
width=
"171"
height=
"120"
>
<e:Image
source=
"avatar_png"
y=
"0"
horizontalCenter=
"0"
/>
<e:Group
x=
"38.5"
y=
"10"
locked=
"true"
>
<e:Image
id=
"avatar"
y=
"0"
source=
"testavatar_png"
width=
"96"
height=
"96"
x=
"0"
/>
<e:Rect
id=
"avatarMask"
width=
"96"
height=
"96"
x=
"0"
y=
"0"
ellipseWidth=
"96"
ellipseHeight=
"96"
/>
</e:Group>
<e:Image
source=
"namebg_png"
horizontalCenter=
"-4"
bottom=
"-4"
/>
<e:Label
id=
"nameTxt"
text=
"La121233bel"
y=
"91.5"
size=
"20"
horizontalCenter=
"1"
/>
</e:Group>
<e:Image
id=
"adBtn"
y=
"648.02"
source=
"ad_icon_png"
right=
"12"
/>
<w:Config
id=
"16c89f4ae1a"
/>
...
...
egret/src/mapScene/MapScene.ts
View file @
54697ff1
...
...
@@ -33,6 +33,8 @@ export default class MapScene extends Scene {
super
.
start
();
this
[
'avatar'
].
mask
=
this
[
'avatarMask'
];
// setTimeout(() => {
// PanelCtrl.instance.show('invite');
// }, 3000);
...
...
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