Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_write_02
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
cc_mz_write_02
Commits
327eab84
Commit
327eab84
authored
Oct 24, 2022
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
738a7fef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
cc_mz_write_02.js
assets/cc_mz_write_02/scene/cc_mz_write_02.js
+4
-3
No files found.
assets/cc_mz_write_02/scene/cc_mz_write_02.js
View file @
327eab84
...
@@ -4601,8 +4601,8 @@ cc.Class({
...
@@ -4601,8 +4601,8 @@ cc.Class({
const
scale
=
Math
.
min
(
sx
,
sy
);
const
scale
=
Math
.
min
(
sx
,
sy
);
animaNode
.
scale
=
scale
;
animaNode
.
scale
=
scale
;
animaNode
.
active
=
false
;
//
animaNode.active = false;
animaNode
.
opacity
=
0
;
});
});
...
@@ -4615,7 +4615,8 @@ cc.Class({
...
@@ -4615,7 +4615,8 @@ cc.Class({
const
animationNames
=
animaNode
.
animationNames
;
const
animationNames
=
animaNode
.
animationNames
;
const
dragonDisplay
=
animaNode
.
dragonDisplay
;
const
dragonDisplay
=
animaNode
.
dragonDisplay
;
animaNode
.
active
=
true
;
// animaNode.active = true;
animaNode
.
opacity
=
255
;
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
if
(
dragonDisplay
&&
animationNames
&&
animationNames
.
length
>
0
)
{
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
1
);
dragonDisplay
.
playAnimation
(
animationNames
[
0
],
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