Version 6 scripting interfaces
Posted: Mon Jun 01, 2009 11:26 pm
*** UPDATED ***
*** The scripting interface for version 6.1 is included below as well. ***
I said I'd post some info on scripting in version 6. And here we go...
The link below is the totally complete scripting interface. However, it's in a format similar to a C++ header file. There are no descriptions included. This is kind of meant for advanced scripting users. If you're new to scripting, it's probably best to start with the old version 5 scripting documentation.
There are three files included:
pkg_moho.lua_pkg - Start with this one. It describes the scirpting interface to Anime Studio. What functions and values are available for a layer, a bone, etc.
pkg_lm.lua_pkg - This one describes basic types used by Anime Studio. Vectors, 2D points, colors, etc.
pkg_lm_gui.lua_pkg - Contains the data structures used for building UI elements and drawing on the canvas.
Version 6.0 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Version 6.1 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Not: I've included the interfaces for both 6.0 and 6.1. 6.1 has a few new functions not available in 6.0. But since 6.1 is a free update with lots of bug fixes, there's really no reason to limit yourself to 6.0, so for most people I'd say go ahead and use the 6.1 interfaces unless you have some real pressing reason to stick with 6.0.
*** The scripting interface for version 6.1 is included below as well. ***
I said I'd post some info on scripting in version 6. And here we go...
The link below is the totally complete scripting interface. However, it's in a format similar to a C++ header file. There are no descriptions included. This is kind of meant for advanced scripting users. If you're new to scripting, it's probably best to start with the old version 5 scripting documentation.
There are three files included:
pkg_moho.lua_pkg - Start with this one. It describes the scirpting interface to Anime Studio. What functions and values are available for a layer, a bone, etc.
pkg_lm.lua_pkg - This one describes basic types used by Anime Studio. Vectors, 2D points, colors, etc.
pkg_lm_gui.lua_pkg - Contains the data structures used for building UI elements and drawing on the canvas.
Version 6.0 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Version 6.1 scripting interface:
http://my.smithmicro.com/downloads/file ... rfaces.zip
Not: I've included the interfaces for both 6.0 and 6.1. 6.1 has a few new functions not available in 6.0. But since 6.1 is a free update with lots of bug fixes, there's really no reason to limit yourself to 6.0, so for most people I'd say go ahead and use the 6.1 interfaces unless you have some real pressing reason to stick with 6.0.