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.
|
|
|
|
# Nasu
|
|
|
|
|
|
|
|
|
|
[Nasu](https://100r.co/site/nasu.html) is a sprite editor, written in [Uxntal](https://wiki.xxiivv.com/site/uxntal.html).
|
|
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
|
|
You must have the [Uxn](https://git.sr.ht/~rabbits/uxn/) assembler and emulator.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
uxnasm nasu.tal nasu.rom && uxnemu nasu.rom
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
To build the C version(old), you must have [SDL2](https://wiki.libsdl.org/).
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Controls
|
|
|
|
|
|
|
|
|
|
- `arrows`, move selection
|
|
|
|
|
- `enter` , insert tile
|
|
|
|
|
- `backspace`, delete tile
|
|
|
|
|
- `left-click` , add pixel
|
|
|
|
|
- `right-click`, remove pixel
|
|
|
|
|
- `1 2 3`, select color
|
|
|
|
|
- `q w e`, select tool
|