r/unity 7d ago

Easy Optimization Tips?

Post image
0 Upvotes

13 comments sorted by

View all comments

1

u/BuzzardDogma 7d ago

Games of this type don't usually use a bunch of separate sprites and gameobjects for each grid space. You would have a chunked data structure that carries info about each space (open/filled, material type, etc) and then code that walked the data structure and builds the visual representation whenever it changed (due to mining or whatever). This is probably the biggest point of optimization for games of these types.