Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-libs
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
劳工
zeroing-libs
Commits
644d33da
Commit
644d33da
authored
Dec 04, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
91b98b80
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
937 deletions
+13
-937
jump-high-3.json
dist/customs/jump-high-3.json
+2
-2
main.js
src/custom/jump-high-3/debug/main.js
+1
-930
main.js.map
src/custom/jump-high-3/debug/main.js.map
+1
-1
meta.json
src/custom/jump-high-3/meta.json
+1
-1
GuideLayer.ts
src/custom/jump-high-3/src/game/GuideLayer.ts
+1
-1
Player.ts
src/custom/jump-high-3/src/game/Player.ts
+7
-2
No files found.
dist/customs/jump-high-3.json
View file @
644d33da
This diff is collapsed.
Click to expand it.
src/custom/jump-high-3/debug/main.js
View file @
644d33da
This diff is collapsed.
Click to expand it.
src/custom/jump-high-3/debug/main.js.map
View file @
644d33da
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/custom/jump-high-3/meta.json
View file @
644d33da
...
...
@@ -5,7 +5,7 @@
"guideText"
:
{
"alias"
:
"引导文本"
,
"type"
:
"string"
,
"default"
:
"点击屏幕
跳跃躲避飞来的钞票
"
"default"
:
"点击屏幕
中的小公主跳跃躲避飞来的城堡
"
},
"guideFlagKey"
:
{
"alias"
:
"引导标识名"
,
...
...
src/custom/jump-high-3/src/game/GuideLayer.ts
View file @
644d33da
...
...
@@ -27,7 +27,7 @@ export class GuideLayer extends engine.Container {
let
guideHole
=
new
engine
.
Image
(
getTextureByName
(
'引导遮罩'
));
guideHole
.
x
=
(
width
-
guideHole
.
width
)
/
2
;
guideHole
.
y
=
options
.
y
;
guideHole
.
y
=
options
.
y
-
100
;
guideMask
.
addChild
(
guideHole
);
this
.
createRect
(
guideMask
,
0
,
0
,
width
,
guideHole
.
y
);
...
...
src/custom/jump-high-3/src/game/Player.ts
View file @
644d33da
...
...
@@ -114,10 +114,15 @@ export default class Player extends engine.Container {
playReady
()
{
return
new
Promise
(
resolve
=>
{
this
.
switchAni
(
'Ready'
,
1
);
this
.
_currentAni
.
once
(
engine
.
Event
.
END_FRAME
,
function
()
{
setTimeout
(()
=>
{
this
.
switchAni
(
'Ready2'
,
1
,
true
,
true
);
resolve
();
},
this
);
},
200
);
// this.switchAni('Ready', 1);
// this._currentAni.once(engine.Event.END_FRAME, function () {
// this.switchAni('Ready2', 1, true, true);
// resolve();
// }, this);
})
}
...
...
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