1
Scripts, plugins, utilities, goodies / Anime Studio -> WME Sprite
« on: July 14, 2009, 01:04:31 PM »
Hi,
in dependence on the free download of Anime Studio (http://forum.dead-code.org/index.php?topic=3705.0), here is a tip to export animations to wme sprites (almost) directly.
1. With this free Anime Studio 5 version, you can't export single png files (in Pro version only). But you can export a png based QuickTime movie:
http://www.lostmarble.com/forum/viewtopic.php?t=13927
Here you can download an example movie: http://www.lebostein.de/tutorial/anime/Henry_Jump.mov
2. Download my little python script, to convert a png based QuickTime movie to wme sprite:
http://www.lebostein.de/tutorial/anime/mov_2_wmesprite.py
3. Edit the script header:
wme_directory = directory of your game data folder, important: end with '/'
wme_subfolder = an existent (!) subfolder for the new sprite (actors, interface, items...)
moviepath = path of your png based QuickTime movie, important: an underscore to separating name (Henry) and action (Jump) is required!
Save the script!
4. Start the script:
with double click on the script or in console: >>> python mov_2_wmesprite.py
5. Check your game directory:
before:

after:


Now, double click on the sprite to load it into the sprite editor. Have fun!
in dependence on the free download of Anime Studio (http://forum.dead-code.org/index.php?topic=3705.0), here is a tip to export animations to wme sprites (almost) directly.
1. With this free Anime Studio 5 version, you can't export single png files (in Pro version only). But you can export a png based QuickTime movie:
http://www.lostmarble.com/forum/viewtopic.php?t=13927
Here you can download an example movie: http://www.lebostein.de/tutorial/anime/Henry_Jump.mov
2. Download my little python script, to convert a png based QuickTime movie to wme sprite:
http://www.lebostein.de/tutorial/anime/mov_2_wmesprite.py
3. Edit the script header:
Code: [Select]
# =======================================================================
wme_directory = 'S:/WME_Games/Loeffel/data/'
wme_subfolder = 'actors'
moviepath = 'C:/TEMP/Henry_Jump.mov'
frame_hotspot = [70, 240]
frame_delay = 24
frame_alpha = 255
# =======================================================================
wme_directory = directory of your game data folder, important: end with '/'
wme_subfolder = an existent (!) subfolder for the new sprite (actors, interface, items...)
moviepath = path of your png based QuickTime movie, important: an underscore to separating name (Henry) and action (Jump) is required!
Save the script!
4. Start the script:
with double click on the script or in console: >>> python mov_2_wmesprite.py
5. Check your game directory:
before:

after:


Now, double click on the sprite to load it into the sprite editor. Have fun!