Modules
Configuration file access functions. The configuration file is the compiled version of game.project.
Functions for interacting with the engine.
Functions for creating and controlling engine native extension libraries.
Functions for manipulating game objects.
Structs for interacting with input devices.
Logging macros.
Custom resource registering module.
Defold-specific Lua helpers.
Time functions.
Vector math helpers.
Web server module.
Raw bindings generated by rust-bindgen. Only use this if you know what you’re doing!
Wrappers for the Lua C API.
Macros
Logs a message with severity
Severity::Debug
.Logs a message with severity
Severity::Error
.Logs a message with severity
Severity::Fatal
.Logs a message with severity
Severity::Info
.Raises an error with the given message.
Pushes a formatted string onto the stack.
Logs a message with severity
Severity::UserDebug
.Logs a message with severity
Severity::Warning
.Equivalent to
DM_DECLARE_CONFIGFILE_EXTENSION
in regular C++ extensions.Equivalent to
DM_DECLARE_EXTENSION
in regular C++ extensions.Creates a new constant
Reg
with the name provided, to be used with register()
.