Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jj15_zww
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
jj15_zww
Commits
b548a29a
Commit
b548a29a
authored
Apr 22, 2024
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
27e7ac64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
jj15_zww.ts
assets/jj15_zww/scene/jj15_zww.ts
+8
-1
No files found.
assets/jj15_zww/scene/jj15_zww.ts
View file @
b548a29a
...
...
@@ -736,13 +736,20 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
layout_ani
=
pg
.
view
.
find
(
this
,
'
layout_ani
'
)
layout_ani
.
active
=
true
;
if
(
score
>=
7
0
)
{
if
(
score
>=
9
0
)
{
hw
.
log
.
d
(
"
非常棒
"
)
let
item
=
pg
.
view
.
find
(
layout_ani
,
'
JJ_Excellent_ske
'
)
item
.
active
=
true
;
pg
.
view
.
playDBAnimation
(
item
,
'
newAnimation
'
,
1
);
this
.
playLocalAudio
(
"
record_right
"
)
this
.
recordExcellent
();
}
else
if
(
score
>=
60
)
{
hw
.
log
.
d
(
"
干的不错
"
)
let
item
=
pg
.
view
.
find
(
layout_ani
,
'
JJ_Good_ske
'
)
item
.
active
=
true
;
pg
.
view
.
playDBAnimation
(
item
,
'
newAnimation
'
,
1
);
this
.
playLocalAudio
(
"
record_right
"
)
this
.
recordExcellent
();
}
else
{
hw
.
log
.
d
(
"
再试一次吧
"
)
let
item
=
pg
.
view
.
find
(
layout_ani
,
'
JJ_Tryagain_ske
'
)
...
...
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