Z-axis terrain generation in 2D

4.3 Godot Version

If you were to make a procedurally generated 2D top-down game where the player can dig “down” into the earth, how would you do that? Ideally, I’d like to have some pretty high and low elevations. Like, +512 to -512 elevation with 0 being “Sea level”. Any tutorial I find on these references the deprecated Tileset node so I’m not sure if they’ll work.

I’ve been toiling with this for a while and can’t seem to figure it out. Any help or suggestions would be massively appreciated!

Normal 3D generation can be sliced for each 2D z layer. get_noise_3d(posx, posy, layerz)

Would this require lots of TileMapLayer nodes or is this achievable with a one node?

Depends on if you want to stream the data, might be impossible to show 512 layers at the same time so you could use less