EVENT DISPLAYSBAR: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
This [[event]] is used to display the status bar. Setting [[RETURN]] to a non-zero value will prevent the status bar from being rendered.
This [[event]] is used to display the status bar. Setting [[RETURN]] to a non-zero value will prevent the status bar from being rendered.


The area where the big status bar would normally appear remains, however, and will contain visual glitches. To properly get rid of it, you may edit the height in pixels of the hard-coded tile 2462 (BOTTOMSTATUSBAR)...
The area where the big status bar would normally appear remains, however, and will contain visual glitches. To properly get rid of it, set [[screen_size]] to a desired value less than 8, or you can edit the pixel height of art tile #2462 (BOTTOMSTATUSBAR).


This event is different of [[EVENT_DISPLAYREST]] in using rotatesprite command as it draw tiles under the normal status bar, if being displayed.
This event is different of [[EVENT_DISPLAYREST]] in using rotatesprite command as it draw tiles under the normal status bar, if being displayed.


[[Category:Events]]
[[Category:Events]]

Revision as of 11:53, 13 August 2012

EVENT_DISPLAYSBAR is a Game Event.

This event is used to display the status bar. Setting RETURN to a non-zero value will prevent the status bar from being rendered.

The area where the big status bar would normally appear remains, however, and will contain visual glitches. To properly get rid of it, set screen_size to a desired value less than 8, or you can edit the pixel height of art tile #2462 (BOTTOMSTATUSBAR).

This event is different of EVENT_DISPLAYREST in using rotatesprite command as it draw tiles under the normal status bar, if being displayed.