Bugs fixed

It looks like I've fixed the bugs that made monsters roam over the walls, specially when entering frightened mode. If someone could double check for a few minutes, that would be awesome. :)

[UPDATE] Detailed bug explanation: it had nothing to do with frightened mode. The problem was that when a monster left the pen due to pacman not eating timeout, its internal dot counter remained active. Later, as soon as pacman ate the specific number of dots, ghost went from normal scatter/chase/frightened mode to kinda "exiting pen" status, turning upwards with or without walls. Now, exiting the pen deactivates internal counter.

Leave a comment

Log in with your itch.io account to leave a comment.