Xpanning: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m New page: '''xpanning''' allows you to pan, or shift, the image of a sprite the same way you would pan a ceiling, floor, or wall texture along the x plane. Values are normalized on a 0-255 scale, m...
 
mNo edit summary
Line 1: Line 1:
'''xpanning''' allows you to pan, or shift, the image of a sprite the same way you would pan a ceiling, floor, or wall texture along the x plane.  Values are normalized on a 0-255 scale, meaning that regardless of the sprite's size, a value of 128 will pan it 50%.
'''xpanning''' allows you to pan, or shift, the image of a sprite the same way you would pan a ceiling, floor, or wall texture along the x axis.  Values are normalized on a 0-255 scale, meaning that regardless of the sprite's size, a value of 128 will pan it 50%.


Because it is stored in the spriteext data structure, its value is not stored in savegames.  It will also only work in the polymost renderer, not classic mode.
Because it is stored in the spriteext data structure, its value is not stored in savegames.  It will also only work in the polymost renderer, not classic mode.

Revision as of 20:21, 3 January 2008

xpanning allows you to pan, or shift, the image of a sprite the same way you would pan a ceiling, floor, or wall texture along the x axis. Values are normalized on a 0-255 scale, meaning that regardless of the sprite's size, a value of 128 will pan it 50%.

Because it is stored in the spriteext data structure, its value is not stored in savegames. It will also only work in the polymost renderer, not classic mode.