Hopson97 / open-builder

Open "Minecraft-like" game with multiplayer support and Lua scripting support for the both client and server
https://github.com/Hopson97/open-builder/projects/3
GNU General Public License v3.0
700 stars 80 forks source link

Use seed for world generation #69

Closed Hopson97 closed 4 years ago

Hopson97 commented 4 years ago

Suggestion Title Using a seed to create different world gen

Describe your suggestion Right now the world generation is the same every single time However to be more interesting, it would be better if a seed were somehow used to create different results

Implementations ideas [optional]

Not sure

rehwinkel commented 4 years ago

Should the seed be stored in a world-file of some sort?

Hopson97 commented 4 years ago

Probably will be yes.

For now there is no world file though, so not worrying about this for now.

The way I am seeding atm is by passing a seed into the third parameter of "3D Simplex Noise", which would give a unique slice of that noise, but its not the most effective (as you can imagine, a seed like 3423 would be basically the same as 3424)

rehwinkel commented 4 years ago

98

Hopson97 commented 4 years ago

Solved by #98