daniu54 / earie-treasures

A 2d top-down loot-em-up with horror and stealth elements
0 stars 0 forks source link

Player flashlight should be detected by enemies #81

Open Abb4 opened 10 months ago

Abb4 commented 10 months ago

As mentioned by #79 enemies could detect player flash light. This could force players to turn it off, when sneaking.

Possible implementation with raycasts:

player_and_enemy_vision_cones2