Module bevy_ecs_tilemap::tiles

source ·
Expand description

A module which contains tile components.

Structs§

  • A component that is attached to a Tile entity that tells the GPU how to animate the tile. Currently all frames must be aligned in your tilemap.
  • This an optional tile bundle with default components.
  • A custom color for the tile.
  • Flips the tiles texture along the X, Y or diagonal axes
  • A tile position in the tilemap grid.
  • Used to store tile entities for fast look up. Tile entities are stored in a grid. The grid is always filled with None.
  • A texture index into the atlas or texture array for a single tile. Indices in an atlas are horizontal based.
  • Hides or shows a tile based on the boolean. Default: True