1.7 KiB
1.7 KiB
Type reference
List of data types available in scripts for the Piklib/BlooMoo engine. The list will be filled in as individual pages are written.
Types used in scripts
Primitives
- BOOL — boolean value.
- DOUBLE — double-precision floating-point number.
- INTEGER — signed integer number.
- STRING — character string.
Collections
- ARRAY — one-dimensional array.
- MULTIARRAY — multi-dimensional array with automatic resizing.
Logical conditions
- CONDITION — comparison of two operands.
- COMPLEXCONDITION — combination of two conditions with
AND/OR.
Code structure
Scene hierarchy
- APPLICATION — top of the script hierarchy.
- EPISODE — logical segment of the game.
- SCENE — a single scene.
Built-in I/O objects
- KEYBOARD — keyboard state.
- MOUSE — mouse state.
- RAND — pseudo-random number generator.
- SYSTEM — system information.
Media
- ANIMO — animation from an
.ANNfile. - FONT — bitmap font definition.
- IMAGE — static image.
- SEQUENCE — animation sequence with synchronised audio.
- SOUND — short sound effect.
- TEXT — on-screen text element.
Remaining types
Pages for the following types will be added next:
BUTTON, CANVAS_OBSERVER, CNVLOADER, DATABASE, EXPRESSION, GROUP, INERTIA, MATRIX, PATTERN, STATICFILTER, STRUCT, TIMER, VECTOR, VIRTUALGRAPHICSOBJECT, WORLD.