How To Code Minecraft In Javascript (THREE.js) | Part 15 - World Depth

Publicado el: 21 mayo 2021
en el canal de: Hritik Roy Chowdhury
1,832
49

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...


En esta página del sitio puede ver el video en línea How To Code Minecraft In Javascript (THREE.js) | Part 15 - World Depth de Duración hora minuto segunda en buena calidad , que subió el usuario Hritik Roy Chowdhury 21 mayo 2021, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,832 veces y le gustó 49 a los espectadores. Disfruta viendo!