python-minecraft-clone icon indicating copy to clipboard operation
python-minecraft-clone copied to clipboard

World generation improved

Open Rahuldesai0 opened this issue 1 year ago • 3 comments

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.

Rahuldesai0 avatar Oct 15 '24 08:10 Rahuldesai0

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 avatar Oct 15 '24 08:10 Rahuldesai0

It is integrated with the episode 10 codebase

Rahuldesai0 avatar Oct 15 '24 08:10 Rahuldesai0

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

Rahuldesai0 avatar Oct 15 '24 08:10 Rahuldesai0