Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg09_jq
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
dg09_jq
Commits
3c4bf285
You need to sign in or sign up before continuing.
Commit
3c4bf285
authored
Oct 11, 2022
by
yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10.11调整
parent
61af40e4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
19 deletions
+27
-19
right.mp3
assets/dg09_jq/audios/right.mp3
+0
-0
right.mp3.meta
assets/dg09_jq/audios/right.mp3.meta
+1
-1
dg09_jq.fire
assets/dg09_jq/scene/dg09_jq.fire
+3
-3
dg09_jq.ts
assets/dg09_jq/scene/dg09_jq.ts
+23
-15
No files found.
assets/dg09_jq/audios/right.mp3
View file @
3c4bf285
No preview for this file type
assets/dg09_jq/audios/right.mp3.meta
View file @
3c4bf285
...
...
@@ -2,6 +2,6 @@
"ver": "2.0.1",
"uuid": "5c34a8d8-5e4e-4ae6-b4d1-b32446d54f67",
"downloadMode": 0,
"duration":
3.787755
,
"duration":
1.48898
,
"subMetas": {}
}
\ No newline at end of file
assets/dg09_jq/scene/dg09_jq.fire
View file @
3c4bf285
...
...
@@ -1768,7 +1768,7 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
72
3.4129999999999
,
72
1.86
,
-542.231,
0,
0,
...
...
@@ -1840,7 +1840,7 @@
"node": {
"__id__": 37
},
"_enabled":
fals
e,
"_enabled":
tru
e,
"alignMode": 1,
"_target": null,
"_alignFlags": 36,
...
...
@@ -1972,7 +1972,7 @@
"node": {
"__id__": 40
},
"_enabled":
fals
e,
"_enabled":
tru
e,
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
...
...
assets/dg09_jq/scene/dg09_jq.ts
View file @
3c4bf285
...
...
@@ -134,20 +134,27 @@ export default class SceneComponent extends MyCocosSceneComponent {
this
.
layout_final
.
active
=
false
;
}
private
cleanBridge
()
{
let
bridge_4
=
cc
.
find
(
"
bridge_4
"
,
this
.
layout_game
);
bridge_4
.
children
.
forEach
((
ch
)
=>
{
let
word
=
cc
.
find
(
"
word
"
,
ch
);
word
.
getComponent
(
cc
.
Label
).
string
=
""
;
})
let
bridge_8
=
cc
.
find
(
"
bridge_8
"
,
this
.
layout_game
);
bridge_8
.
children
.
forEach
((
ch
)
=>
{
let
word
=
cc
.
find
(
"
word
"
,
ch
);
word
.
getComponent
(
cc
.
Label
).
string
=
""
;
})
let
bridge_12
=
cc
.
find
(
"
bridge_12
"
,
this
.
layout_game
);
bridge_12
.
children
.
forEach
((
ch
)
=>
{
let
word
=
cc
.
find
(
"
word
"
,
ch
);
word
.
getComponent
(
cc
.
Label
).
string
=
""
;
// let bridge_4 = cc.find("bridge_4", this.layout_game);
// bridge_4.active = false;
// bridge_4.children.forEach((ch) => {
// let word = cc.find("word", ch);
// word.getComponent(cc.Label).string = "";
// })
// let bridge_8 = cc.find("bridge_8", this.layout_game);
// bridge_8.children.forEach((ch) => {
// let word = cc.find("word", ch);
// word.getComponent(cc.Label).string = "";
// })
// let bridge_12 = cc.find("bridge_12", this.layout_game);
// bridge_12.children.forEach((ch) => {
// let word = cc.find("word", ch);
// word.getComponent(cc.Label).string = "";
// })
// bridge_8.active = false;
// bridge_12.active = false;
this
.
layout_game
.
children
.
forEach
((
ch
)
=>
{
ch
.
active
=
false
;
})
}
...
...
@@ -191,6 +198,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
let
c_d
=
data
.
wordArr
[
idx
];
if
(
!
c_d
)
ch
.
active
=
false
;
this
.
initCloudItem
(
ch
,
c_d
);
this
.
floatAction
(
ch
);
});
layout_bridge
.
children
.
forEach
((
item
,
idx
)
=>
{
let
c_d
=
data
.
wordArr
[
idx
];
...
...
@@ -352,7 +360,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
private
floatAction
(
target
)
{
cc
.
Tween
.
stopAllByTarget
(
target
);
cc
.
tween
(
target
).
by
(
0.
3
,
{
y
:
-
10
}).
by
(
0.3
,
{
y
:
1
0
}).
start
();
cc
.
tween
(
target
).
by
(
0.
15
,
{
y
:
-
20
}).
by
(
0.3
,
{
y
:
2
0
}).
start
();
}
...
...
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