EvilEngine/UIFT: Difference between revisions

m
Seil moved page UIFT to EvilEngine/UIFT
Battlepedia>Seil
m (Seil moved page UIFT to EvilEngine/UIFT)
 
(5 intermediate revisions by the same user not shown)
Line 1:
<onlyinclude>
{{AssetInfobox
{{#vardefine:typeid|UIFT}}<nowiki/>
|subtitle=UI Font
{{#vardefine:name|UI Font}}<nowiki/>
|type=[[Placeable]]
{{#vardefine:type|[[Entity]]}}<nowiki/>
|objectid=0x21
{{#vardefine:basetype|0x21}}<nowiki/>
|games=Night of 100 Frights<br>Battle for Bikini Bottom}}
{{#vardefine:games|Scooby BFBB}}<nowiki/>
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zUIFont.h zUIFont.h]}}<nowiki/>
{{#vardefine:image|}}<nowiki/>
</onlyinclude>
{{AutoAssetInfobox}}
 
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).
Line 70 ⟶ 75:
* UI Focus On+Select
* UI Focus Off+Unselect
 
{{Assets}}
{{AutoGameNavs}}
 
[[Category:Asset]]