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.
 
 
neauoire 6959b1a3a3 Cleanup 5 years ago
.clang-format Init 6 years ago
.gitignore Fixed down click issue 5 years ago
LICENSE Cleanup 5 years ago
README.md Cleanup 5 years ago
build.sh Cleanup 5 years ago
example.bmp Added bmp import 6 years ago
example.chr Added bmp import 6 years ago
nasu.c Cleanup 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

  • E Export(nasu-export.chr)
  • R Render(nasu-render.bmp)

General

  • 1-7 Patterns
  • ASDF Colors0-3
  • H Toggle Guides
  • Z Decr. Brush Size
  • X Incr. Brush Size
  • C Cleanup Brush
  • N Clear

Paint

  • mouse1 Paint
  • mouse1+mouse2 Erase