[−][src]Crate tesserae
tesserae
is a library for manipulating and drawing graphics consisting of
8x8 pixel two-color tiles, in the spirit of text mode drawing in early 8-bit
computers, using SDL.
It includes file formats for saving and loading tile sets and graphics, as well as a number of built-in tile sets.
It also includes a tile and graphics editor, itself made with tesserae,
called tesseraed
.
tesseraed
is stored as an example in the library, and can be run with
cargo run --example tesseraed
.
Structs
Graphic | A |
Tile | An index into a |
TileSet | A set of 512 8x8 pixel monochrome tiles, along with a map for the basic 256 ASCII characters to tile indices. Most tile sets only include character mappings for the typable characters on a conventional keyboard. |
Functions
draw_tile_data | Mostly used internally. Given a 64 bit integer, interprets it as an 8x8 tile and draws it to the given texture at the given point with the given foreground and background colors. |