EvilEngine/UIFT: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{AssetInfobox |
{{AssetInfobox |
||
|subtitle=UI Font |
|subtitle=UI Font |
||
|type=[[ |
|type=[[Entity]] |
||
|objectid=0x21 |
|objectid=0x21 |
||
|games=Night of 100 Frights<br>Battle for Bikini Bottom |
|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. |
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== |
==Format== |
||
UI Fonts are based on [[UI]] assets, which are based on [[ |
UI Fonts are based on [[UI]] assets, which are based on [[Entity|entity 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). |
* 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). |