EvilEngine/SURF: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1:
{{AssetInfobox
|subtitle=Surface
|type=[[ObjectBase]]
|objectid=0x1A
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}}
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Game/zSurface.h zSurface.h]}}
 
This asset defines an entry for a surface, which can be applied to other assets such as [[PLAT]], [[SIMP]], [[BOUL]] or even parts of [[JSP]] through the [[MAPR]] asset. The surface can have properties such as special materials, texture animations or patterns, and properties such as hurt, wall jump, out of bounds, prevent standing on.
 
==Format==
Surfaces are [[Object AssetBase|objectbase assets]], so they start with their 0x54 byte header, then are followed by:
 
{| class="wikitable"