There's always a Path

So GameMaker has this nifty built-in pathfinding-function called “MP” (Motion Planning). This made building the pathfinding for my little dudes a breeze.

If you ever need someone to build a PacMan-clone - hit me up :P

Inadvertently I also created my first data leak… but I was quickly able to fix it. Always destroy your grids after using them, folks!

I think now it’s time to get deeper into the different states of the Musician state machine. The guys now know how to get to a place, but they need to stop chasing some - later non-existent - player character and start getting getting some actual reasons to go places!

The first version of this I got working. Rooms now “call” for a Musician and the nearest one answers it. As soon as they have reached the room, they change state (as seen by the sprite change to one with a yellow square):