Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
ngt_video
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
ngt_video
Commits
fde4fa1e
Commit
fde4fa1e
authored
Oct 20, 2022
by
liujiangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 骨骼动画不播放的问题
parent
439fd026
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
ngt_video.meta
assets/ngt_video.meta
+1
-15
ngt_video.js
assets/ngt_video/Scene/ngt_video.js
+1
-1
No files found.
assets/ngt_video.meta
View file @
fde4fa1e
{
{"ver":"1.1.2","uuid":"4f557179-a05f-4891-bac0-6a3d0275c8ce","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
"ver": "1.1.2",
\ No newline at end of file
"uuid": "4f557179-a05f-4891-bac0-6a3d0275c8ce",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
assets/ngt_video/Scene/ngt_video.js
View file @
fde4fa1e
...
@@ -343,7 +343,7 @@ cc.Class({
...
@@ -343,7 +343,7 @@ cc.Class({
const
animaNode
=
animNode
[
'
animaNode
'
];
const
animaNode
=
animNode
[
'
animaNode
'
];
animaNode
.
x
=
500
;
animaNode
.
x
=
500
;
const
db
=
animaNode
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
const
db
=
animaNode
.
getComponent
(
dragonBones
.
ArmatureDisplay
);
const
anis
=
db
.
getAnimationNames
(
"
armatureName
"
);
const
anis
=
db
.
getAnimationNames
(
db
.
armatureName
);
db
.
playAnimation
(
anis
[
0
],
0
);
db
.
playAnimation
(
anis
[
0
],
0
);
cc
.
tween
(
animaNode
).
by
(
1
,
{
x
:
-
500
}).
call
(()
=>
{
cc
.
tween
(
animaNode
).
by
(
1
,
{
x
:
-
500
}).
call
(()
=>
{
...
...
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