Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0015bc1f7c
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.779 kb
The `.sprites` extension denotes a sprites mapping file, and is a rather plain
and simple CSV-style format.
In general, most lines will consist of mappings of sprite filenames to their
`(x1, y1, x2, y2)` offsets into the actual map. For example::
Above is a mapping of three images, with x1 being the second column, and so on.
The other type of line are attribute lines. These describe metadata
essentially, and look like this::
Only one metadata item is so far defined and used, and that's `url`. It defines
where the image map may be reached from the end CSS file. Its use should be
obvious, as the sprite mapping routines need to know where to point the
background URL.
Jump to Line
Something went wrong with that request. Please try again.