Hello there,
I am able to draw many buildings with mesh instancing, I am able to move reasonable amounts of bullets (2000) with actors using traces in front of them instead of collisions, but I don’t know where to go from there:
Will it help, for example, if I were to store some array of vectors that would represent bullet positions, and a separate array of bullet velocities, and a separate array of their direction? If so, why?
How should I think about/design things, that need to work with a larger scale? I don’t want to do the next Factorio or CIties skylines, but few hundreds of actors are really limiting for everything, so I am looking for like general concepts, for things like:
- 100000 “AI” actors/buildings in Cities Skylines
- thousands of bullets fired from a WW2 fighter plane
- thousands of items on belts in Factorio
- armies in the Total War series
What are the general principles of games with these kinds of scales?
I’m asking here because I went through a significant amount of tutorials and I am always left wanting for more. My own tryouts are slowly getting me there, but they are really time-consuming. Typical strategy game tutorial focuses on camera and a basic game loop, but ends before any scale is reached - this applies pretty much for everything and I don’t know where to look for more. What are the basic concepts needed for say Total War armies? What are the basic programming principles that make Factorio possible?
PS: I know that I won’t make the next Factorio, but I would like to be able to move low thousands of “actors”, instead of low hundreds.
PPS: Right now, I am pretty much just prototyping with blueprints, but I assumed that programmers would be focused here, so I am asking here.
EDIT with ‘example’: If you were to build your own Cities Skylines, you could easily do that with like 100 buildings and 100 players, but you would set yourself up with some hard limits that way. What would be the basics of your design so that you would be able to grow to their numbers? Where, how and why would you leave the basic actors behind?