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
44fff0cc
Commit
44fff0cc
authored
Aug 28, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ba18d0ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
MainBase.ts
egret/libs/new_wx/MainBase.ts
+1
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+0
-4
No files found.
egret/libs/new_wx/MainBase.ts
View file @
44fff0cc
...
@@ -129,7 +129,7 @@ export default class MainBase extends eui.UILayer {
...
@@ -129,7 +129,7 @@ export default class MainBase extends eui.UILayer {
private
async
runGame
()
{
private
async
runGame
()
{
await
this
.
loadResource
();
await
this
.
loadResource
();
//
RES.getResAsync('bg_mp3');
RES
.
getResAsync
(
'bg_mp3'
);
RES
.
getResAsync
(
`nums_png`
);
RES
.
getResAsync
(
`nums_png`
);
RES
.
getResAsync
(
`nums_fnt`
);
RES
.
getResAsync
(
`nums_fnt`
);
if
(
!
window
[
'development'
])
if
(
!
window
[
'development'
])
...
...
egret/src/mapScene/MapScene.ts
View file @
44fff0cc
...
@@ -92,10 +92,6 @@ export default class MapScene extends Scene {
...
@@ -92,10 +92,6 @@ export default class MapScene extends Scene {
PanelCtrl
.
instance
.
show
(
'StartPanel'
,
data
.
level
)
PanelCtrl
.
instance
.
show
(
'StartPanel'
,
data
.
level
)
}
}
window
[
"WeixinJSBridge"
]
&&
window
[
"WeixinJSBridge"
].
invoke
(
'getNetworkType'
,
{},
(
e
)
=>
{
playBg
();
});
this
.
stage
.
once
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
this
.
stage
.
once
(
egret
.
TouchEvent
.
TOUCH_TAP
,
()
=>
{
if
(
!
MapScene
[
'firstPlayBgTag'
])
{
if
(
!
MapScene
[
'firstPlayBgTag'
])
{
playBg
();
playBg
();
...
...
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