Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
op_spy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
op_spy
Commits
882b5fcd
Commit
882b5fcd
authored
Sep 07, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug 加背景 脚本名修改
parent
6ae92aae
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
844 additions
and
576 deletions
+844
-576
op_spy_LoadingLayer.js
assets/op_spy/prefab/LoadingLayer/op_spy_LoadingLayer.js
+0
-0
op_spy_LoadingLayer.js.meta
...ts/op_spy/prefab/LoadingLayer/op_spy_LoadingLayer.js.meta
+0
-0
op_spy_PlayerOffLineLayer.js
...py/prefab/PlayerOffLineLayer/op_spy_PlayerOffLineLayer.js
+0
-0
op_spy_PlayerOffLineLayer.js.meta
...efab/PlayerOffLineLayer/op_spy_PlayerOffLineLayer.js.meta
+0
-0
op_spy.fire
assets/op_spy/scene/op_spy.fire
+828
-574
op_spy.js
assets/op_spy/scene/op_spy.js
+16
-2
No files found.
assets/op_spy/prefab/LoadingLayer/
OP10
_LoadingLayer.js
→
assets/op_spy/prefab/LoadingLayer/
op_spy
_LoadingLayer.js
View file @
882b5fcd
File moved
assets/op_spy/prefab/LoadingLayer/
OP10
_LoadingLayer.js.meta
→
assets/op_spy/prefab/LoadingLayer/
op_spy
_LoadingLayer.js.meta
View file @
882b5fcd
File moved
assets/op_spy/prefab/PlayerOffLineLayer/
BoardGame2
_PlayerOffLineLayer.js
→
assets/op_spy/prefab/PlayerOffLineLayer/
op_spy
_PlayerOffLineLayer.js
View file @
882b5fcd
File moved
assets/op_spy/prefab/PlayerOffLineLayer/
BoardGame2
_PlayerOffLineLayer.js.meta
→
assets/op_spy/prefab/PlayerOffLineLayer/
op_spy
_PlayerOffLineLayer.js.meta
View file @
882b5fcd
File moved
assets/op_spy/scene/op_spy.fire
View file @
882b5fcd
This diff is collapsed.
Click to expand it.
assets/op_spy/scene/op_spy.js
View file @
882b5fcd
...
...
@@ -1056,6 +1056,7 @@ cc.Class({
timingEnd
()
{
this
.
recordLayer
.
active
=
false
;
this
.
hideBgMask
();
this
.
cleanTimer
();
this
.
serverStopTest
();
},
...
...
@@ -1556,7 +1557,7 @@ cc.Class({
this
.
playerInfoData
=
playerData
;
const
script
=
cc
.
find
(
'
Canvas/OP10_LoadingLayer
'
).
getComponent
(
'
OP10
_LoadingLayer
'
);
const
script
=
cc
.
find
(
'
Canvas/OP10_LoadingLayer
'
).
getComponent
(
'
op_spy
_LoadingLayer
'
);
script
.
setMaxPlayerNumber
(
this
.
maxPlayer
);
script
.
onLoadFinished
(()
=>
{
if
(
!
this
.
isOffLine
)
{
...
...
@@ -1744,6 +1745,8 @@ cc.Class({
bg
.
scale
=
this
.
canvas
.
height
/
bg
.
height
;
this
.
bg
=
bg
;
this
.
bgMask
=
cc
.
find
(
"
Canvas/bgMask
"
);
bg
.
on
(
'
touchstart
'
,
()
=>
{
if
(
!
this
.
isShowSearchIcon
||
!
this
.
curData
)
{
return
;
...
...
@@ -1959,9 +1962,10 @@ cc.Class({
playStartAnim
()
{
// todo
const
anim
=
cc
.
find
(
"
Canvas/
bg/
startAnimNode/startAnim
"
);
const
anim
=
cc
.
find
(
"
Canvas/startAnimNode/startAnim
"
);
anim
.
parent
.
active
=
true
;
playDragonBoneAnimation
(
anim
,
'
normal
'
,
-
1
);
this
.
showBgMask
();
let
tipNameUrl
;
if
(
this
.
isPlayer1
)
{
...
...
@@ -1979,6 +1983,7 @@ cc.Class({
this
.
showShake
();
}
anim
.
parent
.
active
=
false
;
this
.
hideBgMask
();
});
...
...
@@ -2029,6 +2034,15 @@ cc.Class({
this
.
recordLayer
.
active
=
true
;
this
.
startRecord
();
this
.
showBgMask
();
},
showBgMask
()
{
this
.
bgMask
.
active
=
true
;
},
hideBgMask
()
{
this
.
bgMask
.
active
=
false
;
},
startRecord
()
{
...
...
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