Griefhelm is a 2D Sidescroller dueling game with direction-based combat. A mix of Nidhogg and Mount & blade. The game will feature couch-play as well as online play.

Post news Report RSS Griefhelm - 0.4.2 - AI now available

You can now challenge a work-in-progress AI, hop in and tell me what you think!

Posted by on

Logo blue

Hello everyone,
Thanks to Phantom8866, I decided to put up experimental builds for the work-in-progress AI. So I will be uploading builds in which you guys can try out how the AI is coming out and give me feedback and suggestions!
Of course, the AI will be doing some weird stuff, cause I'll upload progress without making sure everything is stable and functioning.
That being said, I'd like to show the AI's current state and how I approached its development and tackled problems.

As of now the AI will move, jump, climb ledges, fight and run towards the goal if it notices it has the advantage to do so. The jumping has been (and still is) a nightmare to handle, and it is still in a very raw state right now, so you might see the AI just stopping in places where it should jump :(
Besides that, I'm pretty happy with how the combat is turning out, and I'd like to focus on that a bit and tell you how I decided to do things.

It all starts from perfection

My approach to AI is to start by making the perfect machine, the perfect combatant... well at least to the extent I'm capable of. So the first thing I did was making the AI's reflexes instantaneous so that there is no way to get through its blocks, as you see in the video below.

Afterward, I just needed to add weighted random functions on timing and direction errors (weighted based on AI skill).
The same approach was also applied to parrying.


For the attack, I simply have parameters to define "aggressiveness" by interval deviation. Of course, the AI will not start an attack if an attack is already incoming, he will instead try blocking it to counter-attack. Again, this "perfect" behavior just needs to be driven by error parameters.

These are the current Combat Skill-defining parameters:

SkillParameters


For now, I set them to something that seemed decent, but as the developer of the game, I completely kick a** in it :), so I don't know if I made the AI too strong. Therefore, I can't wait for your feedback!

'Till Next time,
Johnny Dale Lonack

You can follow the game here:
Website: Johnnylonack.wixsite.com
Discord: Discord.gg
Facebook: Facebook.com
Twitter: Twitter.com
Instagram: Instagram.com
IndieDB: Indiedb.com
Itch.io Johnnydale.itch.io

Comments
ozzyr
ozzyr

This is very interesting stuff, Will keep an eye on this for sure.
Good luck

Reply Good karma Bad karma+1 vote
johnnylonack Author
johnnylonack

Awesome to hear that, thank youu! :).

Reply Good karma+1 vote
johnnylonack Author
johnnylonack

Oh btw, have you tried the demo?

Reply Good karma+1 vote
Spudcats
Spudcats

Made a video

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Report Profile
Icon
Griefhelm
Platforms
Windows
Creator
johnnylonack
Contact
Send Message
Homepage
Facebook.com
Release date
Game watch
Follow
Related Games
Griefhelm
Griefhelm Fighting
Related Engines
Unreal Engine 4
Unreal Engine 4 Commercial
Related Groups
Indie Gamers
Indie Gamers Hobbies & Interests with 1,505 members
Team of One Game Development
Team of One Game Development Hobbies & Interests with 85 members
Unreal Engine 4 Games
Unreal Engine 4 Games Fans & Clans with 699 members