The nuclear age brought more than incredible energy, it spawned an era of mad scientists with wicked ambitions. You, being the maddest of scientists, have developed a method for animating and controlling slime to create an army unlike any before. Attack of the Gelatinous Blob is a Real Time Strategy (RTS) game placing the player in the role of the Mad Scientist. Progress through levels, destroying cities while fighting off the army. Build support structures to defend your base and enhance your blobs; blobs that have the unique ability to morph their composition and skills depending on what they absorb throughout the map. With your horde of blobs and arsenal of doomsday weapons, you will conquer the defiant humans!

Post news Report RSS Dev Update #4

In this update we talk about how the AI determines the proper locations to defend most effectively; using Voronoi diagrams.

Posted by on

Well after a big move to different cities, ok from the middle of nowhere to sort of somewhere, development is back on track and moving again.

One of the newest features is the human's ability to place defensive structures in appropriate locations. They do this using Vononoi diagrams and the inverse: Delaunay Triangulations. These find middle points between specified locations. The points used in this case are houses and buildings. Buildings that are close together generate a polygon that is small in size, and thus densely packed and should be defended. The humans will find these locations and place turrets or checkpoints there. So far the performance is great and it is very effective at locating the places where the player will most likely attack.

If you are interested in Voronoi diagrams, check out the Brent's blog post about them.

Here is a screenshot of the Voronoi circles in action:

The red circles indicate dense areas that should be defended. Here the AI will place defensive structures at the red circle's center-points.

That it for now. There are some more changes but I will save them for another day.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: