zhangr

first, thank you very much for providing so great tool for 2d skeleton animation.

my colleague has sent a email for a problem in project merging, at https://trello.com/c/5UyV0Jlz/108-also- ... -animation .

i don't think it is a new idea, but a bug, when we import an animation from another project, may contain some new attachment and setup info, but the tool only import animation, not the attachment and setup info, we look into the output json file and find:
project1:
"skins": {
"default": {
"hair": {
"Run_hair_0000": { "x": 6.14, "y": -1.87, "scaleX": 1.065, "rotation": 48.52, "width": 128, "height": 128 }
}
}
project2:
"skins": {
"default": {
"hair": {
"attack_hair_0000": { "x": 6.74, "y": -0.94, "scaleX": 1.065, "rotation": 69.27, "width": 128, "height": 128 }
}
}
when we use project1 import project2, the animation has been imported successfully, but the attachment info has lost, but we expect this:
expected:
"skins": {
"default": {
"hair": {
"Run_hair_0000": { "x": 6.14, "y": -1.87, "scaleX": 1.065, "rotation": 48.52, "width": 128, "height": 128 },
"attack_hair_0000": { "x": 6.74, "y": -0.94, "scaleX": 1.065, "rotation": 69.27, "width": 128, "height": 128 }
}
}

we have too many projects, each one need to be fixed manual, this make us embarrassed, can you help us?
zhangr
  • Сообщения: 1

Nate

If you are importing an animation, it does not import new slots and attachments. The project you are importing into must have all the slots and attachments used in the animation you are importing, otherwise keys for those slots and attachments are not imported and you get a warning dialog. There is this task:
https://trello.com/c/5UyV0Jlz/108-also- ... -animation
Аватара пользователя
Nate

Nate
  • Сообщения: 9845


Вернуться в Bugs