Search found 222 matches

by Fazek
Thu May 11, 2006 2:05 pm
Forum: Scripting
Topic: PadSound (*fixed MS Sound Recorder bug problem*)
Replies: 35
Views: 25155

Do you know that switch layers can contain ANY strings in their keys, without a layer behind it? I think it is a good solution...
by Fazek
Thu May 11, 2006 9:11 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138829

To BA: the latest version runs only as a tool, so copy it into the tool directory. I will update the README, it's confusing. If you click on it, an "Exposure Sheet" button arrives on the toolbar of the window. You must click on this button to get the dialog window. It is working this way b...
by Fazek
Wed May 10, 2006 6:44 pm
Forum: General Moho Discussion
Topic: Will there be more updates to Moho?
Replies: 113
Views: 59378

You are using Mac Paint or Windows 3.1. Even if you don't know. The new softwares are coming from all of the software makers' knowledge. I think the future of the expensive softwares is getting darker. Now I'm sitting at a computer with Linux, mostly built from GPL licensed open source applications....
by Fazek
Wed May 10, 2006 5:20 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138829

I found some mistakes in the code so please upgrade. The exposure sheet tool will get a second (third...) dialog window to handle layers generally. After that the tool name will be LayerCommander. New features: - load and save the switch timeline keys in the usual format (I need test results on non-...
by Fazek
Mon May 08, 2006 6:16 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138829

A new Exposure Sheet tool added! You can edit Switch layers as exposure sheet (dopesheet) columns. A timeline key in a Switch layer is a simple character string, independently of the sub-layers' names. With this tool you can add, remove and modify these keys. You can list and edit up to three Switch...
by Fazek
Sat May 06, 2006 7:10 am
Forum: Scripting
Topic: LUA? I love it! Dogwaffle too...
Replies: 1
Views: 2633

As far as I see, we are using LUA only for expanding the interactive tools of the Moho program, and with a new feature, LayerScript, we can add new possibilities to the layers movement. Unfortunately, LUA has no access to the rendering functions of Moho. Even you can't load or save image files easil...
by Fazek
Thu May 04, 2006 7:26 am
Forum: Scripting
Topic: Script Download Page
Replies: 17
Views: 21555

About the html manuals: I am thinking on a solution with a modified version of "toc.html" in the Moho help folder. It could allow the scriptwriters to put some html documentation into the scripts/tool, scripts/menu folder together with the lua file. ADDED: I tried it. It's not easy because...
by Fazek
Thu May 04, 2006 7:11 am
Forum: Scripting
Topic: Little Scripting Doubts and Curiosities Site :)
Replies: 29
Views: 17897

Now I see better how the bones are calculated since I created my Reparent Bone tool. My previous samples simulated more-or-less the calculation of the bone's own matrices. So the simplest way to calculate the bone positions is: function xDrawAllBones(moho,view) local bone,skel if (moho.layer:LayerTy...
by Fazek
Wed May 03, 2006 3:04 pm
Forum: Scripting
Topic: Script Download Page
Replies: 17
Views: 21555

I am working on some tools to replace and expand the original tools from Lost Marble. You can download these files from: http://www.firkafilm.com/moho/index.html My question: Is there any place where a visitor can find the most useful collections of scripts ever made for moho? Or at least a collecti...
by Fazek
Tue May 02, 2006 1:49 pm
Forum: Scripting
Topic: Help needed... "dynamic global variable" from laye
Replies: 7
Views: 3920

I just found something interesting: in a layer script, you can assign ANY variable to the actual layer (at least under Linux), for example: moho.layer.MyOwnVariable= xxxx and afterwards, it will remember this variable separately for each layer even if you are using the same layerscript for many laye...
by Fazek
Tue May 02, 2006 10:54 am
Forum: Scripting
Topic: Help needed... "dynamic global variable" from laye
Replies: 7
Views: 3920

I tried the layerscript basics with the following two layerscripts. As you see, I don't declare the global SampleVariable at all, the first "if (SampleVariable)" returns false if it is the first access to SampleVariable, or if it is containing nil (or false, if it's bool). That's because a...
by Fazek
Tue May 02, 2006 8:48 am
Forum: Scripting
Topic: PadSound (*fixed MS Sound Recorder bug problem*)
Replies: 35
Views: 25155

Very nice work! I learned a lot about how to process binary files in lua. Thank you! I see the end part of the file is a function library, with many useful things, not used in this specific program. Are you planning to make all of these things to put into the "utilitiy" folder as a functio...
by Fazek
Tue May 02, 2006 8:18 am
Forum: Scripting
Topic: LOOP -- the RAM player :idea:
Replies: 12
Views: 7993

I think if you want to make such a tool it is better if you make it Open Source. Then other programmers can test (and debug!) it on other platforms and they can make other platform builds for the non-programmer users. I don't think that SDL is really required. Anyway, I am thinking on a purely lua p...
by Fazek
Tue May 02, 2006 7:41 am
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138829

To Ramón: You can remove the LM tools if you replace them into the scripts/utility folder. You can't remove most of the LM tools because other LM tools are referencing their functions and variables. In my version, I don't make any cross-reference between the tools, so you can use any of them separat...
by Fazek
Fri Apr 28, 2006 1:45 pm
Forum: Scripting
Topic: Please send suggestions for my scriptwriting
Replies: 146
Views: 138829

About the FloodSelection, I found some tricks to lower the number of checked variations (you can try it with my Create Shape tool). Now I am not sure it is working in every situations... (Added 02/05/2006) Now I made a more tricky version of FloodSelection. And you can set how deeply (ie. long runni...