Last week, I added a class for structures. In particular I used this class for the tables in my restaurant. As of now, I have only created one table so that I can make debugging easier and more straightforward. I added the table texture near the middle of the screen to signify where the guests will be seated in the restaurant.
I also created some simple AI for the NPCs. This allows the NPCs to move to the table when they spawn. Later in my development, I plan to make a grid so that the NPCs will follow a specific path to get to the tables (around walls and such). Currently, once the NPCs are spawned, they walk to the table directly along the shortest path.
The biggest challenge I had last week was learning how to make simple AI and implement it into my code. I had to do a lot of research to learn how AI can be coded into MonoGame, and find the simplest way to do it since I did not need complicated AI programming. Luckily, I was able to find a few tutorials that went over simple AI as well as more complicated AI.
Doing this portion of my game, I learned the importance of being able to search for and find tutorials specific to MonoGame to help me figure out things I am not familiar with. Since this is my first time working with MonoGame, tutorials have been very helpful in learning how it works in general.
Leave a Reply