Labo 2D Game Level Editor, a car racing / platform game level editor for Solar2D
This level editor was cut from the level editor used inside Labo Lado team. It is based on GodotEngine and inspired a lot from levelhelper1. Due to our limited energy, we only provide sample codes, no documentation. If you want to use it, you may need to DIY it. if you can master it it will be a powerful editor. We hope that one day, we or others can turn it into a generic 2D Level Editor. In theory, this editor should be cross-platform, but we have only used it on macOS now.
3. Edit physics. Create rectangular, circle or advanced traced shapes, add holes, change material properties and apply collision.
- Download GodotEngine 3.2;
- If you want to dig a hole in the terrain, you need to build your own GodotEngine.
- Download the project's code from Github.
- Open Godot, open the project(src/project.godot).
- Open level1(src/levels/level1.tscn).
- Open Corona Simulator to run the project(src/corona/main.lua)
- Try to edit the level, then click the Export Scene button.
- Enter level 1 in Corona Simulator.
- Scene tree only supports two levels (except the hole).
- Node name should be unique, If not, it will be auto renamed.
- Group node should be a Node2D type.
- The group with the name "road" is special. All the nodes before it, will behind the main role, and all the nodes after it, will be in front of the main role.
First, download the Godot Engine source from here, and switch to branch 3.2+.
The earcut module must be compiled with Godot Engine in order to run. Compilation is very easy and simply involves dropping the modules/earcut directory into Godot Engine's modules directory.
Please look at the documentation from the official Godot Website for compilation instructions.