Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sn16_parkour
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
sn16_parkour
Commits
20356b0b
Commit
20356b0b
authored
Nov 16, 2023
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
速度加倍,添加背景音乐
parent
4b19ce71
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
387 additions
and
296 deletions
+387
-296
bg_music_loop.mp3
assets/sn16_parkour/audios/bg_music_loop.mp3
+0
-0
bg_music_loop.mp3.meta
assets/sn16_parkour/audios/bg_music_loop.mp3.meta
+7
-0
sn16_parkour.fire
assets/sn16_parkour/scene/sn16_parkour.fire
+379
-295
sn16_parkour.ts
assets/sn16_parkour/scene/sn16_parkour.ts
+1
-1
No files found.
assets/sn16_parkour/audios/bg_music_loop.mp3
0 → 100644
View file @
20356b0b
File added
assets/sn16_parkour/audios/bg_music_loop.mp3.meta
0 → 100644
View file @
20356b0b
{
"ver": "2.0.1",
"uuid": "447fb044-c392-4f45-af94-8aea24132366",
"downloadMode": 0,
"duration": 15.836,
"subMetas": {}
}
\ No newline at end of file
assets/sn16_parkour/scene/sn16_parkour.fire
View file @
20356b0b
This diff is collapsed.
Click to expand it.
assets/sn16_parkour/scene/sn16_parkour.ts
View file @
20356b0b
...
@@ -371,7 +371,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -371,7 +371,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
//左往右
//左往右
item
.
y
=
pos
[
id
];
// -1300 / 2 + Math.random() * 1300;
item
.
y
=
pos
[
id
];
// -1300 / 2 + Math.random() * 1300;
item
.
x
=
1400
;
//
item
.
x
=
1400
;
//
cc
.
tween
(
item
).
to
(
this
.
isSpeedUp
?
4
:
6
,
{
x
:
-
1400
}).
call
(()
=>
{
cc
.
tween
(
item
).
to
(
this
.
isSpeedUp
?
2
:
3
,
{
x
:
-
1400
}).
call
(()
=>
{
data
.
fish
.
isOut
=
FISH_OUT
.
OUT
;
data
.
fish
.
isOut
=
FISH_OUT
.
OUT
;
this
.
viewFishs
=
this
.
viewFishs
.
filter
(
v
=>
v
.
id
!=
data
.
id
);
this
.
viewFishs
=
this
.
viewFishs
.
filter
(
v
=>
v
.
id
!=
data
.
id
);
}).
start
();
}).
start
();
...
...
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