Colors: 256 versus 32 bit and question about game resolution

Started by multi007, Tue 30/08/2022 18:32:01

Previous topic - Next topic

multi007

Reading the tutoring, If there is a problem with 256 color pallet on some D3d or OpenGL graphic drivers, why wouldn't people just use the 32 bit and only use up to 256 colors, instead of using the 256 color pallet.  In other words, am I missing something with the desire for some people to use the 256 color pallet?

With regards to game resolution - Does AGS engine allow for in-game resolution changes?  meaning, if I set for 640 x 480, but someone's native resolution is 1040 x760 - their game window will look much smaller.  Does ags automatically adjust to the higher resolution?  or does ags have a in-game setting for resolution changes?  or is it expected for the user to adjust their resolution in their graphics card settings?  How do you all handle this resolution dilemma?

Thanks!

Crimson Wizard

#1
Quote from: multi007 on Tue 30/08/2022 18:32:01
Reading the tutoring, If there is a problem with 256 color pallet on some D3d or OpenGL graphic drivers, why wouldn't people just use the 32 bit and only use up to 256 colors, instead of using the 256 color pallet.  In other words, am I missing something with the desire for some people to use the 256 color pallet?

Today barely anyone uses true 256-colored mode, I heard some people use 32-bit but restrict themselves to a number of colors, emulating "old school" looks.

The two possible benefits of a true palette mode are:
- smaller game size and memory requirements;
- palette effects: that is when you modify palette at runtime, which results in all the graphics changing their colors without any additional operation. In the modern world this is achievable using shaders (although AGS currently does not let custom shaders).

Quote from: multi007 on Tue 30/08/2022 18:32:01
With regards to game resolution - Does AGS engine allow for in-game resolution changes?  meaning, if I set for 640 x 480, but someone's native resolution is 1040 x760 - their game window will look much smaller.

AGS distincts native game resolution (e.g. 640x480) which defines how much game pixels do you see at once, and display resolution (e.g. 1920x1080) meaning the size of the window that game is scaled to.
The native resolution is set once in the General Settings, and rarely changed, unless you want to remake your game graphics.
The display resolution may be changed anytime in game setup, by both game developer and players.


SMF spam blocked by CleanTalk