Images
10 nodes
On this page 10
Add Always Layer
FunctionA layer always drawn, under the attributes: a body, a base.
AddAlwaysLayer -> Layered Image
image: Layered Image
file: TextLayeredImage AddAlwaysLayer(LayeredImage image, string file)
Parameters
| name | type | default | description |
|---|---|---|---|
| image | Layered Image | — | |
| file | Text | — |
Returns
| Layered Image | Layered Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Add Layer Attribute
FunctionAn attribute and its layer, in a group of which one shows at a time (or several, if the group allows).
AddLayerAttribute -> Layered Image
image: Layered Image
group: Text
attribute: Text
file: Text
isDefault: Truth
multiple: Truth
when: ConditionLayeredImage AddLayerAttribute(
LayeredImage image,
string group,
string attribute,
string file,
bool isDefault = false,
bool multiple = false,
Condition when)Parameters
| name | type | default | description |
|---|---|---|---|
| image | Layered Image | — | The layered image. |
| group | Text | — | The group, such as face; made on first use. |
| attribute | Text | — | The attribute lines and shows name, such as smile. |
| file | Text | — | The layer's image. |
| isDefault | Truth | False | Shown when no attribute of the group is asked for. |
| multiple | Truth | False | Let several attributes of the group show together. |
| when | Condition | — | Shown only while this holds; empty always. |
Returns
| Layered Image | Layered Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Color Image
FunctionA solid colour, filling the screen unless a size is given.
ColorImage -> Image Source
color: Text
width: Integer
height: IntegerImageSource ColorImage(
string color,
int width = 0,
int height = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| color | Text | — | |
| width | Integer | 0 | |
| height | Integer | 0 |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Composite Image
FunctionImages drawn one over another on a canvas: a base and up to two more at offsets.
CompositeImage -> Image Source
width: Integer
height: Integer
first: Image Source
second: Image Source
secondX: Integer
secondY: Integer
third: Image Source
thirdX: Integer
thirdY: IntegerImageSource CompositeImage(
int width,
int height,
ImageSource first,
ImageSource second,
int secondX = 0,
int secondY = 0,
ImageSource third,
int thirdX = 0,
int thirdY = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| width | Integer | — | |
| height | Integer | — | |
| first | Image Source | — | |
| second | Image Source | — | |
| secondX | Integer | 0 | |
| secondY | Integer | 0 | |
| third | Image Source | — | |
| thirdX | Integer | 0 | |
| thirdY | Integer | 0 |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Filtered Image
FunctionAn image with filters: zoom, flips, tint, desaturation, brightness, blur and opacity.
FilteredImage -> Image Source
source: Image Source
zoom: Number
flipHorizontal: Truth
flipVertical: Truth
tint: Text
saturation: Number
brightness: Number
blur: Number
opacity: NumberImageSource FilteredImage(
ImageSource source,
double zoom = 1,
bool flipHorizontal = false,
bool flipVertical = false,
string tint = "",
double saturation = 1,
double brightness = 0,
double blur = 0,
double opacity = 1)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Image Source | — | The image. |
| zoom | Number | 1 | Its scale. |
| flipHorizontal | Truth | False | Mirror it left to right. |
| flipVertical | Truth | False | Mirror it top to bottom. |
| tint | Text | — | A colour to multiply it by, such as #ffd0d0; empty for none. |
| saturation | Number | 1 | 1 keeps colour, 0 is grayscale. |
| brightness | Number | 0 | Added to each channel, -1 to 1. |
| blur | Number | 0 | A blur radius in pixels. |
| opacity | Number | 1 | 0 is invisible, 1 is solid. |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Frame Image
FunctionA picture stretched as a nine-patch by borders of its own, in its pixels: its corners kept, its edges and middle stretched to the box it fills. For a style's background, as Ren'Py's Frame.
FrameImage -> Image Source
source: Image Source
left: Number
top: Number
right: Number
bottom: NumberImageSource FrameImage(
ImageSource source,
double left,
double top,
double right = 0,
double bottom = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| source | Image Source | — | The picture, such as an Image File. |
| left | Number | — | The left border. |
| top | Number | — | The top border. |
| right | Number | 0 | The right border; 0 takes the left. |
| bottom | Number | 0 | The bottom border; 0 takes the top. |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Image File
FunctionAn image file among the game's files.
ImageFile(path: Text) -> Image Source
ImageSource ImageFile(string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| path | Text | — |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Movie Image
FunctionA video looping as an image, such as rain behind a window.
MovieImage(path: Text, loop: Truth) -> Image Source
ImageSource MovieImage(string path, bool loop = true)
Parameters
| name | type | default | description |
|---|---|---|---|
| path | Text | — | |
| loop | Truth | True |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Start Layered Image
FunctionA layered image with no layers yet.
StartLayeredImage(tag: Text) -> Layered Image
LayeredImage StartLayeredImage(string tag)
Parameters
| name | type | default | description |
|---|---|---|---|
| tag | Text | — | The image tag shows and lines use, such as qinglan. |
Returns
| Layered Image | Layered Image |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels
Switch Image
FunctionAn image that is one picture while a condition holds and another otherwise, decided as it is drawn: a room by day and by night.
SwitchImage -> Image Source
when: Condition
then: Image Source
otherwise: Image SourceImageSource SwitchImage(
Condition when,
ImageSource then,
ImageSource otherwise)Parameters
| name | type | default | description |
|---|---|---|---|
| when | Condition | — | |
| then | Image Source | — | |
| otherwise | Image Source | — |
Returns
| Source | Image Source |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Images
- Package
- Novella Visual Novels