Generating Tycoon Terrain


Hello guys, I am trying to generate tycoon terrain in roblox studio, like in this picture. I can generate heightmap for every 1 stud with diamond-square algorithm, but how can i actually map heightmap?

2 Likes

If map heightmap is array of numbers used for “saying” what heigh is for each diamond-square, you may use math.noise(x, y, z) function or create your own function which return number or array of numbers which depends on input.

Do you mean editing the tiles in-game and saving/loading tile data?

What i am trying to do is create terrain like that, but i want to create terrain not blocky, but like this.

heightmap means, that for each (x, y) i have calculated z value.

I want to create tiles based on heightmap i already generated

This article by @EgoMoose might help you.

1 Like