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
bff8126a
Commit
bff8126a
authored
Feb 03, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
7e745786
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
4 deletions
+28
-4
MainBase.ts
egret/libs/new_wx/MainBase.ts
+7
-3
chocolate0.png
egret/resource/assets/common/chocolate0.png
+0
-0
chocolate1.png
egret/resource/assets/common/chocolate1.png
+0
-0
chocolate2.png
egret/resource/assets/common/chocolate2.png
+0
-0
chocolate3.png
egret/resource/assets/common/chocolate3.png
+0
-0
ele14.png
egret/resource/assets/mainScene/ele14.png
+0
-0
default.res.json
egret/resource/default.res.json
+21
-1
No files found.
egret/libs/new_wx/MainBase.ts
View file @
bff8126a
...
@@ -234,7 +234,7 @@ export default class MainBase extends eui.UILayer {
...
@@ -234,7 +234,7 @@ export default class MainBase extends eui.UILayer {
// tslint:disable-next-line: cyclomatic-complexity
// tslint:disable-next-line: cyclomatic-complexity
private
async
runGame
()
{
private
async
runGame
()
{
await
this
.
loadResource
();
await
this
.
loadResource
();
RES
.
getResAsync
(
'mapBg_mp3'
);
RES
.
getResAsync
(
'mapBg_mp3'
);
RES
.
getResAsync
(
'sharefriend_jpg'
);
RES
.
getResAsync
(
'sharefriend_jpg'
);
RES
.
getResAsync
(
`nums_png`
);
RES
.
getResAsync
(
`nums_png`
);
...
@@ -263,7 +263,11 @@ export default class MainBase extends eui.UILayer {
...
@@ -263,7 +263,11 @@ export default class MainBase extends eui.UILayer {
RES
.
getResAsync
(
'maplight2_png'
);
RES
.
getResAsync
(
'maplight2_png'
);
RES
.
getResAsync
(
'main_mapbottom_png'
);
RES
.
getResAsync
(
'main_mapbottom_png'
);
RES
.
getResAsync
(
'lightani_png'
);
RES
.
getResAsync
(
'lightani_png'
);
//新增情人节元素,四张图片
for
(
var
i
=
0
;
i
<
4
;
i
++
)
{
RES
.
getResAsync
(
"chocolate"
+
i
+
"_png"
)
}
for
(
var
i
=
1
;
i
<
19
;
i
++
)
{
for
(
var
i
=
1
;
i
<
19
;
i
++
)
{
RES
.
getResAsync
(
"boom"
+
i
+
"_png"
)
RES
.
getResAsync
(
"boom"
+
i
+
"_png"
)
...
@@ -436,7 +440,7 @@ export default class MainBase extends eui.UILayer {
...
@@ -436,7 +440,7 @@ export default class MainBase extends eui.UILayer {
RES
.
getResAsync
(
'loading_jpg'
,
(
t
)
=>
{
r
(
t
)
},
this
)
RES
.
getResAsync
(
'loading_jpg'
,
(
t
)
=>
{
r
(
t
)
},
this
)
})
})
]);
]);
}
}
catch
(
e
)
{
catch
(
e
)
{
console
.
error
(
e
);
console
.
error
(
e
);
...
...
egret/resource/assets/common/chocolate0.png
0 → 100644
View file @
bff8126a
10.1 KB
egret/resource/assets/common/chocolate1.png
0 → 100644
View file @
bff8126a
10.3 KB
egret/resource/assets/common/chocolate2.png
0 → 100644
View file @
bff8126a
10.5 KB
egret/resource/assets/common/chocolate3.png
0 → 100644
View file @
bff8126a
10.8 KB
egret/resource/assets/mainScene/ele14.png
View replaced file @
7e745786
View file @
bff8126a
6.67 KB
|
W:
|
H:
8.73 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/default.res.json
View file @
bff8126a
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
"name"
:
"signprize"
"name"
:
"signprize"
},
},
{
{
"keys"
:
"turnnoprize再来一次2_png,toast_png,sharenums_png,sharenums_fnt,share_btn2_png,share_btn1_png,prizePanelbg_png,nums3_png,nums3_fnt,nums2_png,nums2_fnt,nums_png,nums_fnt,lightani_png,exchangebtn_png,cutTimeFont_png,cutTimeFont_fnt,common_yuanbao_png,common_prop3_png,common_prop2_png,common_prop1_png,common_prizelight_png,common_money_png,common_blood_png,common_adbg_png,commmon_okbtn1_png,closeCommonBtn_png,btn_png,alertbg_png,朋友圈中间分享蒙层1_jpg,按钮 副本 4_png,按钮 副本 3_png,common_block_png,common_block_front_png,common_block_bg_yellow_png,common_block_bg_red_png,common_block_bg_blue_png"
,
"keys"
:
"turnnoprize再来一次2_png,toast_png,sharenums_png,sharenums_fnt,share_btn2_png,share_btn1_png,prizePanelbg_png,nums3_png,nums3_fnt,nums2_png,nums2_fnt,nums_png,nums_fnt,lightani_png,exchangebtn_png,cutTimeFont_png,cutTimeFont_fnt,common_yuanbao_png,common_prop3_png,common_prop2_png,common_prop1_png,common_prizelight_png,common_money_png,common_blood_png,common_adbg_png,commmon_okbtn1_png,closeCommonBtn_png,btn_png,alertbg_png,朋友圈中间分享蒙层1_jpg,按钮 副本 4_png,按钮 副本 3_png,common_block_png,common_block_front_png,common_block_bg_yellow_png,common_block_bg_red_png,common_block_bg_blue_png
,chocolate3_png,chocolate1_png,chocolate0_png,chocolate2_png
"
,
"name"
:
"common"
"name"
:
"common"
},
},
{
{
...
@@ -4287,6 +4287,26 @@
...
@@ -4287,6 +4287,26 @@
"url"
:
"assets/redbombtips/redbagtips_elexx.png"
,
"url"
:
"assets/redbombtips/redbagtips_elexx.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"redbagtips_elexx_png"
"name"
:
"redbagtips_elexx_png"
},
{
"url"
:
"assets/common/chocolate1.png"
,
"type"
:
"image"
,
"name"
:
"chocolate1_png"
},
{
"url"
:
"assets/common/chocolate0.png"
,
"type"
:
"image"
,
"name"
:
"chocolate0_png"
},
{
"url"
:
"assets/common/chocolate3.png"
,
"type"
:
"image"
,
"name"
:
"chocolate3_png"
},
{
"url"
:
"assets/common/chocolate2.png"
,
"type"
:
"image"
,
"name"
:
"chocolate2_png"
}
}
]
]
}
}
\ 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