Comments (3)
Perhaps the command you need to execute is 2db -t spine
.
from tools.
Sorry, 2db -t new
is a typo.
from tools.
Spent some time yesterday digging around and turned out to be a pretty weird problem. I'm porting a game from Flash to Canvas and the animations are exported from as JSON targeting dragonBones @2.x so needed to push them through 2db to upgrade them.
Looks like one of the animations is exported in a strange way that caused a failure within globalToLocal
method of dragonbones-tools/out/action/toFormat.js
when calling armature.sortBones()
. The workaround we settled for is to export the assets from Flash as "parentReference" instead of "globalReference" and therefore circumvent that method.
[line 217]
if (data.isGlobal) {
globalToLocal(armature);
}
...fails at armature.sortBones();
[line 228]
Also, another issue we had was [mis]naming of the input .json file, causing an infinite recursion within path.js
. We renamed the file to "texture.json" and then db2 -t binary -i ./source/path -o ./out/path
ran nicely.
Not sure if any of this applies to other setups then my own, but maybe saves someone a headache...
from tools.
Related Issues (19)
- command -d参数可能有误
- Spine json "deform" key is empty
- 新版本导出spine存在问题,deform依然为空
- Bug: TextureAtlas with rotated is rotated wrong direction HOT 1
- convert from version 2.3 to new(5.5),the output json lost frame event
- 关于DragonBonesPro无法导出的问题 HOT 1
- Dragon Bones to Live2D Format HOT 1
- Dragon Bones viewer
- Convert live2d moc3 format to DragonBones format
- BUG: converting from version 2.x/3.x HOT 9
- spine数据转换不正确
- 龙骨模型可以直接转live2d v3 格式模型吗
- Is it possible to convert dbbin binary file to spine skel json file?
- [已解决]用tsc编译的时候报了“未使用的变量的错误“ HOT 1
- BUG: FrameEvents off after converting from version 2.x/3.x to "new" HOT 2
- Spriter support would be awesome HOT 1
- Low Quality in mesh
- The exported spine json file can not be used properly.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tools.