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
9de14334
Commit
9de14334
authored
Sep 04, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
69a71886
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
32 deletions
+37
-32
ABNetManager.ts
egret/libs/tc/manager/ABNetManager.ts
+7
-3
startpanel.tmproject
egret/resource/TextureMerger/startpanel.tmproject
+1
-1
default.res.json
egret/resource/default.res.json
+25
-25
default.thm.json
egret/resource/default.thm.json
+1
-1
MyExmlPlugin.ts
egret/scripts/MyExmlPlugin.ts
+2
-1
MapScene.ts
egret/src/mapScene/MapScene.ts
+1
-1
No files found.
egret/libs/tc/manager/ABNetManager.ts
View file @
9de14334
...
@@ -25,13 +25,17 @@ export abstract class ABNetManager {
...
@@ -25,13 +25,17 @@ export abstract class ABNetManager {
let
realUrl
:
string
=
net
.
uri
;
let
realUrl
:
string
=
net
.
uri
;
if
(
realUrl
.
indexOf
(
'?'
)
!=
-
1
)
{
if
(
realUrl
.
indexOf
(
'?'
)
!=
-
1
)
{
gTime
=
'&_='
+
GTime
.
getTimestamp
();
gTime
=
'&_='
+
GTime
.
getTimestamp
();
}
}
realUrl
+=
gTime
;
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
//url加参数等特殊需求(例如再玩一次需要在dostart接口的url上加埋点)
if
(
net
.
addUrl
)
{
if
(
net
.
addUrl
)
{
realUrl
+=
net
.
addUrl
;
realUrl
+=
net
.
addUrl
;
}
}
const
obj
=
{
const
obj
=
{
type
:
net
.
type
,
type
:
net
.
type
,
// url: realUrl + gTime,
// url: realUrl + gTime,
...
...
egret/resource/TextureMerger/startpanel.tmproject
View file @
9de14334
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"startpanel","version":5,"files":["../assets/startpanel2/通关条件.png","../assets/startpanel2/数量.png","../assets/startpanel2/数量 副本 3.png","../assets/startpanel2/按钮.png"]}
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"startpanel","version":5,"files":["../assets/startpanel2/startpanel通关条件.png","../assets/startpanel2/startpanel数量.png","../assets/startpanel2/startpanel数量 副本 3.png","../assets/startpanel2/startpanel目标33.png","../assets/startpanel2/startpanel目标3.png","../assets/startpanel2/startpanel按钮.png","../assets/startpanel2/startpanel_ice1.png","../assets/startpanel2/startpanel_ele6.png","../assets/startpanel2/startpanel_block2.png"]}
\ No newline at end of file
\ No newline at end of file
egret/resource/default.res.json
View file @
9de14334
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"name"
:
"rule"
"name"
:
"rule"
},
},
{
{
"keys"
:
"toast_png,nums_png,nums_fnt,closeCommonBtn_png,btn_png,alertbg_png,按钮 副本 4_png,按钮 副本 3_png,share_btn2_png,朋友圈中间分享蒙层1_jpg,share_btn1_png,commmon_okbtn1_png,lightani_png,prizePanelbg_png,common_prizelight_png,common_yuanbao_png"
,
"keys"
:
"toast_png,nums_png,nums_fnt,closeCommonBtn_png,btn_png,alertbg_png,按钮 副本 4_png,按钮 副本 3_png,share_btn2_png,朋友圈中间分享蒙层1_jpg,share_btn1_png,commmon_okbtn1_png,lightani_png,prizePanelbg_png,common_prizelight_png,common_yuanbao_png
,nums2_png,nums2_fnt
"
,
"name"
:
"common"
"name"
:
"common"
},
},
{
{
...
@@ -69,8 +69,8 @@
...
@@ -69,8 +69,8 @@
"name"
:
"prize2"
"name"
:
"prize2"
},
},
{
{
"
name"
:
"preload
"
,
"
keys"
:
"startpanel通关条件_png,startpanel数量_png,startpanel数量 副本 3_png,startpanel目标33_png,startpanel目标3_png,startpanel按钮_png,startpanel_ice1_png,startpanel_ele6_png,startpanel_block2_png
"
,
"
keys"
:
"startpanel数量_png,startpanel按钮_png,startpanel数量 副本 3_png,startpanel通关条件_png,startpanel_block2_png,startpanel目标3_png,startpanel目标33_png,nums2_fnt,nums2_png,startpanel_ele6_png,startpanel_ice1_png
"
"
name"
:
"startpanel
"
}
}
],
],
"resources"
:
[
"resources"
:
[
...
@@ -1555,59 +1555,59 @@
...
@@ -1555,59 +1555,59 @@
"name"
:
"common_yuanbao_png"
"name"
:
"common_yuanbao_png"
},
},
{
{
"
name"
:
"startpanel数量_
png"
,
"
url"
:
"assets/startpanel2/startpanel数量.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel数量.
png"
"
name"
:
"startpanel数量_
png"
},
},
{
{
"
name"
:
"startpanel按钮_
png"
,
"
url"
:
"assets/startpanel2/startpanel按钮.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel按钮.
png"
"
name"
:
"startpanel按钮_
png"
},
},
{
{
"
name"
:
"startpanel数量 副本 3_
png"
,
"
url"
:
"assets/startpanel2/startpanel数量 副本 3.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel数量 副本 3.
png"
"
name"
:
"startpanel数量 副本 3_
png"
},
},
{
{
"
name"
:
"startpanel通关条件_
png"
,
"
url"
:
"assets/startpanel2/startpanel通关条件.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel通关条件.
png"
"
name"
:
"startpanel通关条件_
png"
},
},
{
{
"
name"
:
"startpanel_block2_
png"
,
"
url"
:
"assets/startpanel2/startpanel_block2.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel_block2.
png"
"
name"
:
"startpanel_block2_
png"
},
},
{
{
"
name"
:
"startpanel目标3_
png"
,
"
url"
:
"assets/startpanel2/startpanel目标3.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel目标3.
png"
"
name"
:
"startpanel目标3_
png"
},
},
{
{
"
name"
:
"startpanel目标33_
png"
,
"
url"
:
"assets/startpanel2/startpanel目标33.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel目标33.
png"
"
name"
:
"startpanel目标33_
png"
},
},
{
{
"
name"
:
"nums2_
fnt"
,
"
url"
:
"assets/common/nums2.
fnt"
,
"type"
:
"font"
,
"type"
:
"font"
,
"
url"
:
"assets/common/nums2.
fnt"
"
name"
:
"nums2_
fnt"
},
},
{
{
"
name"
:
"nums2_
png"
,
"
url"
:
"assets/common/nums2.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/common/nums2.
png"
"
name"
:
"nums2_
png"
},
},
{
{
"
name"
:
"startpanel_ele6_
png"
,
"
url"
:
"assets/startpanel2/startpanel_ele6.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel_ele6.
png"
"
name"
:
"startpanel_ele6_
png"
},
},
{
{
"
name"
:
"startpanel_ice1_
png"
,
"
url"
:
"assets/startpanel2/startpanel_ice1.
png"
,
"type"
:
"image"
,
"type"
:
"image"
,
"
url"
:
"assets/startpanel2/startpanel_ice1.
png"
"
name"
:
"startpanel_ice1_
png"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/default.thm.json
View file @
9de14334
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
"skins"
:
{},
"skins"
:
{},
"autoGenerateExmlsList"
:
true
,
"autoGenerateExmlsList"
:
true
,
"exmls"
:
[
"exmls"
:
[
"resource/skins/TargetItemSkin.exml"
,
"resource/skins/AlertSkin.exml"
,
"resource/skins/AlertSkin.exml"
,
"resource/skins/BloodSkin.exml"
,
"resource/skins/BloodSkin.exml"
,
"resource/skins/Box2Skin.exml"
,
"resource/skins/Box2Skin.exml"
,
...
@@ -35,6 +34,7 @@
...
@@ -35,6 +34,7 @@
"resource/skins/StarSkin.exml"
,
"resource/skins/StarSkin.exml"
,
"resource/skins/StartPanelSkin.exml"
,
"resource/skins/StartPanelSkin.exml"
,
"resource/skins/StartSkin.exml"
,
"resource/skins/StartSkin.exml"
,
"resource/skins/TargetItemSkin.exml"
,
"resource/skins/ToastSkin.exml"
,
"resource/skins/ToastSkin.exml"
,
"resource/skins/VScrollBarSkin.exml"
"resource/skins/VScrollBarSkin.exml"
],
],
...
...
egret/scripts/MyExmlPlugin.ts
View file @
9de14334
...
@@ -8,7 +8,8 @@ import { ExmlPlugin2 } from "./ExmlPlugin2";
...
@@ -8,7 +8,8 @@ import { ExmlPlugin2 } from "./ExmlPlugin2";
export
class
MyExmlPlugin
extends
ExmlPlugin2
implements
plugins
.
Command
{
export
class
MyExmlPlugin
extends
ExmlPlugin2
implements
plugins
.
Command
{
async
onFile
(
file
:
plugins
.
File
)
{
async
onFile
(
file
:
plugins
.
File
)
{
const
excludes
=
[
const
excludes
=
[
'nums.png'
'nums.png'
,
'nums2.png'
];
];
if
(
excludes
.
indexOf
(
file
.
basename
)
!=
-
1
)
{
if
(
excludes
.
indexOf
(
file
.
basename
)
!=
-
1
)
{
return
file
;
return
file
;
...
...
egret/src/mapScene/MapScene.ts
View file @
9de14334
...
@@ -34,7 +34,7 @@ export default class MapScene extends Scene {
...
@@ -34,7 +34,7 @@ export default class MapScene extends Scene {
}
}
stopGamebg
();
stopGamebg
();
if
(
!
readCache
())
{
if
(
!
readCache
()
&&
getHomeData
().
levels
.
length
<=
0
)
{
var
guide
=
new
GuideCon
();
var
guide
=
new
GuideCon
();
this
.
addChild
(
guide
);
this
.
addChild
(
guide
);
guide
.
play
(
1
)
guide
.
play
(
1
)
...
...
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