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
1 year ago
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重新播放bgm测试
parent
f8ba5ef3
master
v23
v22
v21
v20
v19
v18
v17
v16
v15
v14
v13
v12
v11
v10
v9
v8
v7
v6
No related merge requests found
Changes
2
Show 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 @@
...
@@ -1571,8 +1571,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
02
0,
"width": 1
25
0,
"height":
6
0
"height":
12
0
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -1584,7 +1584,7 @@
...
@@ -1584,7 +1584,7 @@
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
0,
0,
3
43.603
,
3
37.604
,
0,
0,
0,
0,
0,
0,
...
@@ -1637,7 +1637,7 @@
...
@@ -1637,7 +1637,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
92
0,
"width":
115
0,
"height": 126
"height": 126
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -1818,7 +1818,7 @@
...
@@ -1818,7 +1818,7 @@
"_dstBlendFactor": 771,
"_dstBlendFactor": 771,
"_string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_N$string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_N$string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_fontSize":
4
0,
"_fontSize":
5
0,
"_lineHeight": 100,
"_lineHeight": 100,
"_enableWrapText": true,
"_enableWrapText": true,
"_N$file": {
"_N$file": {
...
@@ -1846,8 +1846,8 @@
...
@@ -1846,8 +1846,8 @@
"_enabled": true,
"_enabled": true,
"_layoutSize": {
"_layoutSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 1
02
0,
"width": 1
25
0,
"height":
6
0
"height":
12
0
},
},
"_resize": 1,
"_resize": 1,
"_N$layoutType": 1,
"_N$layoutType": 1,
...
@@ -1881,7 +1881,7 @@
...
@@ -1881,7 +1881,7 @@
"_alignFlags": 1,
"_alignFlags": 1,
"_left": 0,
"_left": 0,
"_right": 0,
"_right": 0,
"_top":
16.39699999999999
,
"_top":
-7.603999999999985
,
"_bottom": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": 0,
...
...
This diff is collapsed.
Click to expand it.
assets/jj15_zww/scene/jj15_zww.ts
View file @
e23f17d9
...
@@ -941,10 +941,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
...
@@ -941,10 +941,12 @@ export default class SceneComponent extends MyCocosSceneComponent {
},
0.4
)
},
0.4
)
}
}
pauseBgm
()
{
pauseBgm
()
{
cc
.
audioEngine
.
pauseMusic
();
// cc.audioEngine.pauseMusic();
cc
.
audioEngine
.
stopMusic
();
}
}
resumeBgm
()
{
resumeBgm
()
{
cc
.
audioEngine
.
resumeMusic
();
// cc.audioEngine.resumeMusic();
cc
.
audioEngine
.
playMusic
(
this
.
bgmNode
.
getComponent
(
cc
.
AudioSource
).
clip
,
true
);
}
}
playBgmP100
()
{
playBgmP100
()
{
this
.
scheduleOnce
(()
=>
{
this
.
scheduleOnce
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
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