How To Code Minecraft In Javascript (THREE.js) | Part 21 - Title Screen, GUIs and Fixing Bugs

Опубликовано: 29 Сентябрь 2024
на канале: Hritik RC
1,264
27

Hey guys! Welcome to part 21 of this series! In this video, I show you how to finally add a title screen to the game. This allows you to select between loading a game or starting a new game. In this video, I show you the code for creating a new game, which was quite easy. Next video, we will of course go ahead and save the world and also load it! In this video, I also show how to code the escape screen GUI as well as fixing a few bugs.

00:00 - Start
00:08 - Introduction
02:52 - Hiding in-game Elements
04:13 - Making Title Screen
08:57 - Creating a New Game
11:35 - Making Escape Screen
16:02 - Fixing Bug #1
16:38 - Disabling Movement in Escape
18:23 - Fixing Bug #2
20:27 - Making Background Change
23:08 - Going Back to Title Screen
24:20 - Testing

Links:
Check out the code in my GitHub repository : https://github.com/HritikRC/Minecraft...
Intro to this series :    • Coding Minecraft With THREE.js! | Ser...  
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 Noi...  
Download Python : https://www.python.org
Minecraft World Generation Algorithm : https://github.com/UnknownShadow200/C...