scriptfu icon indicating copy to clipboard operation
scriptfu copied to clipboard

Documentation?

Open DavidParkin opened this issue 5 years ago • 4 comments

Is there any?

DavidParkin avatar Feb 22 '20 11:02 DavidParkin

Animstack documentation is here: http://tshatrov.github.io/animstack

Also the .htm files in this repository are html documentation from GIMP registry. They can be viewed either by being downloaded and opened in a browser, or like this:

https://htmlpreview.github.io/?https://github.com/tshatrov/scriptfu/blob/master/bgmask.htm

https://htmlpreview.github.io/?https://github.com/tshatrov/scriptfu/blob/master/export-layers-plus.htm

For layerscript I haven't bothered to write any documentation yet.

tshatrov avatar Feb 23 '20 10:02 tshatrov

Thanks, I found the github thingy but it was heavy going for a noob. I could have done with some examples. The videos were quite a jump from the manual beachball thingy to the artwork.

What I was aiming to do was move a shape about. I got this to work:

shape[fg][+move:10:10] Background [*24]

Worked backwards. Still trying to get it right. Any tips welcome.

GIMP Registry appears to be closed.

DavidParkin avatar Feb 23 '20 22:02 DavidParkin

Yes, [fg] tag, unlike most other tags, works downwards the frame list, which means backwards in time. However there's a tilde modifier which makes the tag work in opposite direction. So [~fg] works upwards the frame list and forwards in time ([copy:0] is another way to do the same thing). However the fg layer would need to be positioned below the frames in this case, which might make it harder to work with (because background will be obscuring the foreground).

Generally I'm using transparent layers for frames and build up the result from there in natural order. For example:

Frame [*24]
shape[~fg][+move:10:10]
Background[bg]

tshatrov avatar Feb 23 '20 22:02 tshatrov

I got this to work.

Background[*24]] shape[copy:0][+move:10:10]

I did have problems with the background obscuring the shape. Will try your method.

DavidParkin avatar Feb 24 '20 15:02 DavidParkin