hi all,
my sandbox game develop have some questions:

1.

this game need many many cube entities.(like minecraft)
i try to:
var world_xyz[3] = { 1024,1024,1024 };
...
function main()
...
max_entities = (world_xyz[0] + world_xyz[1] + world_xyz[2]) * 10 + max_entities;
...
start no error, but run game when function create random world a few min ago display error:
to many entities!

how can i fix it?

my PC:
2 XEON,48GB RAM,GTX1080

---------------------------------------------------------
2.

i set all cube entities flags:
my.emask &= ~DYNAMIC;
works fine! too many entities can't display, but game render fps is very slow

how can i fix it?



thx all.