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.

48 lines
604 B

# Nasu
6 years ago
A minimal chr editor, written in ANSI C.
## Build
To build nasu, you must have [SDL2](https://wiki.libsdl.org/).
6 years ago
```
5 years ago
cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu
6 years ago
```
## I/O
To resume working on a tileset:
```
6 years ago
./nasu example.chr
```
Import a bmp:
```
./nasu example.bmp
```
6 years ago
## Controls
6 years ago
### IO
6 years ago
6 years ago
- `E` Export(nasu-export.chr)
- `R` Render(nasu-render.bmp)
6 years ago
6 years ago
### General
6 years ago
- `1-7` Patterns
5 years ago
- `ASDF` Colors0-3
6 years ago
- `H` Toggle Guides
- `Z` Decr. Brush Size
- `X` Incr. Brush Size
5 years ago
- `C` Cleanup Brush
- `N` Clear
6 years ago
### Paint
- `mouse1` Paint
- `mouse1+mouse2` Erase