Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

If Startcraft II and Don't Starva had a baby it would look something like this. It's a bit hard in the beginning and i don't really get the difference between the two attack towers. But all in all i enjoyed it very much. I felt like a real alien hive mind playing this and i don't think i can ask for more.
Btw can i ask you how you did the "creep" patch on the ground? I would love to kow how to make something like this. (And if you can find the time it would mean a lot if you rated my game)

Hi! We are glad that you like our game.

A creep is a number of textures that replace each other on a ground plane like frames. We also have something like a “build-up map” which is a low resolution grayscale texture where black pixels are free to build up and white pixels are not. It is generated at runtime from the creep textures and the position and size of towers in the game logic, and is used to check when the player wants to build something. This could be implemented in more lightweight way by using a bool[,] map instead of a texture, but Unity has some useful functions for dealing with textures, so we'll use them to speed things up.

(+1)

Oh, so the creep has a prebaked set of spread states and not generated at runtime in that shape. I see.

Yes, it's prebaked here, but realtime generation is somewhat similar. You can use a shader with a stencil buffer to form the shape of the creep, which will be filled across the ground plane behind it. In this case, the build map will be filled with the shape of this stencil layer instead of textures. It takes some time to create and set up, so we don't use this technique within jam time limits.