Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kyxq_qpy
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
kyxq_qpy
Commits
0e764b76
Commit
0e764b76
authored
Oct 07, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
d6d706a2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
561 additions
and
444 deletions
+561
-444
kyxq_qpy.fire
assets/kyxq_qpy/scene/kyxq_qpy.fire
+547
-436
kyxq_qpy.js
assets/kyxq_qpy/scene/kyxq_qpy.js
+14
-8
No files found.
assets/kyxq_qpy/scene/kyxq_qpy.fire
View file @
0e764b76
This diff is collapsed.
Click to expand it.
assets/kyxq_qpy/scene/kyxq_qpy.js
View file @
0e764b76
...
@@ -782,7 +782,10 @@ cc.Class({
...
@@ -782,7 +782,10 @@ cc.Class({
this
.
initVideo
();
this
.
initVideo
();
setTimeout
(()
=>
{
this
.
showComposeBtn
();
},
5000
);
},
},
...
@@ -1838,7 +1841,10 @@ cc.Class({
...
@@ -1838,7 +1841,10 @@ cc.Class({
this
.
composeBtn
.
active
=
true
;
this
.
composeBtn
.
active
=
true
;
this
.
composeBtn
.
parent
.
active
=
true
;
this
.
composeBtn
.
parent
.
active
=
true
;
this
.
addBtnAppearAnim
(
this
.
composeBtn
.
parent
);
const
videoBg
=
cc
.
find
(
"
Canvas/hose/video_bg
"
)
this
.
addBtnAppearAnim
(
this
.
composeBtn
);
this
.
playAni
(
'
begin
'
,
0
);
this
.
playAni
(
'
begin
'
,
0
);
this
.
setCurTipAudioUrl
(
this
.
data
.
compose_audio_url
);
this
.
setCurTipAudioUrl
(
this
.
data
.
compose_audio_url
);
...
@@ -2408,14 +2414,14 @@ cc.Class({
...
@@ -2408,14 +2414,14 @@ cc.Class({
composeBtn
:
null
,
composeBtn
:
null
,
initComposeBtn
()
{
initComposeBtn
()
{
this
.
composeBtn
=
cc
.
find
(
'
Canvas/house/
videoCtrl
/composeBtn
'
);
this
.
composeBtn
=
cc
.
find
(
'
Canvas/house/
composeNode
/composeBtn
'
);
this
.
composeBtn
.
active
=
false
;
this
.
composeBtn
.
active
=
false
;
const
pos
=
exchangeNodePos
(
this
.
canvas
,
this
.
composeBtn
);
//
const pos = exchangeNodePos(this.canvas, this.composeBtn);
this
.
composeBtn
.
x
=
pos
.
x
;
//
this.composeBtn.x = pos.x;
this
.
composeBtn
.
y
=
pos
.
y
;
//
this.composeBtn.y = pos.y;
this
.
composeBtn
.
parent
=
this
.
canvas
;
//
this.composeBtn.parent = this.canvas;
this
.
composeBtn
.
zIndex
=
15
;
//
this.composeBtn.zIndex = 15;
this
.
composeBtn
.
on
(
'
touchstart
'
,
()
=>
{
this
.
composeBtn
.
on
(
'
touchstart
'
,
()
=>
{
if
(
!
this
.
composeBtn
.
active
)
{
if
(
!
this
.
composeBtn
.
active
)
{
...
...
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