Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
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
new_taobao
Commits
e5bc3adb
Commit
e5bc3adb
authored
Oct 13, 2020
by
spc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
parent
b73ec4b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
XxlScene.ts
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
+7
-6
No files found.
project/src/canvas/game/src/xiaoxiaole/XxlScene.ts
View file @
e5bc3adb
...
@@ -256,12 +256,7 @@ export class XxlScene extends Scene {
...
@@ -256,12 +256,7 @@ export class XxlScene extends Scene {
this
.
x
=
(
Ins
.
stageW
-
750
)
>>
1
;
this
.
x
=
(
Ins
.
stageW
-
750
)
>>
1
;
this
.
y
=
(
Ins
.
stageH
-
1624
)
>>
1
;
this
.
y
=
(
Ins
.
stageH
-
1624
)
>>
1
;
this
.
backBtn
=
Tools
.
getSprite
(
resCanvasList
[
'334aff33-1a9e-4277-aafe-3d9f22eab3d5'
].
url
,
0
,
20
+
1624
/
2
-
this
.
stage
.
viewRect
.
height
/
2
)
this
.
backBtn
.
mouseEnable
=
true
this
.
backBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
MOUSE_DOWN
,
()
=>
{
sendTbNet
(
TbNetName
.
backToPage
,
{},
(
s
,
res
)
=>
{
console
.
log
(
'backToPage'
)
})
},
this
)
this
.
addChild
(
this
.
backBtn
)
//顶部分数
//顶部分数
this
.
topContainer
=
new
FYGE
.
Container
()
this
.
topContainer
=
new
FYGE
.
Container
()
...
@@ -468,6 +463,12 @@ export class XxlScene extends Scene {
...
@@ -468,6 +463,12 @@ export class XxlScene extends Scene {
expendHexIndices
.
push
(...
i
)
expendHexIndices
.
push
(...
i
)
}
}
this
.
backBtn
=
Tools
.
getSprite
(
resCanvasList
[
'334aff33-1a9e-4277-aafe-3d9f22eab3d5'
].
url
,
0
,
20
+
1624
/
2
-
this
.
stage
.
viewRect
.
height
/
2
)
this
.
backBtn
.
mouseEnable
=
true
this
.
backBtn
.
addEventListener
(
FYGE
.
MouseEvent
.
MOUSE_DOWN
,
()
=>
{
sendTbNet
(
TbNetName
.
backToPage
,
{},
(
s
,
res
)
=>
{
console
.
log
(
'backToPage'
)
})
},
this
)
this
.
addChild
(
this
.
backBtn
)
//初始化
//初始化
for
(
let
i
of
expendHexIndices
)
{
for
(
let
i
of
expendHexIndices
)
{
...
...
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