Skip to content

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