Post
by mtheall » Mon Aug 29, 2011 1:59 am
Sorry, my edit time expired, but I was going to add this info:
You will end up with dir1.s dir1.h, dir2.s dir2.h dir3.s dir3.h etc... More practically you'd want each directory to be something like TitleScreen, MainMenu, Level1, etc... Yours will pull everything from every directory and treat it as a single set, so you wouldn't be able to separate unrelated graphics, i.e. your title screen, main menu, and level 1 graphics would all use the same tileset. This might be okay for a small game, but it breaks once you try to expand or scale. Any one tileset can only have 1024 tiles (256 tiles for affine backgrounds), and of course you will be limited with number of colors. Really, it ends up being only 1023 because grit always inserts a blank tile at the beginning of the tileset (at least for shared graphics).