Expand description
Grid → world-space mapping. The board is centred on the origin; sim y
grows downward (row 0 on top) while Bevy’s world y grows upward.
Modules§
- z
- Z-layers, back to front.
Constants§
Functions§
- creature_
pos - World position of a creature
progresssubunits past the centre oftile, heading indir. - dir_
rotation - Rotation aligning a sprite authored facing +X with a sim direction.
- nearest_
tile - The tile whose centre is closest to a world position (clamped in-board).
- tile_
center