Page 1 of 1
Setting up a scripting tutorial
Posted: Mon Dec 11, 2006 2:13 pm
by Rasheed
Basically because I need it myself for reference, I'm setting up a tutorial website at this address:
How do I script Anime Studio?
It's at a very early stage of development and far from completed, so, please, be gentle with your critique. I hope when it's finished, animators can use it to modify existing scripts, or even write their own.
At the moment, I'm busy with the Object Index, which attempts to describe all the AS objects that can be referenced in the scripting interface (Lua). Once that is completed, I will continue with the Layer Scripts, Menu Scripts, Tool Scripts and Graphical User Interface. Perhaps some of the articles will be removed, a lot will be added.
Posted: Mon Dec 11, 2006 2:40 pm
by Rai López
...oOoHh, I
LOVE you Rasheed!!!

Am I been enough gendle?

Well, seriously, you don't know how this kind of things help, specially talking about the Anime Studio scripting documentation area that always have been a "little" forgotted by its developers...
THANK YOU! Now I'm going to study all that content

, BYE!
Posted: Mon Dec 11, 2006 2:57 pm
by magicwand
Thanks Rasheed

,
This will a lot of people who want to learn scripting, Like me.
Posted: Mon Dec 11, 2006 4:02 pm
by Rasheed
You're both welcome.
Posted: Tue Dec 12, 2006 9:46 am
by gremat
This is great, thank you very much, Rasheed!

Posted: Tue Dec 12, 2006 10:00 am
by Rasheed
Thank you for your support!
My problem with the original reference by Lost Marble is that it is rather bare bone, and it has no examples. I often have to dissect existing working scripts (great way to teach yourself programming, BTW) and try out some sample code.
If one has only little programming experience (as most animators have, I suppose), the original manual is certainly not enough.
I'm working on the
Object Index right now, where I'm rehashing the stuff provided by LM, and adding some examples where needed. Besides the code coloring (which is done with SubEthaEdit) the html and stylesheet coding is all done by hand, because I believe in clean hand-coded stuff. It's a bit like coding in assembler while the majority is coding in Py-thon or Ruby on Rails.
Posted: Tue Dec 12, 2006 4:40 pm
by heyvern
Those of you looking for another very good tool for editing LUA scripts should try out jEdit:
http://www.jedit.org/
It is a programmer's text editor.
I use it on the mac to edit my raw Moho source files and also when I occasionally dabble in scripting. (along with web related stuff like JS and the occasional Perl).
LUA syntax high lighting is built in.
It kicks arse.
-vern
Posted: Tue Dec 12, 2006 5:33 pm
by Rasheed
Well, if you want an even better program for the Mac, though not free anymore, have a look at the award winning editor
SubEthaEdit. It's also perfect for collaborative projects (you can see who edited what) on a shared server.
Posted: Tue Dec 12, 2006 8:51 pm
by bupaje
Thanks Rasheed. I will take a look at this during my semester break. Been wanting to learn a bit -though I wish we had a scripting language with more of a BASIC flavor -c-like stuff tends to burn my remaining brain cells. Not sure why but Basic, VB and VB Script always made more sense to me -at least I managed to hammer or hack out simple stuff as needed. Anyway, I'm drifting. Thanks again.