Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP05
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
OP05
Commits
f746ab83
Commit
f746ab83
authored
Sep 25, 2021
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8a46df44
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
scene.js
play/assets/OP05/scene/scene.js
+3
-1
No files found.
play/assets/OP05/scene/scene.js
View file @
f746ab83
...
@@ -222,7 +222,8 @@ cc.Class({
...
@@ -222,7 +222,8 @@ cc.Class({
}
else
if
(
GameManager
.
getIns
().
getState
()
==
1
)
{
}
else
if
(
GameManager
.
getIns
().
getState
()
==
1
)
{
let
dragonDisplay
=
carton
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
let
dragonDisplay
=
carton
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
dragonDisplay
.
playAnimation
(
this
.
animationName
,
1
);
//animation所有的动画名称
dragonDisplay
.
playAnimation
(
this
.
animationName
,
1
);
//animation所有的动画名称
icon_ex_txt
.
active
=
false
;
icon_ex
.
active
=
false
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
pg
.
view
.
visible
(
icon_ex
,
true
);
pg
.
view
.
visible
(
icon_ex
,
true
);
let
icon_ex_word
=
this
.
_stageData
.
word
;
let
icon_ex_word
=
this
.
_stageData
.
word
;
...
@@ -297,6 +298,7 @@ cc.Class({
...
@@ -297,6 +298,7 @@ cc.Class({
wordAni
(
item
,
content
)
{
wordAni
(
item
,
content
)
{
item
.
active
=
true
;
let
itemfirst
=
pg
.
view
.
find
(
item
,
"
first
"
);
let
itemfirst
=
pg
.
view
.
find
(
item
,
"
first
"
);
//动态居中算法。
//动态居中算法。
//锚点在中间,左右延长,第一个字不去显示
//锚点在中间,左右延长,第一个字不去显示
...
...
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