How do i code a voxel game on brick hill?

[wffl] brick-will
Joined 23/05/2020
Posts 209
06:40 PM 17/09/2020
also i need a counter to display the minerals broken and spawnpoints

plz halp!!!!!!!!!!111111


[SNS彡] SNS X SNS
Joined 09/06/2020
Posts 5,104
06:40 PM 17/09/2020
[ Content Removed ]


[wffl] brick-will
Joined 23/05/2020
Posts 209
08:38 PM 17/09/2020
we all are


SmartLion
Joined 16/04/2017
Posts 1,970
09:38 PM 17/09/2020
For world storage and functions I used prismarine-world https://www.npmjs.com/package/prismarine-world

The client can't really handle a lot of bricks at once so you have to use greedy meshing to keep the brick count to a reasonable number
This post explains it greatly https://devforum.roblox.com/t/consume-everything-how-greedy-meshing-works/452717
Greedy meshing can stall the server for quite a bit of time if the script is ran inside node-hill's VM
To avoid that you need to add/require your scripts to sandbox or modules depending on what node-hill version you are in


SmartLion
Joined 16/04/2017
Posts 1,970
09:52 PM 17/09/2020
I should also mention this one too https://devforum.roblox.com/t/how-to-make-a-greedy-mesher/474436

1