Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Does not-indexed images files slow the game?
#1
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?
Reply
Thanks given by:
#2
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.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#3
still makes me wonder:
what makes the loading faster

smaller images
or less calculation
Reply
Thanks given by:
#4
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~
Reply
Thanks given by: Gad
#5
i should have known that

thank you
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)