12 years ago

DevLog 2: AI, Respawning & Lowpoly models


I’ve been busy over the last week toying with several different approaches to AI for Fractured Empire. While I feel that a pathfinding algorithm such as A* would be overkill for a game that will ultimately have few static obstacles, collision detection is an absolute must so that computer controlled ships can weave in and out of intense battles without simply barreling through everything in its path!

I’ve so far opted for a simple evasion algorithm that scans the immediate surroundings of a ship and maneauvers it away from anything that might cause a collision. The upside to this approach is that it is very efficient. I’ve run a few test battles with this approach that have allowed as many as 200 ships to battle it out without so much as a tiny dip in framerate. On the downside though, this approach doen’t fair well when multiple ships come very close together. In such cases the ship simply steers away from its nearest threat while slamming into another!

Combat AI is also making progress. While combat is a little predicatble as there is only one attack pattern, in large scale battles, the frequent selection of new targets by each ship, as well as having to avoid enemy ships that come flying at them, gives rise to some interesting and unpredicatble battles! As I add new ship classes to the game (something I intend to work on this week) I will add more diverse AI for selecting targets, attacking and even retreating when ships are heavily damaged, something I hope will make for a truly entertaining gameplay experience.

Some other minor updates I’ve made this week are a respawning system that spawns new units into random locations around their factions homeworld. I’ve also been churning out some basic lowpoly spacecraft for the game. I’m not by any standard an expert in 3D (or 2d) modelling and art, but I hope to be able to keep the game playable on as many machines as possible without having to scale down the ship count too much. That pretty much covers everything I’ve done this week, so be sure to keep coming back to check on my progress!



0 comments

Loading...

Next up

Fan art for Foolish I'm feeling kinda better so I drew this

Heya there! I really wanted to show you all a little gameplay preview of the first boss fight i'm currently working on i hope you like it ^^

Another house i made long time ago.

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

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

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

Very ambitious construction going on in Planet Zoo on Plays today. We're tryin'. LIVE: www.twitch.tv/dreamhackplays