Hey guys! Welcome to part 15 of this 3d minecraft. Finally its here! In this video, I show how to add depth to the world (blocks below), something which you all have wanted for a looong time (since the start of the series, hehe). It is actually quite simple. I just added a for loop in every world-editing part of the code which accounted for blocks below the first layer of blocks. After a few tweaks here and there, it seemed to work! It does lag more now (slightly though), but there are plenty of ways of improving the game performance! :)
Thank you!
00:00 - Start
00:09 - Introduction
00:45 - Starting Programming
02:55 - New Variable Declarations
04:22 - Editing InstancedMesh Calling
06:32 - Generating Inital World Depth
09:35 - Infinite Terrain Generation World Depth
14:14 - Testing the Code
15:37 - Disabling Placing Blocks Below MinWorldY
16:45 - Final Result
17:30 - End
Links:
Check out the code in my GitHub repository : https://github.com/HritikRC/Minecraft...
Intro to this series : • Coding Minecraft With THREE.js! | Series I...
Series Playlist : • How to Code Minecraft
THREE.js : https://threejs.org/
Perlin Noise Library (remember to include the license!) : https://github.com/josephg/noisejs
Perlin Noise Tutorial : • 3D Terrain Generation with Perlin Noise in...
Download Python : https://www.python.org
Minecraft World Generation Algorithm : https://github.com/UnknownShadow200/C...
On this page of the site you can watch the video online How To Code Minecraft In Javascript (THREE.js) | Part 15 - World Depth with a duration of hours minute second in good quality, which was uploaded by the user Hritik Roy Chowdhury 21 May 2021, share the link with friends and acquaintances, this video has already been watched 1,832 times on youtube and it was liked by 49 viewers. Enjoy your viewing!