Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
super-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
劳工
super-miner
Commits
9f365599
Commit
9f365599
authored
May 29, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复pk没有更新积分的问题
parent
ed599fd7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
main.scene
assets/scenes/main.scene
+3
-5
PKResult.ts
assets/scripts/dialogs/PKResult.ts
+4
-1
No files found.
assets/scenes/main.scene
View file @
9f365599
...
...
@@ -2978,11 +2978,9 @@
"script": "components/base/Transform",
"properties": {
"position": {
"_hashCode": 101993,
"_x": 0,
"_y": 0,
"x": 155,
"y": 30
"y": 25,
"_type_": "scilla/support/Vector2D"
}
}
},
...
...
@@ -3318,7 +3316,7 @@
"properties": {
"position": {
"x": -170,
"y": -1
5
5,
"y": -1
6
5,
"_type_": "scilla/support/Vector2D"
}
}
...
...
assets/scripts/dialogs/PKResult.ts
View file @
9f365599
...
...
@@ -8,6 +8,7 @@ import {Entity, utils,} from "scilla";
import
DialogContent
from
"../popup/DialogContent"
;
import
AnimLayer
from
"./pkresult/AnimLayer"
;
import
ResultLayer
from
"./pkresult/ResultLayer"
;
import
globalEvent
from
"globalEvent"
;
export
default
class
PKResult
extends
DialogContent
{
AnimLayer
:
Entity
;
...
...
@@ -35,7 +36,9 @@ export default class PKResult extends DialogContent {
await
this
.
_animLayer
.
play
(
data
);
await
utils
.
waitPromise
(
500
);
this
.
ResultLayer
.
enabled
=
true
;
this
.
_resultLayer
.
play
(
data
);
await
this
.
_resultLayer
.
play
(
data
);
globalEvent
.
emit
(
'runCredits'
);
}
onBottomButtonTap
(
action
){
...
...
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