EvilEngine/UIFT: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
{{AssetInfobox
|subtitle=UI Font
|type=[[PlaceableEntity]]
|objectid=0x21
|games=Night of 100 Frights<br>Battle for Bikini Bottom}}
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zUIFont.h zUIFont.h]}}
 
A '''UI Font''' is a text element that is drawn to the screen, on top of everything else in the scene. It can accept user input.
 
==Format==
UI Fonts are based on [[UI]] assets, which are based on [[Placeable AssetEntity|placeableentity assets]]. Some notes on the 0x54 byte header:
 
* The rotation, scale, and color are all ignored. By default, the rotation is (0,0,0), scale is (1,1,1), and color is (1,1,1,1).