-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
World generation improved #116
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! Please try to integrate your code with the existing codebase rather than overwriting it however.
The thing is I have been working on this from the episode 10 folder when you showed how to make chunks so I have not yet put toml if u can just create a separate branch and add it i will add the toml part and commit to it |
It is integrated with the episode 10 codebase |
it does not work when the save world option is there which was added in episode 11 |
I have improved world generation by adding 2D perlin noise for hills and lakes with trees as well as 3D perlin noise for good looking spacious caves which have lava pools randomly generated ore veins of coal, iron and diamond depending upon the y level. This code right now generates only fixed number of chunks but the chunk generation can be used to produce infinite such chunks. I have also added jumping and sprinting mechanics and flying mode which can be toggled using F key. You also cant build below y = 0 level. There is also collision detection.