Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 413 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 413 Bytes

specsSpawnEntities

I continue to study Rust. This time experimenting with spawning entities with specs library.

This can spawn more than 70k entities and continue processing them on 60fps.

The only optimization is that entities that are our of the screen borders are not rendered. Otherwise, the limit would be in about 4k drawcalls per game loop.