martinr

I am currently working on live reloading spine files, so when a spine file is saved it is automatically updated in game. It works nicely, however an annoyance is that from saving the spine file until json (using command line export) has been generated takes too much time. ~5 seconds so it may not seem bad, but having near instant feedback in game would be really nice.

The thing is, that it is not the export itself that takes time, but rather starting the command line tool. Would it be possible to start spine as a background task and be able to throw arguments at it while it is running so we didn't have to wait for the startup every time? Or maybe use an already running instance of spine?

Cheers
martinr
  • Posts: 28

Nate

It is definitely something we can improve in the future, but unfortunately there is not a solution for now. What if you do your exports from Spine, then hot reload the JSON or binary data? ctrl+shift+E repeats the last export.
User avatar
Nate

Nate
  • Posts: 9839

martinr

That makes it near instant, so it is probably a workaround we will use where relevant. Thanks for the suggestion
martinr
  • Posts: 28


Return to Editor