Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

Rahuldesai0
Copy link

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.

Copy link
Owner

@obiwac obiwac left a 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.

@Rahuldesai0
Copy link
Author

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

@Rahuldesai0
Copy link
Author

It is integrated with the episode 10 codebase

@Rahuldesai0
Copy link
Author

it does not work when the save world option is there which was added in episode 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants