xSaber wrotebut if this work maybe i can make python script, parse all .skel files, then make it paste this line for me
Sure, python would be good too. Whatever you are most comfortable with.
xSaber wrotealso yes i want 1 skeleton 1 project, what is the way to do that? me on windows
As I said, if the project file exists from a previous import, subsequent imports will add the skeleton to the existing project file.
Cygwin lets you run bash scripts on Windows. Is it simple? If you are not used to it, probably not. Bash and Windows batch scripts are a bit painful. Python may be easier if you are familiar with it.
Note the export script I linked exports many project files, which can be useful, but it's very similar to running Spine to import for many data files.
xSaber wroteand note my version for sprites is 3.8 but yes i have afew on 3.7 but do 3.8 support it ?
I'm not sure what you are asking? I believe you can import with the CLI using 3.6+, though I don't remember the exact version that was added. Once you have created project files, you should keep them so you never need to do such imports again.
You then probably want to have a script that exports all your projects. That way you can work on your projects and when you go to build your game, export them all so you are your game has the latest data.
If you move to a newer version of Spine, you can just run your export script with the newer version
easy!
It's just a text file. To run a .sh
text file with Cygwin, open the Cygwin shell (or put the Cygwin bin
folder on your path, reboot, and use Window's command.com
) and then from a command prompt:
sh your-file.sh