Grit 0.8.1 is out now. I've made three somewhat small changes here. First,
there was some trouble with shared palettes/tiles if there was no -O or
-S option. “Trouble”, as in segmentation fault. This should
now be fixed.
I've also reformatted the include guards from __FOO__
to GRIT_FOO_H
. GCC uses that format for internal
#defines and it is very territorial about such matters. So, say, when you
have elf.png, GCC gets cranky because that would hide its
own __ELF__
, and guess who wins out there? Again,
thanks for pointing these things out, Quirky.
The last item is the addition of column-major tiling. This can be
useful for horizontal scrolling games, since the data or the columns are
all adjacent instead of a whole scanline apart. A second benefit of
this mode is that rendering to tiles is made considerably easier (and a
little bit faster too).
In case you hadn't noticed yet, I've also put the manual on-line.
This shows the basic options for grit and wingrit, and now there's a
description of how to use it in makefiles as well. This includes how the
building the grit-demo project works. This one's quite interesting, so
please check it out.
Project link.