Sunday, December 18, 2011

AI Demo

I don't have much news to share this week, but here's of something I had been working on. It is a demo of some AI for defense turrets that could possibly have been used in alternate game modes or even a single player campaign, but those ideas have been cut. I will most likely use it for future projects.



The turrets will lead their shots to try to destroy nearby enemies. Click on the spawn fighter button to create more enemies for the turrets to attack. They are pretty accurate even at distances, but when the enemy accelerates or turns it will likely miss. The turret defense AI is designed to be accurate but not devastating, so that if you had them assisting you in a mission they would help you but not carry you. Each separate turret on the ship has been color coded and their targets circled to easily see what they are aiming at.

The turrets will also defend against any enemy, not just the fighters. They are even effective against asteroid fields and missiles.

EDIT: Just realized I didn't turn off the sound effects in the demo, should be off now. Also I allowed the fighters to be offensive too, it makes it more interesting.

EDIT 2: No update on 12/26/11 for Christmas, maybe an early next update however.

1 comment:

  1. *spams spawn fighters*
    Die you mothership~~~!!! *waves a fist*

    Joking aside - the fighter AI seems fun to play against - I know that your turret AI makes the fighters look like swiss cheese, but we people are not necessarily that skilled. Not to mention, watching the tons of mini-fighters take on the mothership was downright something that you'd see in Star Wars - namely, you really don't want to be that mothership.

    It feels like a waste to not include the turret - not for the player, but against the player. I know we already have the fighters (somewhat analogous to the UFO), but how about thinking of a gunship (a New Grounds powerup) that's basically an enemy that has 2 of those turrets (360 degrees, of course) and more health than the fighters?

    Just throwing ideas for future consideration.

    ReplyDelete