|
6 days ago | |
---|---|---|
src | 6 days ago | |
.build.yml | 1 week ago | |
.gitignore | 6 days ago | |
LICENSE | 1 month ago | |
README.md | 6 days ago | |
build.zig | 1 month ago | |
kbleformat.md | 1 week ago | |
sample.kble | 1 week ago |
A work in progress level editor with extensive keyboard support. Designed for tile based 2D platformers. This is a work in progress program in unusable state.
Subject to change.
src/conf.zig
).Runtime requirements: raylib.
https://builds.sr.ht/~kikoodx/kble
Build requirements: Zig master branch,
raylib. For Arch users, I made
kble-git
available in the AUR.
$ # Clone this repository
$ git clone https://git.sr.ht/~kikoodx/kble && cd kble
$ zig build
$ zig-cache/bin/kble
Press escape to close the program.
Not available on Windows. Accept a path to KBLE file to open.
If the file doesn't exist, the given path will be used for saving.
Defaults to level.kble
if no argument given.
$ kble #level.kble
$ kble sample.kble
$ kble $HOME/projects/kble/sample.kble
In src/conf.zig
, edit values from BEGIN USER CONFIG
.
The configuration is applied at compile time. You have the possibility to:
Repetition/parameter:
0
→ 9
: behavior similar to Vi.Movement:
h
: leftj
: downk
: upl
: righty
: up-leftu
: up-rightb
: down-leftn
: down-rightVerbs:
<space>
: clear selectiond
: delete selectionr
: replace selection with parameter+
: increase scale (zoom)-
: decrease scale (dezoom)=
: reset scaleFile (read/write):
e
: read (load) levelw
: write (save) levelkbleformat.md
for technical informations.Modes:
<return>
: normal mode, defaulti
: free selection modev
: rectangle selection modeI
: free unselection modeV
: rectangle unselection modec
: camera mode [not implemented]Can be disabled in the configuration. Safety backups are made when:
backup_read.kble
)backup_exit.kble
)Copyright (c) 2021 KikooDX
This project is under the MIT license. See LICENSE for more details.