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
81bc4a39
Commit
81bc4a39
authored
Apr 18, 2024
by
Tt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://vcs.ireadabc.com/template/jj15_zww
parents
e23f17d9
f4a57bb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
jj15_zww.fire
assets/jj15_zww/scene/jj15_zww.fire
+20
-0
jj15_zww.ts
assets/jj15_zww/scene/jj15_zww.ts
+6
-1
No files found.
assets/jj15_zww/scene/jj15_zww.fire
View file @
81bc4a39
...
...
@@ -1571,8 +1571,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
<<<<<<< HEAD
"width": 1250,
"height": 120
=======
"width": 1135,
"height": 60
>>>>>>> f4a57bb1edc0e71981d1120bedee80497f755da2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1637,8 +1642,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
<<<<<<< HEAD
"width": 1150,
"height": 126
=======
"width": 1035,
"height": 75.6
>>>>>>> f4a57bb1edc0e71981d1120bedee80497f755da2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
...
...
@@ -1818,8 +1828,13 @@
"_dstBlendFactor": 771,
"_string": "题目:请参照图片移动下方按钮,组成完整的一句话",
"_N$string": "题目:请参照图片移动下方按钮,组成完整的一句话",
<<<<<<< HEAD
"_fontSize": 50,
"_lineHeight": 100,
=======
"_fontSize": 45,
"_lineHeight": 60,
>>>>>>> f4a57bb1edc0e71981d1120bedee80497f755da2
"_enableWrapText": true,
"_N$file": {
"__uuid__": "da919d2c-e1fd-4dfa-889b-82c53f3adb51"
...
...
@@ -1846,8 +1861,13 @@
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
<<<<<<< HEAD
"width": 1250,
"height": 120
=======
"width": 1135,
"height": 60
>>>>>>> f4a57bb1edc0e71981d1120bedee80497f755da2
},
"_resize": 1,
"_N$layoutType": 1,
...
...
assets/jj15_zww/scene/jj15_zww.ts
View file @
81bc4a39
...
...
@@ -565,7 +565,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
currentDt
=
data
;
this
.
touchForbid
=
true
;
this
.
playLocalAudio
(
"
move
"
)
cc
.
tween
(
this
.
gou_node
)
// 移动钩子
...
...
@@ -672,6 +672,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
onTouchRecordClose
()
{
this
.
playBgmP100
();
this
.
layout_record
.
active
=
false
;
this
.
currentItem
&&
(
this
.
currentItem
.
active
=
true
)
}
...
...
@@ -924,6 +925,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
@
property
(
cc
.
Node
)
bgmNode
:
cc
.
Node
=
null
;
playBgmP10
()
{
let
vol
=
cc
.
audioEngine
.
getMusicVolume
();
if
(
vol
<
0.7
)
return
;
this
.
scheduleOnce
(()
=>
{
cc
.
audioEngine
.
setMusicVolume
(
0.8
);
this
.
scheduleOnce
(()
=>
{
...
...
@@ -949,6 +952,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
cc
.
audioEngine
.
playMusic
(
this
.
bgmNode
.
getComponent
(
cc
.
AudioSource
).
clip
,
true
);
}
playBgmP100
()
{
let
vol
=
cc
.
audioEngine
.
getMusicVolume
();
if
(
vol
>
0.9
)
return
;
this
.
scheduleOnce
(()
=>
{
cc
.
audioEngine
.
setMusicVolume
(
0.2
);
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