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?
Page 1 of 1
- Posts: 28
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+Erepeats the last export.
- Posts: 9839
That makes it near instant, so it is probably a workaround we will use where relevant. Thanks for the suggestion
- Posts: 28
Mark topic unread • Page 1 of 1
Return to Editor