Palette: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m player palette: no writing
Jwaffe (talk | contribs)
m Added link to palette listing
Line 2: Line 2:


Writing to this member has no effect.
Writing to this member has no effect.
See the [[Palette (environment)#Palette Swaps|palette listing]] for how a palette will effect the look of the scene.


[[Category:Player structure members]]
[[Category:Player structure members]]

Revision as of 07:41, 6 December 2014

Since r2226, this is the index of the current screen palette in use. The screen palette determines the overall look of the scene, like underwater, with enabled night vision, et cetera. One use of this member is as a check before a setgamepalette, since changing the palette too often (e.g. every tic) is undesirable for various reasons. See spritenvg, ifinwater, and palfrom.

Writing to this member has no effect.

See the palette listing for how a palette will effect the look of the scene.