json animations (Dragonbones Pro) work only partially

  • #1, z yuughurt-29297Thursday, 20. June, 04:06 hodinky 3 months ago
    Hello there,

    I'm a bit desperate by now. I am trying to import a json animation made in dragonbones pro into visionaire.

    - Exported as Spine.
    - json and atlas file are both in the same folder and are named exactly the same.
    - I edited the missing brackets and words in the json file, so that Visionaire even shows anything.
    - I put the animation in and selected it.
    -->  My character is visible and moves, BUT
    only the movements on the y- & x-axis were imported in visionaire (or at least shown in visionaire, the other information should be imported as well).
    Every other animation - say rotations and warping of the characters body- are just not shown at all in the animation. And those are the most important movements for joints... it looks shitty.

    I would appreciate and bless anyone, that has an idea to WHY this happens. Really! Thank you in advance!


    This is how the json file looks btw:

    {"skeleton":{"width":268.24,"height":419.6,"fps":24,"hash":" ","name":"Armature"},"bones":[{"name":"root"},{"x":-0.4721,"y":202.0612,"name":"body","parent":"root"},{"name":"foot_r","parent":"body"},{"name":"foot_l","parent":"body"},{"name":"facial_exp","parent":"body"},{"name":"coat","parent":"body"},{"length":288,"x":29.8721,"y":137.8888,"rotation":-90.7537,"name":"bananaby torso","parent":"body"},{"length":46,"x":26.0721,"y":-151.4612,"rotation":-75.6773,"name":"bananaby foot","parent":"foot_l"},{"name":"front","parent":"coat"},{"length":48,"x":24.9721,"y":-150.4112,"rotation":-117.4387,"name":"bananaby foot1","parent":"foot_r"},{"name":"back","parent":"coat"}],"slots":[{"name":"bananaby coat back","bone":"back","attachment":"bananaby coat back"},{"name":"bananaby foot1","bone":"bananaby foot1","attachment":"bananaby foot"},{"name":"bananaby foot","bone":"bananaby foot","attachment":"bananaby foot"},{"name":"bananaby torso","bone":"bananaby torso","attachment":"bananaby torso"},{"name":"bananaby coat front","bone":"front","attachment":"bananaby coat front"},{"name":"bananaby facial","bone":"facial_exp","attachment":"bananaby facial"}],"skins":[{"name":"default","attachments":{"bananaby torso":{"bananaby torso":{"name":"bananaby torso","width":211,"height":404,"hull":4,"triangles":[1,0,3,0,2,3],"uvs":[0,0,1,0,0,1,1,1],"edges":[0,2,2,6,4,6,4,0],"vertices":[4,2,-105.5,211.57,0.25,3,-105.5,211.57,0.25,8,-105.5,211.57,0.25,10,-105.5,211.57,0.25,4,2,105.55,217.52,0.25,3,105.55,217.52,0.25,8,105.55,217.52,0.25,10,105.55,217.52,0.25,4,2,-105.5,-192.43,0.25,3,-105.5,-192.43,0.25,8,-105.5,-192.43,0.25,10,-105.5,-192.43,0.25,4,8,105.55,-186.48,0.25,10,105.55,-186.48,0.25,2,105.55,-186.48,0.25,3,105.55,-186.48,0.25],"type":"mesh"}},"bananaby coat front":{"bananaby coat front":{"name":"bananaby coat front","width":251,"height":218,"hull":4,"triangles":[1,0,3,0,2,3],"uvs":[0,0,1,0,0,1,1,1],"edges":[0,2,2,6,4,6,4,0],"vertices":[1,10,-94.34,28.13,1,1,10,156.24,42.66,1,1,10,-81.72,-189.51,1,1,10,168.86,-174.97,1],"type":"mesh"}},"bananaby facial":{"bananaby facial":{"name":"bananaby facial","width":61,"height":57,"x":25.65,"y":36.68}},"bananaby coat back":{"bananaby coat back":{"name":"bananaby coat back","width":162,"height":222,"x":43.16,"y":-47.03}},"bananaby foot1":{"bananaby foot":{"name":"bananaby foot","width":41,"height":56,"x":24.88,"y":-0.86,"rotation":117.44}},"bananaby foot":{"bananaby foot":{"name":"bananaby foot","width":41,"height":56,"x":24.04,"y":-1.19,"rotation":75.68}}}}],"animations":{"animtion0":{"bones":{"foot_r":{"rotate":[{"time":0,"curve":"stepped","angle":0},{"time":0.4167,"angle":-0.11},{"time":1.25,"angle":-15.63},{"time":1.6667,"angle":1.03}],"shear":[{"time":0,"curve":"stepped"},{"time":0.4167},{"time":1.25},{"time":1.6667}]},"foot_l":{"rotate":[{"time":0,"curve":"stepped","angle":0},{"time":0.4167,"angle":-11.02},{"time":0.8334,"angle":-1.27}],"shear":[{"time":0,"curve":"stepped"},{"time":0.4167},{"time":0.8334}]},"bananaby foot":{"translate":[{"time":0,"curve":"stepped"},{"time":1.3333,"x":22.48,"y":0.5},{"time":1.875,"x":157.69,"y":3.5}]}},"deform":{"default":{"bananaby torso":{"bananaby torso":[{"time":0,"vertices":[-0.05,-8.5,-0.05,-8.5]}]},"bananaby coat front":{"bananaby coat front":[{"time":0,"curve":"stepped","offset":7,"vertices":[0]},{"time":0.6667,"offset":2,"vertices":[1.7,2.55,0,0,1.7,2.55]},{"time":0.8334,"offset":2,"vertices":[1.7,2.55,0,0,80.5,26.61]},{"time":1.5001,"offset":2,"vertices":[1.7,2.55,0,0,39.2,24.85]}]}}}}}}

    Bažant

    1 Posts


  • #2, z NigecThursday, 20. June, 12:48 hodinky 3 months ago
    I think the problem is that Visionaire is using a newer version of Spine

    there is a thread about converting the file, I'm not sure if it still works

    It's a shame Dragonbones is abandoned

    Zabiják klíčů

    635 Posts

Napsat příspěvek