Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jj15_zww
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
jj15_zww
Commits
9b2b5366
Commit
9b2b5366
authored
May 23, 2024
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不播放bgm
parent
fb0b1202
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
jj15_zww.ts
assets/jj15_zww/scene/jj15_zww.ts
+1
-0
btn_return.png.meta
assets/jj15_zww/textures/jj_common/btn_return.png.meta
+6
-6
No files found.
assets/jj15_zww/scene/jj15_zww.ts
View file @
9b2b5366
...
...
@@ -998,6 +998,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
audioEngine
.
playMusic
(
this
.
bgmNode
.
getComponent
(
cc
.
AudioSource
).
clip
,
true
);
}
playBgmP100
()
{
if
(
1
)
return
;
let
vol
=
cc
.
audioEngine
.
getMusicVolume
();
if
(
vol
>
0.9
*
this
.
bgmNum
)
return
;
this
.
scheduleOnce
(()
=>
{
...
...
assets/jj15_zww/textures/jj_common/btn_return.png.meta
View file @
9b2b5366
...
...
@@ -7,8 +7,8 @@
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width":
5
0,
"height":
4
0,
"width":
10
0,
"height":
8
0,
"platformSettings": {},
"subMetas": {
"btn_return": {
...
...
@@ -22,10 +22,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width":
5
0,
"height":
4
0,
"rawWidth":
5
0,
"rawHeight":
4
0,
"width":
10
0,
"height":
8
0,
"rawWidth":
10
0,
"rawHeight":
8
0,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
...
...
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