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
e23f17d9
Commit
e23f17d9
authored
Apr 18, 2024
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新播放bgm测试
parent
f8ba5ef3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
jj15_zww.fire
assets/jj15_zww/scene/jj15_zww.fire
+8
-8
jj15_zww.ts
assets/jj15_zww/scene/jj15_zww.ts
+4
-2
No files found.
assets/jj15_zww/scene/jj15_zww.fire
View file @
e23f17d9
...
...
@@ -1571,8 +1571,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1
02
0,
"height":
6
0
"width": 1
25
0,
"height":
12
0
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1584,7 +1584,7 @@
"ctor": "Float64Array",
"array": [
0,
3
43.603
,
3
37.604
,
0,
0,
0,
...
...
@@ -1637,7 +1637,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width":
92
0,
"width":
115
0,
"height": 126
},
"_anchorPoint": {
...
...
@@ -1818,7 +1818,7 @@
"_dstBlendFactor": 771,
"_string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_N$string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_fontSize":
4
0,
"_fontSize":
5
0,
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": {
...
...
@@ -1846,8 +1846,8 @@
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 1
02
0,
"height":
6
0
"width": 1
25
0,
"height":
12
0
},
"_resize": 1,
"_N$layoutType": 1,
...
...
@@ -1881,7 +1881,7 @@
"_alignFlags": 1,
"_left": 0,
"_right": 0,
"_top":
16.39699999999999
,
"_top":
-7.603999999999985
,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
...
...
assets/jj15_zww/scene/jj15_zww.ts
View file @
e23f17d9
...
...
@@ -941,10 +941,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
},
0.4
)
}
pauseBgm
()
{
cc
.
audioEngine
.
pauseMusic
();
// cc.audioEngine.pauseMusic();
cc
.
audioEngine
.
stopMusic
();
}
resumeBgm
()
{
cc
.
audioEngine
.
resumeMusic
();
// cc.audioEngine.resumeMusic();
cc
.
audioEngine
.
playMusic
(
this
.
bgmNode
.
getComponent
(
cc
.
AudioSource
).
clip
,
true
);
}
playBgmP100
()
{
this
.
scheduleOnce
(()
=>
{
...
...
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