Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to import Spine animation data? #9

Open
aseem2625 opened this issue Dec 17, 2016 · 3 comments
Open

Not able to import Spine animation data? #9

aseem2625 opened this issue Dec 17, 2016 · 3 comments

Comments

@aseem2625
Copy link

aseem2625 commented Dec 17, 2016

Hi @superlancelot
DragonBones 4.9.5
I am not able to import Spine animation data to DB.
<Check the 2nd post. You may ignore this one.>

Resources have been taken from 👍
Resources Link
I've converted texture data from .atlas format into .json as DragonBones doesn't support reading .atlas format.

My files are as follow:

Image file:
spineboy

Texture Data file (Uploaded in .txt format. Plz remove ".txt" from file name before using)
spineboy.json.txt

Animation Data(Uploaded in .txt format. Plz remove ".txt" from file name before using)
spineboy.json.txt

Note:
My animation data and texture data are both .json formats. And my texture data .json works correctly as I am able to import it individually as can be seen in below image.
image

But when I created a new project and used this panel. It throws an error saying "Animation Data or Texture Data not supported. Try other plugin"
image

image

PS: I even tried to save a new empty project and tried importing as "Existing Project" and then also no success.

@aseem2625
Copy link
Author

aseem2625 commented Dec 17, 2016

After lot of error and trials, found that there was slight issue in .json animation file. In above .json file,
following was missing in the starting of the file:

"skeleton": {
	"hash": "NYDebVH+Ht9WSskWgX4h79z2c4w",
	"spine": "3.5.03-beta",
	"width": 1223.72,
	"height": 1055.62,
	"fps": 30,
	"images": "./images/"
},

Anyways, you may ignore the above post. Now, I am taking example from the below link
Resources

And the import seems to work. But there is a huge issue in scaling of images.
This is how it looks after import:

image

image

However, this one is correct. Probably, because not scaling was used for it in spine.
image

@superlancelot
Copy link
Member

superlancelot commented Dec 27, 2016

New features such as "skew", "path constraint" in spine 3.5.x is not supported. Because DragonBones still have no these features :-(

@sergiopoverony
Copy link

More error from export - see here #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants