Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hy02_paopao
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
hy02_paopao
Commits
3abcf328
Commit
3abcf328
authored
Jul 10, 2023
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
08adcf58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
hy02_paopao.ts
assets/hy02_paopao/scene/hy02_paopao.ts
+4
-3
No files found.
assets/hy02_paopao/scene/hy02_paopao.ts
View file @
3abcf328
...
@@ -115,7 +115,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -115,7 +115,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
data
.
scores
=
Game
.
getIns
().
player
.
voices
;
data
.
scores
=
Game
.
getIns
().
player
.
voices
;
data
.
stone
=
Math
.
floor
(
10
*
data
.
right
/
data
.
total
);
data
.
stone
=
Math
.
floor
(
10
*
data
.
right
/
data
.
total
);
this
.
log
(
"
total:
"
+
data
.
total
+
"
right:
"
+
data
.
right
+
"
stone:
"
+
data
.
stone
);
this
.
log
(
"
total:
"
+
data
.
total
+
"
right:
"
+
data
.
right
+
"
stone:
"
+
data
.
stone
);
onHomeworkFinish
(
data
)
//
onHomeworkFinish(data)
}
}
...
@@ -209,9 +209,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -209,9 +209,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
bg
.
active
=
false
;
bg
.
active
=
false
;
pp
.
active
=
true
;
pp
.
active
=
true
;
cc
.
tween
(
pp
).
to
(
0.7
,
{
opacity
:
0
}).
start
();
cc
.
tween
(
pp
).
to
(
0.7
,
{
opacity
:
0
}).
call
(()
=>
{
pg
.
event
.
emit
(
"
layer_coin_show_coin
"
,
3
);
pg
.
event
.
emit
(
"
layer_coin_show_coin
"
,
3
);
}).
start
();
// this.checkRoundEnd();
// this.checkRoundEnd();
...
...
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