Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dc_wl04
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
dc_wl04
Commits
f896d2bf
Commit
f896d2bf
authored
Mar 22, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat
parent
d5664390
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
44 deletions
+11
-44
.DS_Store
.DS_Store
+0
-0
dc_wl04.fire
assets/dc_wl04/scene/dc_wl04.fire
+6
-6
dc_wl04.js
assets/dc_wl04/scene/dc_wl04.js
+5
-38
No files found.
.DS_Store
View file @
f896d2bf
No preview for this file type
assets/dc_wl04/scene/dc_wl04.fire
View file @
f896d2bf
...
@@ -815,7 +815,7 @@
...
@@ -815,7 +815,7 @@
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left": 92.0779999999999
5
,
"_left": 92.0779999999999
3
,
"_right": 1101.142,
"_right": 1101.142,
"_top": 236.257,
"_top": 236.257,
"_bottom": 248.423,
"_bottom": 248.423,
...
@@ -1211,7 +1211,7 @@
...
@@ -1211,7 +1211,7 @@
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left": 95.0880000000000
1
,
"_left": 95.0880000000000
2
,
"_right": 1123.932,
"_right": 1123.932,
"_top": 227.51599999999996,
"_top": 227.51599999999996,
"_bottom": 363.124,
"_bottom": 363.124,
...
@@ -1519,7 +1519,7 @@
...
@@ -1519,7 +1519,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 82.5
6999999999994
,
"width": 82.5
7000000000005
,
"height": 135.49
"height": 135.49
},
},
"_anchorPoint": {
"_anchorPoint": {
...
@@ -1531,7 +1531,7 @@
...
@@ -1531,7 +1531,7 @@
"__type__": "TypedArray",
"__type__": "TypedArray",
"ctor": "Float64Array",
"ctor": "Float64Array",
"array": [
"array": [
-501.897000000000
05
,
-501.897000000000
1
,
59.70600000000002,
59.70600000000002,
0,
0,
0,
0,
...
@@ -1607,7 +1607,7 @@
...
@@ -1607,7 +1607,7 @@
"alignMode": 1,
"alignMode": 1,
"_target": null,
"_target": null,
"_alignFlags": 45,
"_alignFlags": 45,
"_left": 96.8179999999999
3
,
"_left": 96.8179999999999,
"_right": 1100.612,
"_right": 1100.612,
"_top": 232.54899999999998,
"_top": 232.54899999999998,
"_bottom": 351.961,
"_bottom": 351.961,
...
@@ -5386,7 +5386,7 @@
...
@@ -5386,7 +5386,7 @@
"__id__": 120
"__id__": 120
}
}
],
],
"_active":
tru
e,
"_active":
fals
e,
"_components": [
"_components": [
{
{
"__id__": 123
"__id__": 123
...
...
assets/dc_wl04/scene/dc_wl04.js
View file @
f896d2bf
...
@@ -262,45 +262,12 @@ cc.Class({
...
@@ -262,45 +262,12 @@ cc.Class({
this
.
initBg
();
this
.
initBg
();
this
.
title
.
string
=
this
.
data
.
title
;
this
.
title
.
string
=
this
.
data
.
title
;
this
.
_curMission
=
0
,
this
.
_curMission
=
0
;
this
.
initMissionOptions
();
this
.
initMissionOptions
();
this
.
initTimerRight
();
this
.
initTimerRight
();
this
.
updateFlagArea
();
this
.
updateFlagArea
();
let
that
=
this
;
// if (this.data.audio_url && this.data.audio_url!=""){
// playAudioByUrl(this.data.audio_url,function(){
// that.playTimer(()=>{
// that.nextMission();
// });
// });
// }else{
// this.playTimer(()=>{
// this.nextMission();
// });
// }
// this.title.node.parent.on(cc.Node.EventType.TOUCH_START, () => {
// playAudioByUrl(this.data.audio_url);
// });
this
.
clicktoplay
.
on
(
cc
.
Node
.
EventType
.
TOUCH_START
,
()
=>
{
that
.
clicktoplay
.
active
=
false
;
// that.playTimer(()=>{
that
.
nextMission
();
// });
});
this
.
nextMission
();
},
},
...
...
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