Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

What was the trick to getting so many guys? did you use like compute shaders or ECS or something?

yes the first. objective tracking, hp/damage calcs, unit pathing, targeting and movement is all done with glsl shaders on the gpu. since a gpu has thousands of cores it can move and update all 3 million units in parallel in a single frame. So the main limiting factor is something called register pressure.