• Stars
    star
    3,404
  • Rank 13,138 (Top 0.3 %)
  • Language Haxe
  • License
    MIT License
  • Created over 4 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Modern, lightweight and efficient 2D level editor

About

Level Designer Toolkit (LDtk) is a modern, efficient and open-source 2D level editor with a strong focus on user-friendliness.

Links: Official website | Haxe API (on GitHub)

GitHub Repo stars GitHub All Releases GitHub Workflow Status GitHub Workflow Status

Getting LDtk latest version

Visit LDtk.io to get latest version.

Building from source

Requirements

  • Haxe compiler: you need an up-to-date and working Haxe install to build LDtk.
  • NPM: this package manager is used for various install and packaging scripts. It is packaged with NodeJS.

Installing required stuff

  • Open a command line in the ldtk root dir,
  • Install required Haxe libs:
haxe setup.hxml
  • Install Electron locally and other dependencies through NPM (IMPORTANT: you need to be in the app dir):
cd app
npm i

Compiling master branch

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.

Compiling another branch

If you want to try a future version of LDtk, you can checkout branches named dev-x.y.z where x.y.z is version number.

IMPORTANT:

  • these dev branches might be unstables, or even broken. Therefore, it's not recommended to use, unless you plan to add or fix something on LDtk.
  • because dev branches might change quickly, you will need to update haxelibs often.
  • you will need to switch the LDtk haxe API to the same branch as LDtk repo. (adapt the branch name below accordingly):
haxelib git ldtk-haxe-api https://github.com/deepnight/ldtk-haxe-api.git dev-0.6.0

Running

From a command line in the app folder, run:

npm run start

Contributing

You can read the general Pull Request guidelines here: https://github.com/deepnight/ldtk/wiki#pull-request-guidelines

Related tools & licences

More Repositories

1

gameBase

Base structure for my games, using Heaps framework and Haxe language.
Haxe
611
star
2

deepnightLibs

The general personal libs I use in my Haxe projects.
Haxe
239
star
3

gamefeel

This prototype was first developed to serve as a demo for a “Game feel” talk in 2019 at the ENJMIN school. It was updated and modernized in 2024.
Haxe
130
star
4

ld48-NuclearBlaze-48h

Nuclear Blaze, a 48h game for Ludum Dare 48
JavaScript
117
star
5

ldtk-haxe-api

LDtk level editor Haxe API (available on HaxeLib)
Haxe
93
star
6

ld40-catsAreAssholes

A shelter simulation game made in 3 days for Ludum Dare 40. Even if the game was submitted to Jam instead of Compo, I still made everything all by myself.
Haxe
66
star
7

ld39-zeroVoltX

Zero Volt X (a shoot'em up game created in 48h for Ludum Dare 39)
JavaScript
57
star
8

ld51-tenjutsu-48h

Tenjutsu (48h version) - Ludum Dare 51
JavaScript
38
star
9

anamap

Original ANA Map (aka RPG Map 1). It requires Haxe compiler and a Flash Player.
Haxe
37
star
10

redistHelper

A small Windows script to quickly create redistribuable of an existing simple HL/JS/SWF haxe project.
Haxe
36
star
11

ld47-fortLoop

Fort Loop: a 48h puzzle game for Ludum Dare 47
Haxe
34
star
12

ld41-nightclubShowdown

My entry for Ludum Dare 41, the theme was "Combine 2 incompatible genres"
Haxe
31
star
13

ld45-Sabotage

"You are Colonel Jean-François Hubert from the French army. As the most badass colonel ever, you take on your missions naked, without any weapon."
JavaScript
27
star
14

heapsTiled

Import Tiled generated maps to Heaps based projects
Haxe
20
star
15

ld37-lostInPandation

A survival game with an iPanda, lots of snow, horrible creatures and a cable car. Made using HeapsIO and Haxe language.
Haxe
20
star
16

electronBase

A base project for Electron based Haxe applications
Haxe
19
star
17

heapsOgmo

Import Ogmo generated maps to Heaps based projects
Haxe
17
star
18

ld43-saveAndSacrifices

Save & Sacrifice (Ludum Dare 43 entry)
Haxe
15
star
19

gmtk20-dumberDwarves

Dumber Dwarves is a 48h game entry for the GMTK 2020 game jam.
Haxe
14
star
20

ld34-fullMetalDemocracy

JavaScript
13
star
21

ld35-subDragon

JavaScript
13
star
22

ld42-blossom

My entry for Ludum Dare 42, the theme was "Running out of space"
Haxe
12
star
23

internBase

A base game to be used for interns study
Haxe
12
star
24

petitTracteurBleu

A game created for my two young kids
Haxe
11
star
25

ld33-deliciousCortex

Haxe
9
star
26

ld39-dirigible

Canceled entry for Ludum Dare 39 (some kind of strange dirigible simulator)
Haxe
9
star
27

ld23-MementoXII

Memento XII (Ludum Dare 23) WebGL port
JavaScript
8
star
28

ld22-lastBreath

Haxe
7
star
29

daddyPaint

A basic painting app for very young kids
JavaScript
7
star
30

ld29-beneathTheCity

Beneath the city
Haxe
6
star
31

ld28-purpose

Purpose
Haxe
6
star
32

presskit

Static press kit generator for Haxe
Haxe
6
star
33

minisiteBase

A lightweight code base to build single page web tools.
Haxe
5
star
34

ld30-chipsetZero

Chipset Zero (todo)
Haxe
5
star
35

ld31-lawBreaker

Law Breaker (todo)
Haxe
5
star
36

ld27-proletarianNinja

Haxe
4
star
37

fireworks

A tiny letter game for young kids
JavaScript
3
star
38

mini-randomizer

A simple tool to generate random content for Table RPG
Haxe
3
star
39

rpgmap-ce

RPG Map issue tracker
2
star
40

deepnight

1
star