0

I’m using flutter and flame to create a game similar to sneak ops. I’m wondering how to go about creating an enemy that has a vision radius or area, that is obstructed by objects. enter image description here

  • 1
    http://www.roguebasin.com/index.php?title=Field_of_Vision lists a bunch of fov algorithms for tile-based games. – jthulhu Jul 14 '22 at 05:02

1 Answers1

1

There is nothing built into Flame for this currently, but in the next version we'll have raycasting that can be used for this.

spydon
  • 9,372
  • 6
  • 33
  • 63