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 a54ad89d0b Starting to develop nasu for Uxn 5 years ago
.clang-format Started 1-bit mode 5 years ago
.gitignore Starting to develop nasu for Uxn 5 years ago
LICENSE Cleanup 5 years ago
README.md Starting to develop nasu for Uxn 5 years ago
build.sh Started 1-bit mode 5 years ago
example.bmp Added bmp import 6 years ago
example.chr Added guide toggle button 5 years ago
nasu.c Started 1-bit mode 5 years ago
nasu.usm Starting to develop nasu for Uxn 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

To assemble and run for Uxn.

uxnasm nasu.usm nasu.rom && uxnemu nasu.rom

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
  • c Copy Mode
  • b BigPixel Mode
  • z Decr. Brush Size
  • x Incr. Brush Size

Paint

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

TODO

  • Rotate tile
  • Flip tile
  • Roll pixels
  • Roll colors