forked from Malhavok/Spriter2Unity
-
Notifications
You must be signed in to change notification settings - Fork 11
Make it work
Malhavok edited this page Dec 7, 2013
·
1 revision
- Python 2.7 installed in your system
- Unity3d in 4.3+ version
- Spriter in 1.0 b5/b5.925 version
- make a new Unity project, make sure you marked is as 2D
- go to Editor options, set meta files (under version control) as "visible"
- import textures required by your spriter project into Unity (keep the same folder structure)
- import them as sprites
- keep default setting for pivot (centre)
- convert scml file
- windows:
- use Spriter2Unity Tool, run it
- point python installation (if not found automatically)
- point scml file
- point unity folder with imported assets
- Check whether output says that everything is ok (or at least there ain't too many warnings)
- Click convert and wait
- osx (i love you mac, but you have to wait a bit for a nice GUI)
- run terminal
- go into Spriter2Unity directory
- run "python convert.py [directory for scml file] [Unity directory with resources]"
- Output from the script will tell you whether you did a good job pointing directories.
- windows:
- copy .prefab and .anim into Unity Assets folder (anywhere)
- enjoy your character with all the animations