Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
yyh
Commits
11f42d42
Commit
11f42d42
authored
Dec 10, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/wanghongyuan/yyh
into dev
parents
3ac3453e
e0bc15ed
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
66 additions
and
31 deletions
+66
-31
mapam.png
egret/resource/assets/map/mapam.png
+0
-0
mapcx.png
egret/resource/assets/map/mapcx.png
+0
-0
maphg.png
egret/resource/assets/map/maphg.png
+0
-0
mapmg.png
egret/resource/assets/map/mapmg.png
+0
-0
maprb.png
egret/resource/assets/map/maprb.png
+0
-0
maptb.png
egret/resource/assets/map/maptb.png
+0
-0
mapxg.png
egret/resource/assets/map/mapxg.png
+0
-0
default.res.json
egret/resource/default.res.json
+36
-1
StartScene.ts
egret/src/startScene/StartScene.ts
+13
-13
RecordMapScene.ts
egret/src/yazuwei/RecordMapScene.ts
+17
-17
No files found.
egret/resource/assets/map/mapam.png
0 → 100644
View file @
11f42d42
370 KB
egret/resource/assets/map/mapcx.png
0 → 100644
View file @
11f42d42
285 KB
egret/resource/assets/map/maphg.png
0 → 100644
View file @
11f42d42
323 KB
egret/resource/assets/map/mapmg.png
0 → 100644
View file @
11f42d42
244 KB
egret/resource/assets/map/maprb.png
0 → 100644
View file @
11f42d42
358 KB
egret/resource/assets/map/maptb.png
0 → 100644
View file @
11f42d42
270 KB
egret/resource/assets/map/mapxg.png
0 → 100644
View file @
11f42d42
335 KB
egret/resource/default.res.json
View file @
11f42d42
...
...
@@ -5,7 +5,7 @@
"name"
:
"Preload"
},
{
"keys"
:
"mrxg_png,mrtitle_png,mrtb_png,mrrb_png,mrmg_png,mrhz_png,mrhg_png,mrcx_png,mrbg_jpg,mram_png,mapshareBtn_png,mappass_png,maphz_png,mapBtn_png,rulebg_png,rankmybg_png,rankline_png,ranklight_png,rankbg2_png,rankbg_png,lessscoreBtn_png,lessscorebg_png,finishlogo_png,finishlight_png,finishBtn_png,finishbg_png,progress_png,bg_png,xuanshiBtn_png,xuanshiBG_png"
,
"keys"
:
"mrxg_png,mrtitle_png,mrtb_png,mrrb_png,mrmg_png,mrhz_png,mrhg_png,mrcx_png,mrbg_jpg,mram_png,mapshareBtn_png,mappass_png,maphz_png,mapBtn_png,rulebg_png,rankmybg_png,rankline_png,ranklight_png,rankbg2_png,rankbg_png,lessscoreBtn_png,lessscorebg_png,finishlogo_png,finishlight_png,finishBtn_png,finishbg_png,progress_png,bg_png,xuanshiBtn_png,xuanshiBG_png
,mapcx_png,maphg_png,mapmg_png,mapxg_png,mapam_png,maprb_png,maptb_png
"
,
"name"
:
"Normal"
},
{
...
...
@@ -622,6 +622,41 @@
"url"
:
"assets/waiting/progress.png"
,
"type"
:
"image"
,
"name"
:
"progress_png"
},
{
"url"
:
"assets/map/mapcx.png"
,
"type"
:
"image"
,
"name"
:
"mapcx_png"
},
{
"url"
:
"assets/map/maphg.png"
,
"type"
:
"image"
,
"name"
:
"maphg_png"
},
{
"url"
:
"assets/map/mapmg.png"
,
"type"
:
"image"
,
"name"
:
"mapmg_png"
},
{
"url"
:
"assets/map/mapxg.png"
,
"type"
:
"image"
,
"name"
:
"mapxg_png"
},
{
"url"
:
"assets/map/mapam.png"
,
"type"
:
"image"
,
"name"
:
"mapam_png"
},
{
"url"
:
"assets/map/maprb.png"
,
"type"
:
"image"
,
"name"
:
"maprb_png"
},
{
"url"
:
"assets/map/maptb.png"
,
"type"
:
"image"
,
"name"
:
"maptb_png"
}
]
}
\ No newline at end of file
egret/src/startScene/StartScene.ts
View file @
11f42d42
...
...
@@ -132,46 +132,46 @@ export default class StartScene extends Scene {
// for(let i = 0;i<num;i++){
// this[this.arr[i]].source = this[this.arr[i]].source.substring(2);
// }
if
(
num
=
1
){
if
(
num
=
=
1
){
this
.
hz
.
source
=
"CHNhangzhou_png"
}
else
if
(
num
=
2
){
}
else
if
(
num
=
=
2
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
}
else
if
(
num
=
3
){
}
else
if
(
num
=
=
3
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
}
else
if
(
num
=
4
){
}
else
if
(
num
=
=
4
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
this
.
tb
.
source
=
"CHNtaiwan
png
_png"
}
else
if
(
num
=
5
){
this
.
tb
.
source
=
"CHNtaiwan_png"
}
else
if
(
num
=
=
5
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
this
.
tb
.
source
=
"CHNtaiwan
png
_png"
this
.
tb
.
source
=
"CHNtaiwan_png"
this
.
rb
.
source
=
"riben_png"
}
else
if
(
num
=
6
){
}
else
if
(
num
=
=
6
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
this
.
tb
.
source
=
"CHNtaiwan
png
_png"
this
.
tb
.
source
=
"CHNtaiwan_png"
this
.
rb
.
source
=
"riben_png"
this
.
hg
.
source
=
"hanguo_png"
}
else
if
(
num
=
7
){
}
else
if
(
num
=
=
7
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
this
.
tb
.
source
=
"CHNtaiwan
png
_png"
this
.
tb
.
source
=
"CHNtaiwan_png"
this
.
rb
.
source
=
"riben_png"
this
.
hg
.
source
=
"hanguo_png"
this
.
cx
.
source
=
"chaoxian_png"
}
else
if
(
num
=
8
){
}
else
if
(
num
=
=
8
){
this
.
hz
.
source
=
"CHNhangzhou_png"
this
.
am
.
source
=
"CHNaomen_png"
this
.
xg
.
source
=
"CHNxianggang_png"
this
.
tb
.
source
=
"CHNtaiwan
png
_png"
this
.
tb
.
source
=
"CHNtaiwan_png"
this
.
rb
.
source
=
"riben_png"
this
.
hg
.
source
=
"hanguo_png"
this
.
cx
.
source
=
"chaoxian_png"
...
...
egret/src/yazuwei/RecordMapScene.ts
View file @
11f42d42
...
...
@@ -17,23 +17,23 @@ export default class RecordMapScene extends Scene{
}
initUI
(
data
){
//
if(data.num == 1){
//
this.mapBG.source = "maphz_png"
//
}else if(data.num == 2){
//
this.mapBG.source = "mapam_png"
//
}else if(data.num == 3){
//
this.mapBG.source = "mapxg_png"
//
}else if(data.num == 4){
//
this.mapBG.source = "maptb_png"
//
}else if(data.num == 5){
//
this.mapBG.source = "maprb_png"
//
}else if(data.num == 6){
//
this.mapBG.source = "maphg_png"
//
}else if(data.num == 7){
//
this.mapBG.source = "mapcx_png"
//
}else if(data.num == 8){
//
this.mapBG.source = "mapmg_png"
//
}
if
(
data
.
num
==
1
){
this
.
mapBG
.
source
=
"maphz_png"
}
else
if
(
data
.
num
==
2
){
this
.
mapBG
.
source
=
"mapam_png"
}
else
if
(
data
.
num
==
3
){
this
.
mapBG
.
source
=
"mapxg_png"
}
else
if
(
data
.
num
==
4
){
this
.
mapBG
.
source
=
"maptb_png"
}
else
if
(
data
.
num
==
5
){
this
.
mapBG
.
source
=
"maprb_png"
}
else
if
(
data
.
num
==
6
){
this
.
mapBG
.
source
=
"maphg_png"
}
else
if
(
data
.
num
==
7
){
this
.
mapBG
.
source
=
"mapcx_png"
}
else
if
(
data
.
num
==
8
){
this
.
mapBG
.
source
=
"mapmg_png"
}
const
arr
=
[
"HZ"
,
"AM"
,
"XG"
,
"TB"
,
"RB"
,
"HG"
,
"CX"
,
"MG"
];
for
(
let
i
=
0
;
i
<
data
.
data
.
length
;
i
++
){
...
...
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