Furtive Labs - Space Factory Top-Down Template

Space Factory Template is a project that provides basic functions for building a top-down tower defense game.

It is entirely programmed with blueprints with critically optimized functions for handling multiple instances on the map without exponentially losing performance.

It provides a grid-based map construction system, a resource collection system, transportation, and manufacturing. In addition, it features an enemy system that uses an algorithm to find the most optimal path to the main core, which is designed to have many enemies on the level without affecting game performance.

The visual aspect is controlled separately from the data logic, allowing data persistence even when parts are not rendered at the level, i.e., constructions continue to be processed in the same way.

All constructions and the map itself are instances, so they do not collide, and interaction with them is performed using distance calculations. This avoids high resource consumption and allows the project to run more efficiently overall, since instances work with direct memory references.