Licence od 75 € Přihlásit se
DE EN FR ES IT CZ

Spine / Dragonbones mirrored object not fully mirrored?

Toto téma je několik let staré. Některé údaje se mohou týkat starší verze Visionaire Studia. Aktuální návody

  1. · 4 years ago
    I've just started messing around with Visionaire, and was looking into Spine / Dragon Bones.

    I was using Dragonbones' built-in "Sheep" sample object for testing
    I found lebosteins posting to convert dragonbones objects to be compatible with the spine version that Visionaire supports.


    However, I am seeing something weird: After importing the json into Visionaire, my left walk animation in Visionaire looks perfectly fine... But when I set the right walk animation to simply mirror the left, there is a problem: the bulk of the graphics are mirrored, except for the feet of the object, they are still pointing the original direction.

    Left:




    Any thoughts? 

    Since the object looks and behaves as expected when facing left, would this be a bug in Visionaire?
    • Obrázek v příspěvku
    • Obrázek v příspěvku
    • Obrázek v příspěvku
  2. Pracujete na hře?

    Bezplatná verze umožňuje až 25 scén na projekt. Pro více scén a pro prodej hry potřebujete licenci.

    Zobrazit licence Vyzkoušet zdarma
  3. · 4 years ago
    The mirroring works by changing the root scaleY to -1, so maybe there is something in your tree to go against that. Don't know what could be it. Maybe the meshes don't work like it.
  4. · 4 years ago
    Not sure, it's really weird...

    Within dragon bonoes itself I can mirror it by doing the -1 scale at the root node.

    Either way, even if an individual part would be flipped in the definitions for some reason, I'd expect it to be consistent, e.g. rendered backwards when showing it in the original direction as well.

    Another weird thing I noticed is that in the visionaire editor the character shows up and works (aside from the backwards feet), but when I export the game and run the executable directly it doesn't show up at all.
  5. · 4 years ago
    ...And it's not just the sheep, I also tried the sample rooster, and it behaves exactly the same: the feet aren't mirrored in visionaire when mirroring the character.
  6. · 4 years ago
    ...Just exporting to sprite sheets seems work more predictable than converting them to spine format for me at the moment, so I guess I'll just go that direction for now, which lets me use both Spriter Pro and DragonBones.

    Filesizes seem reasonable after converting to webp format.

Toto téma je uzavřené, protože tu přes rok nikdo neodpověděl. Svůj dotaz můžete položit v novém tématu.

Nové téma

Opravdu smazat tento příspěvek?