🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Dircect X thingy with art

Started by
1 comment, last by Tempermental Rose 23 years, 1 month ago
Do you need to use the same palette in every bitmap for direct draw?
==============================From The Magical World Of Tempermental Rose
Advertisement
It depends ...

If you are working in a VGA mode (256 colours). Then you can only display 256 different colours simultaneously.
That means that all pictures that are supposed to appear on screen at the same time have to use the same palette, yes.

BUT, if you want to do, say a title screen, it doesnt have to use the same palette... does that make sense ?

Otherwise, the best move is to use a 16bits (or more) mode. But that is up to your coder to decide.

youpla :-P

-----------------------------Sancte Isidore ora pro nobis !
Direct Draw supports any video format your video card has. 8, 16, 24, or 32 bit color. Most books only cover how to do 8bit stuff in direct draw because for the most part it''s simpler than doing any of the higher resolutions.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.

This topic is closed to new replies.

Advertisement