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.

53 lines
710 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
```
6 years ago
## Controls
5 years ago
### Generics
- `ctrl+n` New
5 years ago
- `ctrl+r` Reload
- `ctrl+s` Save(.chr)
- `ctrl+shift+s` Save(.bmp)
- `ctrl+h` Toggle Guides
6 years ago
6 years ago
### General
6 years ago
- `1234` Colors0-3
- `asdfg` Modes0-4
5 years ago
- `c` Copy Mode
- `b` BigPixel Mode
- `z` Decr. Brush Size
- `x` Incr. Brush Size
6 years ago
### Paint
- `mouse1` Paint
5 years ago
- `mouse2` Line
- `mouse1+mouse3` Erase
- `ctrl+mouse1` Color Picker
5 years ago
## TODO
- Rotate tile
- Flip tile
- Roll pixels
- Roll colors