I made an EVEN BETTER Minecraft
HTML-код
- Опубликовано: 28 фев 2021
- I tried to make Minecraft even better than I did before.
🛒 Recommended books (on Amazon): www.amazon.com/hz/wishlist/ls...
❤️ Support me on Patreon: / simondevyt
🌍 My Gamedev Courses: simondev.teachable.com/
Disclaimer: Commission is earned from qualifying purchases on Amazon links.
Follow me on:
Twitter: / iced_coffee_dev
Instagram: / beer_and_code
Github: github.com/simondevyoutube/
Here I tried to code Minecraft using JavaScript and Three.js, completely from scratch, to try to fix the problems from the previous implementation.
The goal was to try to improve on the previous version, was was mostly a start project to learn JavaScript and three.js.
In the previous implementation, I used instancing to get around draw call limits and complexity around merging geometry, but this time I just bit the bullet and did the actual work. I move from there by integrating chunking in the world, followed by multithreading using Chrome's module workers extension, which dramatically improved performance. I investigated various ways to texture, wrote custom shaders to atlas all the textures together in a simple way using texture arrays. From there I moved on to using perlin noise for a full, infinite procedural world. Standard perlin noise works great for basic rolling hills, but you need to do operations on it like looping for fractal brownian motion in order to get that detail and different environments.
That gives us a procedural world, from there we covered how to procedurally create foliage using signed distance functions and l-systems, which was covered in a previous tutorial. Finally, we went ahead and used layers of perlin noise to create biomes and different areas in the world, as you see in the video.
Source will is available on github, or will be when I clean it up. If it's not there by the time this is posted, look for an announcement from me either on my community posts or twitter for when the source is available.
Various resources:
Music: www.bensound.com
Inigo Quilez's site is THE reference for stuff like SDF's:
www.iquilezles.org/www/articl...
Demo was a horribly modified version of:
www.shadertoy.com/view/lt3BW2
Model from:
sketchfab.com/3d-models/minec...
AO:
0fps.net/2013/07/03/ambient-o...
Patrons can now vote for the next video! Thank you for your support.
I love programmers. Knows how to program an entire Minecraft clone, doesn’t know the name for a pick axe. Lol
why do people that recreate minecraft not use texturepack textures? just find one you like and use that. not everyone is good at textures.
now make it open source
Man, not even the Mojang guys fixed this shadow bug when deleting blocks.
My good sir, you have no idea how much an impact you are having on some people's careers, Including mine.
U are in yt playlist youtube official playlit
Remember kids when Minecraft cost too much money Just make it
Coding looks like an alien language to me
turn on the subtitles XDDDDD
About the 4096 height limit thing. 320 is the default height limit, but the game lets you actually change it in the worlds' config, up to 4064 (according to the wiki, that's the limit. It might be a typo and actually be 4096, idk).
"I'm going to make cubes for the clouds" - ok
Simon, this is amazing! The soft ambient shadows, the trees, the smiling moon landscape, everything! Thanks for sharing this!
8:33
4:48
Wasn't expecting the SDFs and L-System trees. Very awesome!
You're like the Bob Ross of game programming: "...and now we have a little tree thingy." Making it look easy while your voice soothes souls.
Awesome! I started making a minecraft clone in JS a few weeks ago using vanilla webgl 2. Definitely not an easy task. My main challenge was storing the chunks in a way that they can be accessed as quickly as possible and also be saved as in a file that can be loaded again.
Simon, you're basically coding ASMR and that's fantastic.
"This Old Tony", but it's game development, coding, javascript...