Creating a map that changes everytime

Hello guys, I’m new in unity and I wonder how can I create a map that changes every time you start over the game. Is there a name for that kind of map and if there is what is it called? Thanks

An example to what i wanna do is Alto’s adventure

Here is a link to a youtube video >>

For the future note, it’s called “procedurally generated” games.

From what I see, this could be achieved through usage of a Perlin Noise. From there, you get series of X and Y axis, which can let you build a graph like this:

…which then can then be smoothed out through Polynomial Fitting:

From there, you get a nice smooth terrain, where you can place obstacles based on slope angle (e.g trees are not placed on high slopes).

Hopefully, this gives you an idea!

3 Likes

It does Thank you Elmar :slight_smile:

1 Like