Git Product home page Git Product logo

labo-2d-game-level-editor-for-solar2d's Introduction

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.

labo-2d-game-level-editor-for-solar2d's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

parhelia512

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.