-
What are you attempting to achieve?
I am building a mine for a game which is 15x15 with a height of 2000 so that’s 450,000 blocks. Only one layer is shown at a time (like usual mining game). I am quite new to building so I am unsure what would happen. -
What is the issue?
I want to know if this will cause lag. If it does cause lag how can I fix it or optimize my “Mine” more? Also not all the parts are visible to a player, maybe a maximum of 200 parts will be visible at one point. Also, the parts are 6x6 to clarify. -
What solutions have you tried so far?
I reduced the size from 20x20 to 15x15.
How big are the parts? But juding by what you said 450k probs would cause lag.
They are 6x6 parts so quite small parts
450,000 parts will definitely cause lag. Part size doesn’t matter.
If the parts are COMPLETELY transparent, they do not get rendered. However, THEY ARE STILL STORED IN MEMORY which will certainly have a big impact on memory usage.
A more efficient way to do this if you’re only to show one layer at a time is to create the parts as the player goes. This way, there won’t be literally hundreds of thousands of parts that aren’t being used.
Usually detailed showcase games would have around 30k-70k parts, let alone 400k!
That would most definitely cause extreme lag.
450,000 parts will for sure lag the game, maybe not for everyone, but it is depending on what game you’re building but I personally wouldn’t suggest to go over 150,000 if you’re trying to also add scripts, animations, etc.
Especially for a mining game where the blocks might be unanchored and multiple people will mine at once, it will lag, I would highly suggest you to make it way less parts.