• Editor
  • Swapping one image in Godot keeping the same Skin

Hi,

I'm trying to achieve something with GodotSpine 4.2.2 but can't find a way, even after reading the documentation.

In my Spine project, I have different characters, each represented by a skin, and it's easy to switch between these skins. However, the challenge is that all characters hold a sword, and I need to swap just the sword in Godot without changing the entire skin.

For example, I have 3 skins for 3 characters, but 20 different sword textures. How can I keep one skin and easily swap the different swords in Godot?

Because it would be irrelevant to create 3*20 = 60 Skins for each character/each sword.

Thank you!

  • Misaki ответили на это сообщение.
    Related Discussions
    ...

    Musashogi As described in the Mix-and-match Skins section of the documentation, what you want to do can be accomplished by combining the character skin and sword skin into one skin at runtime and applying it to the skeleton.
    By doing so, multiple skins can be applied to the skeleton, as when using the pinning of skin views in the Spine editor: https://esotericsoftware.com/spine-skins-view

    See the example/03-mix-and-match scene in the example project.

    Thank You