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
4efe6d1b
Commit
4efe6d1b
authored
Jan 21, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f5ab12ea
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
4 deletions
+23
-4
redbombtips2.tmproject
egret/resource/TextureMerger/redbombtips2.tmproject
+1
-1
redbagtips_elexx.png
egret/resource/assets/redbombtips/redbagtips_elexx.png
+0
-0
redbagtips按钮.png
egret/resource/assets/redbombtips/redbagtips按钮.png
+0
-0
redBombTip2.svga
egret/resource/assets/svgas/redBombTip2.svga
+0
-0
default.res.json
egret/resource/default.res.json
+6
-1
RedBombTips2Skin.exml
egret/resource/skins/RedBombTips2Skin.exml
+3
-1
BombTips2Panel.ts
egret/src/panels/BombTips2Panel.ts
+13
-1
No files found.
egret/resource/TextureMerger/redbombtips2.tmproject
View file @
4efe6d1b
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"redbombtips2","version":5,"files":["../assets/redbombtips/redbagtips_ele.png","../assets/redbombtips/redbagtips_ele1.png","../assets/redbombtips/redbagtips_ele2.png","../assets/redbombtips/redbagtips_ele3.png","../assets/redbombtips/redbagtips_light.png","../assets/redbombtips/redbagtips按钮.png","../assets/redbombtips/redbagtips活动规则.png","../assets/redbombtips/redbagtipsbg.png","../assets/redbombtips/redbagtips_ele7.png"]}
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"redbombtips2","version":5,"files":["../assets/redbombtips/redbagtips_ele.png","../assets/redbombtips/redbagtips_ele1.png","../assets/redbombtips/redbagtips_ele2.png","../assets/redbombtips/redbagtips_ele3.png","../assets/redbombtips/redbagtips_light.png","../assets/redbombtips/redbagtips按钮.png","../assets/redbombtips/redbagtips活动规则.png","../assets/redbombtips/redbagtipsbg.png","../assets/redbombtips/redbagtips_ele7.png","../assets/redbombtips/redbagtips_elexx.png"]}
\ No newline at end of file
\ No newline at end of file
egret/resource/assets/redbombtips/redbagtips_elexx.png
0 → 100644
View file @
4efe6d1b
34.2 KB
egret/resource/assets/redbombtips/redbagtips按钮.png
View replaced file @
f5ab12ea
View file @
4efe6d1b
25.5 KB
|
W:
|
H:
19.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/assets/svgas/redBombTip2.svga
0 → 100644
View file @
4efe6d1b
File added
egret/resource/default.res.json
View file @
4efe6d1b
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
"name"
:
"redbombtips"
"name"
:
"redbombtips"
},
},
{
{
"keys"
:
"redbagtips_ele_png,redbagtips_ele1_png,redbagtips_ele2_png,redbagtips_ele3_png,redbagtips_light_png,redbagtips按钮_png,redbagtips活动规则_png,redbagtipsbg_png,redbagtips_ele7_png"
,
"keys"
:
"redbagtips_ele_png,redbagtips_ele1_png,redbagtips_ele2_png,redbagtips_ele3_png,redbagtips_light_png,redbagtips按钮_png,redbagtips活动规则_png,redbagtipsbg_png,redbagtips_ele7_png
,redbagtips_elexx_png
"
,
"name"
:
"redbombtips2"
"name"
:
"redbombtips2"
},
},
{
{
...
@@ -4282,6 +4282,11 @@
...
@@ -4282,6 +4282,11 @@
"url"
:
"assets/mainScene/ele22.png"
,
"url"
:
"assets/mainScene/ele22.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"ele22_png"
"name"
:
"ele22_png"
},
{
"url"
:
"assets/redbombtips/redbagtips_elexx.png"
,
"type"
:
"image"
,
"name"
:
"redbagtips_elexx_png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/RedBombTips2Skin.exml
View file @
4efe6d1b
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"RedBombTipsSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"RedBombTipsSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Group
id=
"con1"
/>
<e:Image
id=
"rulebtn"
source=
"redbagtips活动规则_png"
y=
"814"
horizontalCenter=
"0"
/>
<e:Image
id=
"rulebtn"
source=
"redbagtips活动规则_png"
y=
"814"
horizontalCenter=
"0"
/>
<e:Image
source=
"redbagtips_elexx_png"
x=
"210"
y=
"50"
/>
<e:Group
id=
"btn"
y=
"693.31"
horizontalCenter=
"0"
>
<e:Group
id=
"btn"
y=
"693.31"
horizontalCenter=
"0"
>
<e:Image
source=
"redbagtips按钮_png"
y=
"0"
x=
"0"
/>
<e:Image
source=
"redbagtips按钮_png"
y=
"0"
x=
"0"
/>
<e:Label
text=
"找红包"
verticalCenter=
"-
10
"
horizontalCenter=
"0"
size=
"38"
strokeColor=
"0x0389ff"
stroke=
"2"
fontFamily=
"FZY3JW"
/>
<e:Label
text=
"找红包"
verticalCenter=
"-
3.5
"
horizontalCenter=
"0"
size=
"38"
strokeColor=
"0x0389ff"
stroke=
"2"
fontFamily=
"FZY3JW"
/>
</e:Group>
</e:Group>
</e:Skin>
</e:Skin>
\ No newline at end of file
egret/src/panels/BombTips2Panel.ts
View file @
4efe6d1b
...
@@ -16,7 +16,19 @@ export default class BombTips2Panel extends Panel {
...
@@ -16,7 +16,19 @@ export default class BombTips2Panel extends Panel {
loadSvga
(
getResPath
()
+
'resource/assets/svgas/redBombTip.svga'
).
then
(
loadSvga
(
getResPath
()
+
'resource/assets/svgas/redBombTip.svga'
).
then
(
(
mv
:
egret
.
DisplayObject
)
=>
{
(
mv
:
egret
.
DisplayObject
)
=>
{
mv
.
y
=
-
190
;
mv
.
y
=
-
190
;
this
.
addChildAt
(
mv
,
1
);
this
[
'con1'
].
addChild
(
mv
);
this
.
mv
=
mv
;
mv
.
addEventListener
(
egret
.
Event
.
COMPLETE
,
()
=>
{
// @ts-ignore
mv
.
gotoAndPlay
(
45
,
true
);
},
this
);
}
);
loadSvga
(
getResPath
()
+
'resource/assets/svgas/redBombTip2.svga'
).
then
(
(
mv
:
egret
.
DisplayObject
)
=>
{
mv
.
y
=
0
;
this
[
'con1'
].
addChild
(
mv
);
this
.
mv
=
mv
;
this
.
mv
=
mv
;
mv
.
addEventListener
(
egret
.
Event
.
COMPLETE
,
()
=>
{
mv
.
addEventListener
(
egret
.
Event
.
COMPLETE
,
()
=>
{
// @ts-ignore
// @ts-ignore
...
...
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