Jump to content

Map file: Difference between revisions

m
Line 69: Line 69:


= Zone data =
= Zone data =
Zones are triggers for events (cutscenes, loading zones, etc.). The map file only defines the geometry of each zone. Behaviour is linked to zones by scripts (using the [[Bytecode#Control 0xd4cb|ctrl 0xd4cb]] instruction). Zone boundaries are more precise than tile boundaries: A tile is 256x256 units in size, and zones boundaries can start/end at any point within a tile).
Zones are triggers for events (cutscenes, loading zones, etc.). The map file only defines the geometry of each zone. Behaviour is linked to zones by scripts (using the [[Bytecode#Control 0xd4cb|ctrl 0xd4cb]] instruction). Zone boundaries are more precise than tile boundaries: A tile is 256x256 units in size, and zone boundaries can start/end at any point within a tile).


<syntaxhighlight lang="c">
<syntaxhighlight lang="c">