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 522bee68b2 Added colorpicker 5 years ago
.clang-format Added formatter 6 years ago
.gitignore Minor cleanup 5 years ago
LICENSE Cleanup 6 years ago
README.md Added colorpicker 5 years ago
build.sh Added marks 5 years ago
example.bmp Added bmp import 6 years ago
example.chr Added guide toggle button 5 years ago
nasu.c Added colorpicker 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

Controls

Generics

  • ctrl+n New
  • ctrl+r Reload
  • ctrl+s Save(.chr)
  • ctrl+shift+s Save(.bmp)
  • ctrl+h Toggle Guides

General

  • 1234 Colors0-3
  • asdfg Modes0-4
  • z Decr. Brush Size
  • x Incr. Brush Size
  • b BigPixel Mode

Paint

  • mouse1 Paint
  • mouse2 Line
  • mouse1+mouse3 Erase
  • ctrl+mouse1 Color Picker