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

Publicado em: 21 Maio 2021
no 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...


Nesta página do site você pode assistir ao vídeo on-line How To Code Minecraft In Javascript (THREE.js) | Part 15 - World Depth duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Hritik Roy Chowdhury 21 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,832 vezes e gostou 49 espectadores. Boa visualização!