L-Ed is a modern, lightweight and open-source 2D level editor.
Links: Official website | Haxe API (on GitHub)
- Haxe compiler: you need an up-to-date and working Haxe install to build L-Ed.
- NPM: this package manager is used for various install and packaging scripts
Install required haxe libs:
haxelib git heaps https://github.com/HeapsIO/heaps.git
haxelib git hxnodejs https://github.com/HaxeFoundation/hxnodejs.git
haxelib git electron https://github.com/tong/hxelectron.git
haxelib git deepnightLibs https://github.com/deepnight/deepnightLibs.git
haxelib git castle https://github.com/ncannasse/castle.git
Run the following command in the app
folder:
npm i
First, from the root of the repo, build the electron Main:
haxe main.debug.hxml
This should create a app/assets/main.js
file.
Then, build the electron Renderer:
haxe renderer.debug.hxml
This should create app/assets/js/renderer.js
.
From a command line in the app
folder, run:
npm run start
- Tileset images: see README in samples
- Haxe: https://haxe.org/
- Heaps.io: https://heaps.io/
- Electron: https://www.electronjs.org/
- JQuery: https://jquery.com
- MarkedJS: https://github.com/markedjs/marked
- SVG icons from https://material.io