Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Anime Studio -> WME Sprite  (Read 6575 times)

0 Members and 1 Guest are viewing this topic.

Lebostein

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
    • View Profile
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:

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!
« Last Edit: July 14, 2009, 01:22:19 PM by Lebostein »
Logged

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Wiki editor
  • Frequent poster
  • ****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Anime Studio -> WME Sprite
« Reply #1 on: July 14, 2009, 05:00:05 PM »

Interesting tool. Thanks   :)
Logged
Regards,

    Fernando
 

Page created in 0.019 seconds with 19 queries.