This is a demonstration of some simple AI created for a 2D side scroller combat game. In this demo, the coding for the melee and shooter AI was done completely from scratch. Note this project was a group project, thus the player code was not created by me.
There are two types of AI in this demo, the melee and the shooter. Melee have a very simple mechanic of chasing player and killing the player. The shooter has a slightly more reactive process of determining what to do. Which includes backing up when the player is too close.
The AI will chase the player using its own routines combined with movement nodes, these movement nodes allow the AI is jump if the player is one platform above or turn back if there are ledges. Both AI can get stunned in this game.
This is a demonstration of some simple AI created for a 2D side scroller combat game. In this demo, the coding for the melee and shooter AI was done completely from scratch. Note this project was a group project, thus the player code was not created by me.
There are two types of AI in this demo, the melee and the shooter. Melee have a very simple mechanic of chasing player and killing the player. The shooter has a slightly more reactive process of determining what to do. Which includes backing up when the player is too close.
The AI will chase the player using its own routines combined with movement nodes, these movement nodes allow the AI is jump if the player is one platform above or turn back if there are ledges. Both AI can get stunned in this game.