TobyWils

There are a bunch of posts about this and it seems there is no definitive answer.

I want to be able to change the images used in an attachment at run-time and more importantly I don't want that image stored or hardcoded in the main spine file. An example of use would be welding a different sword. I might have hundreds of different swords that need to be attached and I don't want to have to embed them in the main spine files atlas or even rebuild the main spine file if a new sword is added. I've heard hints that this is possible but never seen an example of it's use.
TobyWils
  • 記事: 22

Mario

What Spine Runtimes do you want to use? This is specific to the engine you are using, so we need that info to provide help.
アバター
Mario

Mario
  • 記事: 2730

PQ77

Mario さんが書きました:What Spine Runtimes do you want to use? This is specific to the engine you are using, so we need that info to provide help.
I'm using WebGl. Are there any solutions for it?
PQ77
  • 記事: 1

Mario

I suggest you give pixi-spine a try, as PixiJS is much more complete when it comes to implementing a full game. You can find an example on how to attach a custom image here:
https://github.com/pixijs/pixi-spine/blob/master/examples/dynamic_texture_atlas.md
アバター
Mario

Mario
  • 記事: 2730


Return to Runtimes