Python Scripting for AS
Moderators: Víctor Paredes, Belgarath, slowtiger
- InfoCentral
- Posts: 935
- Joined: Fri May 26, 2006 8:35 pm
- Location: Los Angeles, CA
Python Scripting for AS
I just noticed that Papagayo is written in Python and it integrates nicely with AS. So is it possible to write scripts in Python for AS?
MEETUP.COM - start or join a group
Re: Python Scripting for AS
Uhm, AS only reads a text file created by Papagayo. That's all. No Python works within AS, it's all LUA.
Re: Python Scripting for AS
SlowTiger is right about Papagayo, but you could try this:
http://labix.org/lunatic-python/
Not sure how useful it would be though as probably all of the useful things you can do in Python are probably not supported by the AS scripting interface anyway.
http://labix.org/lunatic-python/
Not sure how useful it would be though as probably all of the useful things you can do in Python are probably not supported by the AS scripting interface anyway.
- hayasidist
- Posts: 3525
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Python Scripting for AS
bearing in mind that the .anme files are just text files then python could be used to do "script"-like things outside AS - e.g. delete all keyframes between frames a and b; insert keyframes to give a parabolic trajectory to layer x between frames a and b; unload all keyframes in switch layer z to a .dat; create a .anme from this .svg ... of course you'll need to figure out the .anme file format (which has a nasty habit of changing between releases)