v1.2 - Implemented Simple AI Agent


We created Jumping Duel as a two player game with no way of playing it solo. But soon we realized that it is limiting for most of the players and a lot of people cannot play it simply because they have no one to play it with at the moment they found the game. And most certainly they will not come back to the game later. So we decided to implement a very basic AI so the game can be played by a broader range of people. We recommend to play the game with a friend, because it is still the funnier option, but you can definitely play versus the AI from now on.

The AI is very basic, it was our first try to implement something like this in our games. But it serves its purpose. It is not learning in any way, it is purely scripted and is reacting on a state of the game world. It has defined set of rules, which control the character, mostly based on its position in game world.

We did not make it based on difficulty levels, like easy, medium, hard which would make the AI agent faster. We made one AI agent and he adapts to player speed. If the player is slow the agent is slower too and he gradually increases his speed. If the player is fast the agent will increase its speed to keep up with the player. With this increase in speed or with the gradual increase in speed of the agent, he cannot exceed max speed threshold. Otherwise there would be no way of beating it. 

The agent can still fall down, can make a little jump and not land on a next platform or can get stuck. These all are left in game so it makes the agent feel more like a human player that makes mistakes. And also the agent is not aware of the human player. Of course he can collide with player but he does not care that it is a player, he will not react differently. So if you want you can just stand above him and not let him jump on the next platform or push him down from platform. We did not yet implement any mechanics that will handle this. So if you want to enjoy the game you will have to play normally. 

You can use this as an opportunity to train so you can beat your friend the next time you will play together.

Files

WebGL_1.2.zip Play in browser
Oct 16, 2020

Get Jumping Duel

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.