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 9e1ce2e86f Clicking adds a pixel 5 years ago
.clang-format Init 6 years ago
.gitignore Fixed down click issue 5 years ago
LICENSE Init 6 years ago
README.md Updated format 5 years ago
build.sh Use fast build step 6 years ago
example.bmp Added bmp import 6 years ago
example.chr Added bmp import 6 years ago
nasu.c Clicking adds a pixel 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

  • BACKTICK Cleanup Brush
  • 1-7 Patterns
  • TAB Cycle between colors
  • H Toggle Guides
  • Z Decr. Brush Size
  • X Incr. Brush Size
  • N Clear

Paint

  • mouse1 Paint
  • mouse1+mouse2 Erase