A utf-8 tile drawing program for terminal based art and games
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.
sloum 3f808f2467
Merge branch 'master' of https://git.rawtext.club/sloum/drawtile
1 year ago
examples Adds a new example, fixes file write and read 2 years ago
images Adds a new example, fixes file write and read 2 years ago
README.md Adds a new example, fixes file write and read 2 years ago
drawtile.slo Merge branch 'master' of https://git.rawtext.club/sloum/drawtile 1 year ago

README.md

drawtile

This is a program to allow basic drawing with utf-8 chars and ansi/vt100-style escape sequences in a terminal. It creates 30(w) x 15(h) cell "tiles". drawtile will be able to save and load tile sheets (esentially plain text files that follow a few rules to keep things in order and allow for validation). A tile sheet will be able to store somewhere between 10 and 30 tiles (still working on the details, aside from program ui there is not any reason that a near-infinite number of tiles couldn't be stored).

The state of things

terminal ui display of drawtile showing glitchy art

To load a saved file, pass it in at the comand line:

slope drawtile.slo ~/my-fun-drawtile-file.dt

Interaction

  • TAB, move to the next focusable box (textures, colors, drawing field)
  • h, move the selection/cursor to the left
  • l, move the selection/cursor to the right
  • j, move the cursor down
  • k, move the cursor up
  • S, save-as (will prompt for path/filename)
  • s, save (will prompt for path/filename if an active file does not exist)
  • q, quit (will not prompt for save)
  • SPACE, paint the current color/texture to the selected drawing field cell (only when the drawing field is focused)