GDevelopApp / GDevelop-examples

Repository of examples and templates for GDevelop - the open-source, no-code game engine
https://gdevelop.io
53 stars 20 forks source link

3d block procedural generation example #678

Open Kravataf opened 2 months ago

Kravataf commented 2 months ago

Describe the example

this example generates basic terrain using cubes, there are seeds which determine how the terrain will look like.. (its made using the native 3d) and i added basic fps controller so the player can fly around the terrain, pressing R will reset the scene (on beginning theres random seed each time but that can be changed) also the terrain has size (50x50 blocks by default but can be changed inside of the eventsheet)

Checklist

Game folder

3dblockproceduralgeneration.zip

Kravataf commented 2 months ago

also to snap the blocks to the grid on the z (elevation) axis the z of each block should be set to roundTo(block.noiseColor*2,-2) (in the example its block.noiseColor) not snapping to the grid makes it more smooth

Clyders commented 2 weeks ago

NumberVariable extension is missing bruh...