Game
Project 9 - A MetroidVania 2d Platformer
9 years ago

Let's talk about AI


It’s quickly becoming apparent that my largest challenge as a novice programmer is going to be implementing some fun to play against AI in this game.

The game mechanics are in place, and I thought that was going to be the hard part…

nope.

The amount of “if” statements required to make a single enemy simply move toward the player, know when to attack, and how to navigate a very basic environment is astounding.

I’ve gained a whole new respect for any game dev who has programmed halfway decent AI.

Game Maker Language is heavily based on C++, for anyone who is interested. My background stems from a few courses over 12 years ago in High School, and self teaching from there.

Game Maker requires the user to program everything - collisions with the ground, gravity, not running through walls, etc.

It also offers no “built in” AI of any sort. Any creature you put in your game is run by hundreds of lines of code, and let me tell you this - they don’t like to cooperate.

So far I’ve managed to make my little goblin guy chase the player around, jump attack and regular-attack at him, and climb the cliffs in the terrain. Not a bad accomplishment.

What about jumping over pits? What about running away if he’s losing?

What about my sanityyyyyyy?

No. You know what? I’m having a blast with this!



0 comments

Loading...

Next up

Oh man! This is progress! Colored text is impressive to everyone!

Working on a town!

Been working lately on lots of 'behind-the-scenes' boring stuff that no one really cares about, so here’s a guy playing the sax for some reason.

#screenshotsaturday

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Terraria

Call it 'wrong turn'!🚫 The feeling of running into a house with only one exit🚪, and being doomed to die. #pixelart #pixelartist #pixelartwork #art #pixel #indiegame #IndieGameDev #indieartist

a drawing I did because I was bored😪. But I love how it turned out.😊

If you’ve played the Vault demo and enjoyed it, please consider ‘liking’ the game page here on Gamejolt and/or leave a comment!

Also please consider tossing Vault on your Wishlist, I really appreciate your support!

https://store.steampowered.com/app/1251800

Explosive domino effect