Setting up a scripting tutorial

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Setting up a scripting tutorial

Post 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.
User avatar
Rai López
Posts: 2292
Joined: Sun Aug 08, 2004 1:41 pm
Location: Spain
Contact:

Post by Rai López »

...oOoHh, I LOVE you Rasheed!!! :D Am I been enough gendle? :roll: 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!
magicwand
Posts: 39
Joined: Wed Nov 24, 2004 5:22 am

Post by magicwand »

Thanks Rasheed :D ,

This will a lot of people who want to learn scripting, Like me.
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post by Rasheed »

You're both welcome.
gremat
Posts: 1
Joined: Sun Dec 10, 2006 11:34 am

Post by gremat »

This is great, thank you very much, Rasheed!
:)
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post 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.
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post 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
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Post 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.
User avatar
bupaje
Posts: 1175
Joined: Fri Nov 12, 2004 5:44 pm
Location: California
Contact:

Post 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.
[url=http://burtabreu.animationblogspot.com:2gityfdw]My AnimationBlogSpot[/url:2gityfdw]
Post Reply