Skip to main content

Instructions and commands

George needs classical instruction to structure the scripts: tests, loops, computation, conditional events, etc… For a better readability, all the instructions will be written in green in this manual.

For example: If, Else, End, For, Do, Until, While… for conditionals tests Cos, Sin, Tan, Rnd… for computations

You can also call in your scripts TVPaint Animation commands, which call specific tools of the software.

They can be differentiated from the classical George instruction because they all begin with the tv_ prefix. For instance :

  • The command tv_LayerCreate allows you to create a new layer.
  • The command tv_SaveBrushAnim saves the current brush on the hard drive.
  • It is possible to change the colors of the bin tab thanks to the tv_SetPalette command

All TVPaint Animation commands need their own arguments and return some values as answer. For example, the tv_LayerCreate command needs a name for the layer that you want to create. This command returns some information regarding your layer: opacity, number of pictures, place of the timeline,… So you can reuse or modify them.

warning

Make sure to differentiate George instructions (which often start with a sharp : #) and George commands for TVP Animation (which always start with the tv_ prefix). The commands act on the software itself and on your current display whereas George instructions are used to write the structure of the program (conditionals, computations, loops...)

warning

Recent commands may not be compatible with older TVPaint Animation versions.

List of all available George commands

A text file regrouping all of the available George commands can be downloaded by clicking here.
A PDF file with anchor links to the commands' descriptions will be available on an upcoming update of the user manual.