Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fireballoon
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
fireballoon
Commits
7a57e815
Commit
7a57e815
authored
May 30, 2022
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
录音时间及默认值调整
parent
0bf312fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
fireballoon.ts
assets/fireballoon/scene/fireballoon.ts
+2
-1
Game.ts
assets/fireballoon/scene/tool/Game.ts
+2
-0
No files found.
assets/fireballoon/scene/fireballoon.ts
View file @
7a57e815
...
@@ -101,7 +101,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -101,7 +101,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
countDown
:
number
=
999999
;
private
countDown
:
number
=
999999
;
private
timeCount
:
number
;
private
timeCount
:
number
;
private
startCount
=
20
;
private
startCount
=
15
;
async
initView
()
{
async
initView
()
{
cc
.
audioEngine
.
stopAllEffects
();
cc
.
audioEngine
.
stopAllEffects
();
this
.
layout_start
=
pg
.
view
.
find
(
this
,
"
layout_start
"
);
this
.
layout_start
=
pg
.
view
.
find
(
this
,
"
layout_start
"
);
...
@@ -558,6 +558,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -558,6 +558,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
audioEngine
.
stopAllEffects
();
cc
.
audioEngine
.
stopAllEffects
();
this
.
bg_countdown
.
active
=
true
;
this
.
bg_countdown
.
active
=
true
;
this
.
countDown
=
this
.
startCount
;
this
.
countDown
=
this
.
startCount
;
this
.
countDown
=
this
.
touchData
.
time
||
this
.
startCount
;
//this.startCount;
let
end
=
pg
.
view
.
find
(
this
,
"
end
"
);
let
end
=
pg
.
view
.
find
(
this
,
"
end
"
);
let
bg_tryagain
=
pg
.
view
.
find
(
end
,
"
bg_tryagain
"
)
let
bg_tryagain
=
pg
.
view
.
find
(
end
,
"
bg_tryagain
"
)
...
...
assets/fireballoon/scene/tool/Game.ts
View file @
7a57e815
...
@@ -24,6 +24,7 @@ export class Option {
...
@@ -24,6 +24,7 @@ export class Option {
public
data
;
public
data
;
public
id
:
number
;
public
id
:
number
;
public
count
:
number
;
public
count
:
number
;
public
time
:
number
;
public
fish
:
Fish
;
public
fish
:
Fish
;
constructor
(
data
,
id
)
{
constructor
(
data
,
id
)
{
...
@@ -31,6 +32,7 @@ export class Option {
...
@@ -31,6 +32,7 @@ export class Option {
this
.
data
=
data
;
this
.
data
=
data
;
this
.
type
=
data
.
type
;
this
.
type
=
data
.
type
;
this
.
txt
=
data
.
text
;
this
.
txt
=
data
.
text
;
this
.
time
=
data
.
time
;
this
.
picUrl
=
data
.
image
;
this
.
picUrl
=
data
.
image
;
this
.
audioUrl
=
data
.
audio
;
this
.
audioUrl
=
data
.
audio
;
this
.
right
=
data
.
right
;
this
.
right
=
data
.
right
;
...
...
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