Elektrine lite

← Feed

@kampffrosch@mastodon.gamedev.place

Post #1716388

2026-03-29 06:55 UTC

@britown I see, thanks! Another question: How do you handle hidden information? Let's say the player places a trap that should be invisible to the enemy. Now if the enemy simulates the outcome of moving into the traps tile it'd notice it takes damage and avoid the tile (possible getting stuck in a hallway). Do you simulate as if the trap wasn't there?

Replies (1)

  • @kampffrosch good question yeah actors have an awareness concept. They don't gain or lose score for things they don't know about. This includes things like walking into a trap, or like they get score for shooting where they think you are even if they don't know exactly where you are. Normally they would lose score for friendly fire but if said friend is obscured they wouldn't know they're hitting them, things like that

    Open ##1716389