Hey guys! Welcome to part 2 of the 3d minecraft programming series! In this video, I show how to program the controls such as jumping, moving and also how to program gravity and stop falling when the player lands on a block. There is still a lot of room for improvement. But these I will fix on later videos in this series. Next video, I will show you how to program an algorithm which detects side collisions with blocks which is really important. So stayed tuned for that!
00:00 - Start
00:23 - Introduction
02:17 - Moving Code
06:17 - Gravity Code
12:17 - Testing
13:13 - Jumping Code
14:11 - Few Adjustments
16:19 - Finishing Jumping Code
17:25 - Result and Testing
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...
Background Music : • EDM House Party Mix Progressive House (20 ...
Thanks for watching and see you next time!