Modules§
- dmconfigfile
- Configuration file access functions. The configuration file is the compiled version of game.project.
- dmengine
- Functions for interacting with the engine.
- dmextension
- Functions for creating and controlling engine native extension libraries.
- dmgameobject
- Functions for manipulating game objects.
- dmhid
- Structs for interacting with input devices.
- dmlog
- Logging macros.
- dmresource
- Custom resource registering module.
- dmscript
- Defold-specific Lua helpers.
- dmtime
- Time functions.
- dmvmath
- Vector math helpers.
- dmwebserver
- Web server module.
- ffi
- Raw bindings generated by rust-bindgen. Only use this if you know what you’re doing!
- lua
- Wrappers for the Lua C API.
Macros§
- __
internal_ debug - Logs a message with severity
Severity::Debug
. - __
internal_ error - Logs a message with severity
Severity::Error
. - __
internal_ fatal - Logs a message with severity
Severity::Fatal
. - __
internal_ info - Logs a message with severity
Severity::Info
. - __
internal_ lua_ error - Raises an error with the given message.
- __
internal_ push_ fstring - Pushes a formatted string onto the stack.
- __
internal_ user_ debug - Logs a message with severity
Severity::UserDebug
. - __
internal_ warning - Logs a message with severity
Severity::Warning
. - declare_
configfile_ extension - Equivalent to
DM_DECLARE_CONFIGFILE_EXTENSION
in regular C++ extensions. - declare_
extension - Equivalent to
DM_DECLARE_EXTENSION
in regular C++ extensions. - declare_
functions - Creates a new constant
Reg
with the name provided, to be used withregister()
. - register_
resource_ type