Back Previous Next


Linguist graphics package - image

Syntax:

   image {name} from {source}

Keyword handler:

   linguist.graphics.keyword.GKImage.class

Runtime handler(s):

   linguist.graphics.handler.GHImage.class

Function:

Defines a constant (static) image. The image file (JPG or GIF) is embedded in the compiled script, where it will be available immediately at runtime, without any need to access a separate file. This speeds up program loading and provides a measure of protection against images being copied.

The image constant is used by an actor - see create.

Example(s):

   image BACKDROP from "assets/jpg/Title/Backdrop.jpg"


Back Previous Next