GAMES - a way of storing graphics
In some advance games i could not fing png files... somtimes they are only renamed and stored without extension. But somtimes the have created res files or something like that. The question is ... is there a better way of storring images or is this just a way of hinding graphics? could someone help me to figure it out?
mchmiel21
It's both I guess.By compacting and shufling several PNG images in one big resource file, you only need one palet, forget headers, and optimize some more. You win size, and obfuscate your images in one go.
Perhaps some code would be in order .... i have found a lot of examples for this working on MIDP 2.0 but none for MIDP 1.0. I know there are several issues for transparency on MIDP 1.0 so i am working on those issues. Besides combining one image and storing only one palette for this image is not so efficient becouse i guess i still have several different image data. Is it possible to provide a better way to store images in differen format ?
In many games i found a map of elements for background images scrolled during game play. Has someone got a code that loads creates manages such background creation.
tahts in advance