Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cc_mz_007
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
cc_mz_007
Commits
aca636a0
Commit
aca636a0
authored
Feb 09, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test:
parent
ac7d1526
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
cc_mz_007.js
assets/cc_mz_007/scene/cc_mz_007.js
+0
-15
No files found.
assets/cc_mz_007/scene/cc_mz_007.js
View file @
aca636a0
...
@@ -966,21 +966,8 @@ cc.Class({
...
@@ -966,21 +966,8 @@ cc.Class({
}
}
cc
.
loader
.
load
(
image
,
async
(
error
,
texture
)
=>
{
cc
.
loader
.
load
(
image
,
async
(
error
,
texture
)
=>
{
this
.
log
(
'
error:
'
+
error
);
await
asyncDelay
(
3
);
cc
.
loader
.
load
({
url
:
atlas
,
type
:
'
txt
'
},
async
(
error
,
atlasJson
)
=>
{
cc
.
loader
.
load
({
url
:
atlas
,
type
:
'
txt
'
},
async
(
error
,
atlasJson
)
=>
{
this
.
log
(
'
error:
'
+
error
);
await
asyncDelay
(
3
);
cc
.
loader
.
load
({
url
:
ske
,
type
:
'
txt
'
},
async
(
error
,
dragonBonesJson
)
=>
{
cc
.
loader
.
load
({
url
:
ske
,
type
:
'
txt
'
},
async
(
error
,
dragonBonesJson
)
=>
{
this
.
log
(
'
error:
'
+
error
);
await
asyncDelay
(
3
);
this
.
log
(
'
汪汪汪1
'
);
await
asyncDelay
(
3
);
const
atlas
=
new
dragonBones
.
DragonBonesAtlasAsset
();
const
atlas
=
new
dragonBones
.
DragonBonesAtlasAsset
();
atlas
.
atlasJson
=
atlasJson
;
atlas
.
atlasJson
=
atlasJson
;
atlas
.
texture
=
texture
;
atlas
.
texture
=
texture
;
...
@@ -995,8 +982,6 @@ cc.Class({
...
@@ -995,8 +982,6 @@ cc.Class({
let
armatures
=
json
[
"
armature
"
];
let
armatures
=
json
[
"
armature
"
];
// console.log('armatures: ', armatures);
// console.log('armatures: ', armatures);
let
armatureNames
=
[];
let
armatureNames
=
[];
this
.
log
(
'
汪汪汪2
'
);
await
asyncDelay
(
3
);
for
(
let
i
=
0
;
i
<
armatures
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
armatures
.
length
;
i
++
)
{
armatureNames
.
push
(
armatures
[
i
].
name
);
armatureNames
.
push
(
armatures
[
i
].
name
);
}
}
...
...
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