Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ASCII html5 canvas.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
EGA8x14.png
MDA8x14.png
README.md
Terminus.png
ascii_canvas.html
game.js
screen.js

README.md

About

My goal is be able to make some simple games or graphical object interactions using ascii tile-based graphics. Think something like ZZT. This is just a start.

Tile sets

Tiles have a character (based on extended ascii or code page 473), a foreground color, and a background color. A tile set is an image of 16x16 tiles defining each character. When rendering a character magenta pixels become background, white pixels become foreground, gray pixels become darker foreground, and any other color stays that color in the final tile. I believe this works similar to Dwarf Fortress tile sets. See here for more tilesets.

Running locally

There are some security issues which prevent running right from the file system. It must be run from a webserver. For quickly getting it to work use something like python -m SimpleHTTPServer.

Why?

I mostly made this in order to understand javascript at a rudimentary level.

Something went wrong with that request. Please try again.