The beginnings of procedural cube (Minecraft-like) terrain in Godot.
- Import the project into Godot
- Run the project
- Move around with the arrow keys
- Import the project into Godot
- Remove the script from the Spatial node
- Click and drag the ProceduralCubes script onto the Spatial node
- Run the project
- Move around with the arrow keys
There are now 2 version of terrain generation. The easier one is all inside of the ProceduralCubes script.
The more complicated and non-functional one is spread out across multiple files. These files are:
- TilePos
- Block
- Chunk
- WorldGenerator
- WorldGenerationGlobals
- Is only 1 layer
- Snaps to half blocks, therefore blocks overlap.
- Doesn't chunk