Skip to content
Josh Palmer edited this page Feb 17, 2020 · 14 revisions

In-Editor

Qodot's primary use case is as a bridge to an external map editor, allowing the user to iterate on a .map file outside of Godot, then come back and see the changes immediately.

To bring a .map file into the editor, add it to your Godot project and it will be imported automatically. Then, add a QodotMap (or derived class) to a scene and and point it to your .map file and texture directory:

After that, click on the Reload property any time you wish to update the map geometry.

More information on QodotMap and its properties can be found on the QodotMap page.

Runtime

Qodot can also be used to generate maps at runtime, allowing an exported game to load levels prepared without need of the Godot editor.

To load a map at runtime, simply set the appropriate properties on a QodotMap node, then invoke its set_reload() method.

Clone this wiki locally