Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xytk_cs_001
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
xytk_cs_001
Commits
5e206824
Commit
5e206824
authored
Feb 27, 2021
by
xytk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
6892e582
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
89 additions
and
149 deletions
+89
-149
Scene.fire
play/assets/tmpGame/scene/Scene.fire
+83
-143
Scene.js
play/assets/tmpGame/script/Scene.js
+6
-6
No files found.
play/assets/tmpGame/scene/Scene.fire
View file @
5e206824
This diff is collapsed.
Click to expand it.
play/assets/tmpGame/script/Scene.js
View file @
5e206824
...
@@ -145,9 +145,6 @@ cc.Class({
...
@@ -145,9 +145,6 @@ cc.Class({
this
.
initAudio
();
this
.
initAudio
();
this
.
initView
();
this
.
initView
();
// this.initListener();
// this.initListener();
},
},
_cantouch
:
null
,
_cantouch
:
null
,
...
@@ -198,10 +195,8 @@ cc.Class({
...
@@ -198,10 +195,8 @@ cc.Class({
var
atlas
=
new
dragonBones
.
DragonBonesAtlasAsset
();
var
atlas
=
new
dragonBones
.
DragonBonesAtlasAsset
();
atlas
.
atlasJson
=
atlasJson
;
atlas
.
atlasJson
=
atlasJson
;
atlas
.
texture
=
texture
;
atlas
.
texture
=
texture
;
var
asset
=
new
dragonBones
.
DragonBonesAsset
();
var
asset
=
new
dragonBones
.
DragonBonesAsset
();
asset
.
dragonBonesJson
=
dragonBonesJson
;
asset
.
dragonBonesJson
=
dragonBonesJson
;
dragonDisplay
.
dragonAtlasAsset
=
atlas
;
dragonDisplay
.
dragonAtlasAsset
=
atlas
;
dragonDisplay
.
dragonAsset
=
asset
;
dragonDisplay
.
dragonAsset
=
asset
;
let
dbj
=
JSON
.
parse
(
dragonBonesJson
);
let
dbj
=
JSON
.
parse
(
dragonBonesJson
);
...
@@ -210,7 +205,12 @@ cc.Class({
...
@@ -210,7 +205,12 @@ cc.Class({
dragonDisplay
.
armatureName
=
armatureNames
[
0
];
dragonDisplay
.
armatureName
=
armatureNames
[
0
];
}
}
// dragonDisplay.playAnimation(item.dragonBone_animationName, 0);
let
width
=
animNode
.
node
.
width
;
let
height
=
animNode
.
node
.
height
;
animNode
.
spriteFrame
=
spriteFrame
;
animNode
.
node
.
width
=
width
;
animNode
.
node
.
height
=
height
;
});
});
});
});
});
});
...
...
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