Very nice!! A friend and I are toying around with the engine and doing something similar. I am very interested to know what your solutions were to some of the problems we have had and are having at the moment!!
AngryGamerTV Well it took me awhile to figure out, how to get the blocks spawned correctly. Which at the moment i either spawn from and actors construction script, or more recently from the level BP. I use a loop with a max x y and spawn Hierarchical Instanced Static Mesh Components. That seems to be working nicely. It seems to be capping out at 250 000 blocks and Im not sure why. I got culling working and with 750k + blocks.The performance stays very good. But the map loading time is allot. At the moment im not sure whats the best way ( and from where) to spawn the blocks in the map.
I'm not sure if you've seen my other video (Block Game Template Perf. test 3), but I just spawn instances as you do, with 1 component per block type per chunk.
Ive watched all your tutorials yeah :) Ok cool, so do you generate everything from map start? ( to maybe eliminate loading into the map) also do you have allot of chunks, of blocks, that you somehow cull?
Sgt. Rage I generate everything at run-time (Except for a few things that don't make any sense to generate at run-time, such as tree locations), which allows me to instantaneously load the map. The world size I have been playing around with is 20000x2000, which comes out to 400,000 chunks, and 120 million blocks. I just load/unload chunks as the player moves around.
Looks interesting!
+koolbrosMK Glad you think so :)
It would be realy interesting to know how you didi this :D
Very nice!!
A friend and I are toying around with the engine and doing something similar. I am very interested to know what your solutions were to some of the problems we have had and are having at the moment!!
Thankyou :) What sort of problems have you been having?
AngryGamerTV
Well it took me awhile to figure out, how to get the blocks spawned correctly. Which at the moment i either spawn from and actors construction script, or more recently from the level BP. I use a loop with a max x y and spawn Hierarchical Instanced Static Mesh Components. That seems to be working nicely. It seems to be capping out at 250 000 blocks and Im not sure why. I got culling working and with 750k + blocks.The performance stays very good. But the map loading time is allot. At the moment im not sure whats the best way ( and from where) to spawn the blocks in the map.
I'm not sure if you've seen my other video (Block Game Template Perf. test 3), but I just spawn instances as you do, with 1 component per block type per chunk.
Ive watched all your tutorials yeah :)
Ok cool, so do you generate everything from map start? ( to maybe eliminate loading into the map) also do you have allot of chunks, of blocks, that you somehow cull?
Sgt. Rage I generate everything at run-time (Except for a few things that don't make any sense to generate at run-time, such as tree locations), which allows me to instantaneously load the map. The world size I have been playing around with is 20000x2000, which comes out to 400,000 chunks, and 120 million blocks. I just load/unload chunks as the player moves around.