Creating enemy with vision radius and blind spots

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

Upvotes: 0

Views: 159

Answers (1)

spydon
spydon

Reputation: 11552

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

Upvotes: 1

Related Questions