0.0.4 • Published 11 years ago

imghex v0.0.4

Weekly downloads
13
License
-
Repository
github
Last release
11 years ago

imghex

client and server utilities for tile-based maps using html img elements

HTML5, CSS, Nodejs, express, jade

This project uses CSS positioning to create "hex maps" for presentation in a browser supporting HTML5. Jade templates are used server-side OR client-side to build maps. Maps consist of inter-leaved rows of hex tiles. Each row is a list. The list element contents are image elements. CSS positioning is used to offset rows of hex tiles so that they 'nestle' together.

Generally, the author believes that there is value in managing tile-based maps as img elements as opposed to managing graphical images in canvas elements. The conceptual difference is simple: if the map is made of img elements, each element is accessible as part of the document structure. This allows to take advantage of tools like jQuery when manipulating the map.

0.0.4

11 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago