A simple project oriented single screen tilebased level editor, in the KBLE family
Go to file
KikooDX dcd4afc520 fix: level drawing was broken 2021-03-26 18:54:25 +01:00
assets Level drawing and new arguments + README update 2021-03-23 19:06:05 +01:00
include Add remaining arguments and accept signed integers. 2021-03-26 15:02:10 +01:00
src fix: level drawing was broken 2021-03-26 18:54:25 +01:00
.clang-format Forking KBLE C -> SLE 2021-03-23 17:26:42 +01:00
.gitignore Forking KBLE C -> SLE 2021-03-23 17:26:42 +01:00
CMakeLists.txt Add four launch flags: editor-width/height & tile-width/height 2021-03-26 14:39:26 +01:00
COPYING KBLE C rewrite initiated. 2021-03-18 17:38:39 +01:00
README README update 2021-03-26 15:55:02 +01:00
sample.kble Level drawing and new arguments + README update 2021-03-23 19:06:05 +01:00

README

SLE
===
A simple project oriented single screen tilebased level editor.

SLE read and write KBLE level files.
=> https://git.sr.ht/~kikoodx/kble

COMPILATION
===========
Dependencies: raylib

$ git clone https://git.sr.ht/~kikoodx/sle
$ mkdir sle/build && cd sle/build
$ cmake ..
$ make

RUN
===
$ <SLE binary path> -tileset <tileset> -level <KBLE level to open>
Example:
$ build/sle -tileset assets/tileset.png -level sample.kble

SYNOPSIS
========
usage: sle -tileset path -level path [options]

Two windows should appear. A main window, with the level you are
currently editing, and a secondary one, containing the tileset you
provided.

This software is controlled using a mice.

Main window - Editing Area
--------------------------
Left click: draw with selected tile
Right click: erase (tile 0)

Secondary window - Tile Picker
------------------------------
Left click on the tile you want to select.

Exit and save
-------------
Close/kill the main window. The secondary window will close automaticly
and your modifications to the level file will be writen to disk.

FLAGS
======

Mendatory flags
---------------
All these options take a path to a file as argument.
-tileset Tileset image
-level   KBLE file

Optionnal flags
---------------
All these options take integers as argument.

-tile-width
-tile-height
-editor-width
-editor-height
-editor-target-fps
-editor-off-x
-editor-off-y
-picker-target-fps
-picker-padding

DEFAULT CONFIGURATION
=====================
Edit include/conf.h to change default configuration. Read the comments!
Don't forget to recompile after you made your modifications.

LICENSE
=======
Copyright (C) 2021 KikooDX <kikoodx@paranoici.org>
This software is under the GPL-3.0-or-later license.
See COPYING for more informations.