Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I have a sevreal question to ask abaut the ai ,im intrested in the way that it know exacly where to move and where to stay still . Can i get some help ?

(+2)

The AI is pretty simple. It has 2 behaviors : if you are falling, or below the board, the AI will try to go under the player to rescue it (it will target a point to the side of the player, then when it is close enough it will go under the player). Otherwise, it will target the enemy board (with a living enemy on it) which is the closest to the player, and will approach it and stay near it (it will go to a point to the side or above the enemy board). Allowing the player to hop on it, and come back on the board once the enemy defeated. When the enemy is defeated, and the player is on the AI board, it will target another enemy board and so on. Is my explanation clear? Feel free to ask any other question or precision

Did you ever give the platform buddy a name during development?

I did not, you can call him however you want :)

i mean when somethimes it force the player to dodge a bullet by pushing it up or down and the eyes looking at the player and random dirrections 

I actually didn't code any behaviour for "forcing the player to dodge a bullet". It may accidentally push you up or down when it is going towards another platform or coming down to get you. As for the eyes, it is only looking at the player (I simply offset the pupils in the direction of the player)