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
d9240176
Commit
d9240176
authored
May 13, 2020
by
zjz1994
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole
into 优化地图map
parents
a8279b28
e6d66b73
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
116 additions
and
54 deletions
+116
-54
NetManager.ts
egret/libs/tw/manager/NetManager.ts
+7
-0
MainScene.ts
egret/src/mainScene/MainScene.ts
+1
-2
RedBombAlertPanel.ts
egret/src/panels/RedBombAlertPanel.ts
+2
-1
RedBombRule.ts
egret/src/panels/RedBombRule.ts
+11
-3
Chapter28.ts
egret/src/something/chapters/Chapter28.ts
+85
-45
snpmAdStatic.ts
egret/src/statics/snpmAdStatic.ts
+3
-3
award.json
mock/happyclear/award.json
+7
-0
No files found.
egret/libs/tw/manager/NetManager.ts
View file @
d9240176
...
...
@@ -898,6 +898,13 @@ export class NetManager extends ABNetManager {
}
public
hc_redBombAward
(
callback
:
Function
):
void
{
if
(
!
window
[
'detect'
]
||!
window
[
'_device_session_id'
]){
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
e
){
}
}
const
net
:
INetData
=
{
name
:
'hc_redBombAward'
,
uri
:
window
[
'duiba'
]
+
'/customActivity/happyclear/redBomb/award'
,
...
...
egret/src/mainScene/MainScene.ts
View file @
d9240176
...
...
@@ -1198,7 +1198,7 @@ export default class MainScene extends Scene {
}
}
}
console
.
log
(
this
.
chapter
+
"关卡"
,
num1
,
num2
,
this
.
chapterData
.
passTarget
.
elements
);
//
console.log(this.chapter+"关卡",num1,num2,this.chapterData.passTarget.elements);
//生成口数据
var
genLatDatas
=
this
.
chapterData
.
map
.
generateLats
||
[];
//设置生成口,
...
...
@@ -6186,7 +6186,6 @@ export default class MainScene extends Scene {
return
canturt
;
}
checkTurfing
(
grassArr
:
Array
<
Array
<
number
>>
){
console
.
log
(
"组检测啦啦啦啦啦啦"
,
JSON
.
stringify
(
grassArr
),
JSON
.
parse
(
JSON
.
stringify
(
grassArr
)));
for
(
var
i
=
0
;
i
<
grassArr
.
length
;
i
++
){
var
igrassarr
=
grassArr
[
i
];
...
...
egret/src/panels/RedBombAlertPanel.ts
View file @
d9240176
...
...
@@ -156,7 +156,8 @@ export default class RedBombAlertPanel extends Panel {
setTimeout
(()
=>
{
this
.
numsgroup
.
visible
=
isShow
;
},
1700
);
mv
.
setImage
(
"img_5085"
,
img
);
// for(var mvkey=0;mvkey<mv.)
mv
.
setImage
(
"815207F0-919C-4796-A09E-21868AF337CB"
,
img
);
},
100
)
});
}
...
...
egret/src/panels/RedBombRule.ts
View file @
d9240176
...
...
@@ -30,13 +30,21 @@ export default class RedBombRule extends Panel {
}
private
addRule
()
{
// const text =
// `<br>1、活动期间,所有游戏关卡均有机会触发圣诞铃铛任务。
// 2、进入游戏关卡且发现圣诞铃铛后,需先连续消除3次圣诞铃铛附近的元素才可开启任务。
// 3、任务开启后,在当前关卡规定的步数内,消除达到任务的目标数量即可获得圣诞奖励;未达到任务的目标数量,则无法获得圣诞奖励。
// 4、若在当前关卡规定的步数内,消除未达到圣诞铃铛任务的目标数量但已达到本局关卡的目标数量,用户仍可领取本局关卡的游戏奖励。
// 5、任务奖励每人每日最多可领取3次。
// 6、发放的奖励请在规定的有效时间内尽快领取或使用,逾期未领取或使用的会失效哦。`;
const
text
=
`<br>1、活动期间,所有游戏关卡均有机会触发
圣诞铃铛
任务。
2、进入游戏关卡且发现
圣诞铃铛后,需先连续消除3次圣诞铃铛
附近的元素才可开启任务。
`<br>1、活动期间,所有游戏关卡均有机会触发
巧克力
任务。
2、进入游戏关卡且发现
巧克力后,需先连续消除3次巧克力
附近的元素才可开启任务。
3、任务开启后,在当前关卡规定的步数内,消除达到任务的目标数量即可获得圣诞奖励;未达到任务的目标数量,则无法获得圣诞奖励。
4、若在当前关卡规定的步数内,消除未达到
圣诞铃铛
任务的目标数量但已达到本局关卡的目标数量,用户仍可领取本局关卡的游戏奖励。
4、若在当前关卡规定的步数内,消除未达到
巧克力
任务的目标数量但已达到本局关卡的目标数量,用户仍可领取本局关卡的游戏奖励。
5、任务奖励每人每日最多可领取3次。
6、发放的奖励请在规定的有效时间内尽快领取或使用,逾期未领取或使用的会失效哦。`
;
this
.
labContent
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
text
);
}
...
...
egret/src/something/chapters/Chapter28.ts
View file @
d9240176
This diff is collapsed.
Click to expand it.
egret/src/statics/snpmAdStatic.ts
View file @
d9240176
...
...
@@ -14,7 +14,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoMapIndex"
,
eleid
:
"bingoIndexAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
params
[
'sapmodid'
]
=
'bingoMapIndex'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
...
@@ -25,7 +25,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoDialog"
,
eleid
:
"bingoGroupAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
...
@@ -36,7 +36,7 @@ export class snpmAdStatic{
pageid
:
"aNVgWFAAaA"
,
modid
:
"bingoDialog"
,
eleid
:
"bingoLevelAd"
,
targeturl
:
adata
[
'apsClickUrl'
]
||
''
//
targeturl:adata['apsClickUrl']||''
}
params
[
'sapmodid'
]
=
'bingoDialog'
;
params
[
'targeturl'
]
=
adata
[
'apsClickUrl'
]
||
''
;
...
...
mock/happyclear/award.json
View file @
d9240176
...
...
@@ -4,6 +4,13 @@
"desc"
:
"OK"
,
"timestamp"
:
1579512019430
,
"data"
:
{
"option"
:{
"img"
:
"//yun.dui88.com/images/202002/cskn0xnuov.png"
,
"categoryType"
:
7
,
"num"
:
"33"
,
"propType"
:
null
,
"realValue"
:
null
},
"orderNum"
:
null
,
"remainAwardTimes"
:
0
}
...
...
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