Defining an Entity’s Field of View

Learn how to define the entity's field of view.

We need to follow a few steps to determine which tiles are visible from any point on the map.

  • We have to denote which tiles are transparent and which are opaque.
  • We need to prepare a component in which to store the visibility data.
  • We need a system that runs a field of view algorithm and stores the results in the new component type.

Get hands-on with 1200+ tech skills courses.