Programming Project, day 22 – part 1

There are now three functioning AI states. It’s just a matter of fine-tuning their behavior. I guess I’ll leave it for now. It’s fun to program AI but now that I got the project points for it I’m gonna focus on something else. Perhaps particle effects! But before that, I’ll add the settings for playercount and AI in the GameSetupState.

To explain the picture: When in the roaming state, the AI walks around the map kind of randomly. In the flee state is runs from nearby dangerous objects. In the attacking state it runs towards nearby players. When it says “destructable to the right” (misspelled destructible, w/e) or when it says “kill player to the up”, the AI places a bomb.

Image