Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
app
 
 
art
 
 
res
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

About

L-Ed is a modern, lightweight and open-source 2D level editor.

Links: Official website | Haxe API (on GitHub)

Build Status

Building from source

Requirements

  • 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

Installing Haxe libs

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

Installing Node dependencies

Run the following command in the app folder:

npm i

Compiling

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.

Running

From a command line in the app folder, run:

npm run start

Related tools & licences

You can’t perform that action at this time.