2.5 KiB
2.5 KiB
Type reference
List of data types available in scripts for the Piklib/BlooMoo engine, grouped by topic.
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.
Interaction and composition
- BUTTON — interactive button with three visual states.
- CANVAS_OBSERVER — canvas and background operations.
- CNVLOADER — dynamic
.CNVfile loading. - GROUP — variable group with delegated method calls.
- PATTERN — multi-layer tile board.
- STATICFILTER — graphical filter (rotate, scale, blur).
- VIRTUALGRAPHICSOBJECT — virtual graphics proxy object.
Data
- DATABASE — tabular database with cursor.
3D physics
- WORLD — interface to the ODE-based 3D physics engine.
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.