Game
Grimstorm: Colosseum
8 years ago

Updates to AI


Previously, the AI would be using a very hacky finite-state machine to determine what action to do in response to the current target. This was fine to begin with, but in the long run it’s very ineffective.

5d0ba3c3d9501.gif

View a video of the AI in action

I have changed the AI to use a mix of finite-state machines (FSM) and goal oriented action planning (GOAP). GOAP gives the entity certain actions and goals it can perform with costs, and the AI will see if it can perform it.

Each AI has a hidden “action point” counter that regenerates over time, and it can spend them on various actions, such as a standard attack, a roll, or a strong attack. The better the action, the higher the amount of points required. A harder AI to fight will get action points quicker than more common ones.

5d0ba3c5cb05f.gif

However, the AI isn’t perfect just yet, and still needs lots of refinement! I am wanting to add in an ability that lets me specify how much the AI favours a certain move over the other. So you might have a very evasive ninja who likes to roll, or a tough knight who always blocks your attacks. It will allow me to give lots of variety to your opponents and make them a fun fight overall.

Let me know your thoughts on the progress so far!



6 comments

Loading...

Next up

New Animations

Players, Polish, and Possible Public Release?

Featured!

Looking for Beta Testers!

Eldritchvania is out now on Game Jolt!

A game by @DeathCountGames , with spooky and occult music by myself! Can you survive the horrors?

https://gamejolt.com/games/Eldritchvania/415163

I’ve got a new song coming out next week! #chillwave #ambient #electronic #newmusic

I just released a soundtrack to a short film!

A blend of immersive ambient, synthwave and orchestral. Listen now on all music platforms.

https://linktr.ee/niksudan

Enjoying Eldritchvania? You can listen to the soundtrack to Eldritchvania over on Soundcloud and Bandcamp! What’s your favourite song?

Eldritchvania is available now for free! Can you survive the horrors that lurk amidst the forgotten depths?