#178427 - chickendude - Sat Jun 20, 2015 12:01 pm
I'm working on a game for the DS but ran into a problem early on where i couldn't (figure out how to) get grit to share a palette across multiple files. Or some other way to do that. I kinda evaded the problem by placing all tiles/sprites that need to share a palette in one big .png file, the problem with that is that they all have to be the same dimensions and accessing certain parts of it is a bit of a pain since you have to calculate the offset first.
The Grit manual mentions something about putting the -pS flag in the .grit configuration file, i've tried a few different things but can't figure it out. I tried asking at the devkit forums, but that was a few weeks ago and the message hasn't been approved yet (or was rejected). I currently have a separate .grit file for each image and they're all placed in the graphics directory.
And while we're at it, what is a good way to keep track of your palettes? Currently i'm just drawing everything in Gimp without paying much attention to what's in the palette/how full it is.
Thanks for the help :)
The Grit manual mentions something about putting the -pS flag in the .grit configuration file, i've tried a few different things but can't figure it out. I tried asking at the devkit forums, but that was a few weeks ago and the message hasn't been approved yet (or was rejected). I currently have a separate .grit file for each image and they're all placed in the graphics directory.
And while we're at it, what is a good way to keep track of your palettes? Currently i'm just drawing everything in Gimp without paying much attention to what's in the palette/how full it is.
Thanks for the help :)