Skip to content

Labo 2D Game Level Editor, a 2D car racing / platform game level editor for Solar2D

Notifications You must be signed in to change notification settings

labolado/Labo-2D-Game-Level-Editor-For-Solar2D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
1

Features:

1. Create 2d terrains through drag-and-drop.

2. Custom terrians textures and edges(tracks).

1

3. Edit physics. Create rectangular, circle or advanced traced shapes, add holes, change material properties and apply collision.

3
3

4. Create complex physic joints.

3

5. Insert sub-levels into the main level.

6. Scritable.

6

How to start

  1. Download GodotEngine 3.2;
  2. If you want to dig a hole in the terrain, you need to build your own GodotEngine.
  3. Download the project's code from Github.
  4. Open Godot, open the project(src/project.godot).
  5. Open level1(src/levels/level1.tscn).
  6. Open Corona Simulator to run the project(src/corona/main.lua)
  7. Try to edit the level, then click the Export Scene button.
  8. Enter level 1 in Corona Simulator.

More

  1. Scene tree only supports two levels (except the hole).
  2. Node name should be unique, If not, it will be auto renamed.
  3. Group node should be a Node2D type.
  4. 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.

Build Your Own GodotEngine

1. Get the Godot Engine Source

First, download the Godot Engine source from here, and switch to branch 3.2+.

2. Drop modules/earcut into modules dir

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.

3. Build Godot Engine

Please look at the documentation from the official Godot Website for compilation instructions.

About

Labo 2D Game Level Editor, a 2D car racing / platform game level editor for Solar2D

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published