cTurtle API reference
The functions and types cTurtle adds for your game scripts, one page per
package. Each page starts with the include line that makes the package
available.
Printing, text, math, files, time and the other basics come from the BT standard library.
Functions and methods can fail unless marked infallible; handle a failure with
? or !! (see Errors).
Engine
| Package | Contents |
|---|---|
cturtle/armor | |
cturtle/audio | |
cturtle/console | |
cturtle/entity_filter | |
cturtle/events | Events let one part of a game tell the rest that something happened. |
cturtle/game_manager | |
cturtle/game_session | |
cturtle/log | |
cturtle/manifest | |
cturtle/mesh_pipeline | |
cturtle/particles | |
cturtle/render | |
cturtle/studio | |
cturtle/world | |
cturtle/yaml |
UI
| Package | Contents |
|---|---|
cturtle/ui | |
cturtle/ui/btlib | |
cturtle/ui/btlib/code_editor | |
cturtle/ui/btlib/engine |
Libraries
| Package | Contents |
|---|---|
cturtle/btpostgres | |
cturtle/bttls | |
cturtle/btweb |