![]() |
|
Does not-indexed images files slow the game? - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Sprites (https://lf-empire.de/forum/forumdisplay.php?fid=15) +--- Thread: Does not-indexed images files slow the game? (/showthread.php?tid=7541) |
Does not-indexed images files slow the game? - Tobruk - 03-01-2012 Hello. I have a question. Does not-indexed images files slow the game? Because when I edit sprites, I convert .bmp to RGB. It's not good? Maybe game will be slower? RE: Does not-indexed images files slow the game? - Silverthorn - 03-01-2012 I think it's the other way round, actually. Indexed files need to be mapped to RGB-colors to be displayed correctly, a calculation the non-indexed images do not have. However, the fundamental difference is that they're much smaller regarding their filesize compared to the RGB-images. Either way, this only plays a role during the loading-stage. During the actual gameplay, there will/should be no difference. RE: Does not-indexed images files slow the game? - YinYin - 03-02-2012 still makes me wonder: what makes the loading faster smaller images or less calculation RE: Does not-indexed images files slow the game? - Azriel - 03-02-2012 disk reads are usually much slower than the processor (discounting ssd-s). indexed file would probably require far fewer blocks to be read off disk than a non-indexed file hence saving time in IO. would say indexed file would be faster where larger file sizes are concerned Azriel~ RE: Does not-indexed images files slow the game? - YinYin - 03-02-2012 i should have known that thank you |