mirror of https://git.sr.ht/~rabbits/nasu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .clang-format | 6 years ago | |
| .gitignore | 5 years ago | |
| LICENSE | 6 years ago | |
| README.md | 5 years ago | |
| build.sh | 6 years ago | |
| example.bmp | 6 years ago | |
| example.chr | 6 years ago | |
| nasu.c | 5 years ago | |
README.md
Nasu
A minimal chr editor, written in ANSI C.
Build
To build nasu, you must have SDL2.
cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu
I/O
To resume working on a tileset:
./nasu example.chr
Import a bmp:
./nasu example.bmp
Controls
IO
EExport(nasu-export.chr)RRender(nasu-render.bmp)
General
BACKTICKCleanup Brush1-7PatternsTABCycle between colorsHToggle GuidesZDecr. Brush SizeXIncr. Brush SizeNClear
Paint
mouse1Paintmouse1+mouse2Erase