An open API service indexing awesome lists of open source software.

https://github.com/defold/example-configfile-extension

An example of how to extend the config file with custom properties
https://github.com/defold/example-configfile-extension

Last synced: 5 months ago
JSON representation

An example of how to extend the config file with custom properties

Awesome Lists containing this project

README

          

# example-configfile-extension

You can access properties at runtime using `sys.get_config_string()`, `sys.get_config_int()` and `sys.get_config_number()`.

The example shows how to implement config file property overrides.
The interface allows you to both override existing properties (from game.project),
but also how to return entirely new properties.