Can I make Minecraft in one day without the internet?
So I was bored and decided to bust out the good ol’ unity game engine and see how just hard it would be to create the classic blocky voxel sandbox game. To make it interesting and really test my skills, I wasn’t allowed to access any external resources/tutorials/code.
→ Download for some reason:
→ Download the source:
→ Discord?
→ Twitter:
—–MUSIC——
→ “Funky Monkey” & “Out of Pentatonic Scale” by Antti Luode
→ “Mirrorball” & “Emotional Wilderness” by
→ “Break Out” & “Blam” by DST – nosoapradio.us
I started off with basic terrain generation, using cube gameobjects arranged in a grid, whose heights are varied by a perlin noise function. This, however, led to not great performance, but luckily I knew of a way to significantly optimize things.
This was using terrain chunks – which is what the actual minecraft does as far as I can tell. This meant using voxel data to only build faces of blocks that are facing air blocks. And because the voxel data is 3D, it’s possible to have much more interesting procedural terrain generation, like caves, overhangs, trees, etc.
It’s super fun to play around with the different noise functions and see what type of terrain is generated. I ended up doing some simple stuff which looks pretty good: A base layer of simplex noise at a large scale + another layer at a smaller scale that is multiplied by yet another layer for terrain variety. This is the height map. Then 3D simplex noise cuts pieces out to create cave systems.
Procedurally generating trees and water were both a little tricky. For trees, I used a perlin noise value at each chunk coordinate to determine how many trees would be in each chunk. Then, a random number generator seeded with the chunk’s coordinates was used to build the specific trees. This way, the exact same random numbers are produced each time for a specific chunk, and the same trees are generated.
Water had to form around the terrain, so you don’t have weird stuff like finding water when you did straight down. What I ended up doing was creating a separate mesh for the water. To build it up, just loop through each xz coordinate in the chunk, for each starting at the max y position and move down through the voxel data, checking if land exists. If the water level is reached before the first land block, build a square at the water level.
There’s some boring stuff cut out of the video, like optimization. I did things like add an object pool for reusing terrain chunks and add a timer to load chunks one at a time instead of all at once. The performance is still not great, which is mostly due to all the noise function calculations. This could probably be fixed with multithreading, but there’s no way I could figure that out without internet help.
I finished this project off when an inventory, a skybox, and some graphical improvements. The total elapsed time from start to finish was about 14 hours, and the total time I spent actually working on it was around 11 hours. This was minecraft in 24 hours with #Unity3D.
—- Other Minecraft Programming Challenges —-
→ “Coding Minecraft in One Week – C++/OpenGL Programming Challenge” by Hopson –
→ “Minecraft in Unity 3D [Flashing Images] – One-Week Programming Challenge” by Shane Beck –
→ “Coding Minecraft in ONE DAY (Timelapse) | Unity3D” by TechBox –
hey notch can I get my piece of that minecraft $ ???
Nguồn: https://minhlongltd.com
Xem thêm bài viết khác: https://minhlongltd.com/game/
Xem thêm Bài Viết:
- Cakhia link theo dõi trực tiếp các trận bóng nhanh, mượt
- [Top 5+] Phần mềm quản lý bất động sản “Miễn phí” tốt nhất 2022
- Khám phá những tính năng của game quay slot Plants vs Zombies 789club
- Triệt lông bao nhiêu tiền? Giá triệt lông tại Thẩm mỹ viện Aura
- Que thử rụng trứng là gì? Cách sử dụng và đọc kết quả
Hello everyone! Thanks so much for checking out this video! However, I have something very serious to discuss and I hope you will be understanding. I would like to formally apologize for mixing up which mouse button is used for placing and removing blocks. It was a severe lapse in judgement and an oversight that is, quite frankly, unacceptable.
Haha, jk. But seriously thanks for all the feedback! I'll get on making more videos ASAP!!
Me: Mum can you buy minecraft?
Mum: No.
Me:
I would so play this
somewhy before the water part i got a free robux and it had coffin dance
I wish you worked for Minecraft
i wanna play this
You made that in 1 day damn that's nice im so impressed
Bella
mojang:congrats man u made our game in 24 hours
Sam:thanks!
when no ones looking…
Mojang:points gun at sam's head and says " i will give u $500k to never appear on the internet again…
Exploration lite 2.0
wow this look so good
Beat that mojang the owner of minecraft notch for making a normal texture pack like a shader and make some furnitures more better than mojang
Where can I download it?
Mojang: we need to get this kid to make a free Minecraft
good job
The stone kinda looks like bedrock tbh
Man. Minecraft is hard to make XD
Wow, he made what yandre dev makes in 1 year in 24h. Amazing!
Basically first version of minecraft
O putin gg a toi
Read my name help me pls
this guy can create minecraft in 24 hours.
yandere dev can't even complete one rival–
more items plz
-_-
Everyone: Oh, just look at this this man, he done Minecraft within 24 hours.
Me: this is don't look as Minecraft.
Sam Hogan's Minecraft: lagged 0.3 secs
Me: Oh this is Minecraft)
did trees just have a block or two block of leaves?
Have you ever try to do goat simulator ?
Like for part 2
7:44
Me:wait a minute the tree grows on the stone?
That's INSANE Notch and the Builders worked for like months or days!
Did u absolutely put water then?
I did not watch full.
T E L L
M E
A N D
N O T C H .
Edit: Why are ur body is like Beanos?
Minecraft rip offs we took 1 month to do this game Sam Hogan I took 1 day to make this
Just imagine what he could to in 1 month or a year
This maybe how they made Minecraft!
San Hogan : I made Minecraft in 24 hours.
Mojang : No no it's not possible no we made Minecraft in years he made Minecraft in 24 hours no it's not possible nnnnnoooo!!
"And we've got a squa- oh. And we've got a square"
XD Oh, buddy
Sam hogan- how to make Minecraft in 24 hours. Mojang we better hire this guy
Nice
Good
Minecraft copycats: Hired!
This is called Minecraft 2009 but i am very sure that if he has/have one year, he can make a game super similar to Minecraft Official by Mojang.
How does he know what to type in the thingy!
Like…
HOW!!!
no thats not what minecraft is u can do infinite thing not only
break and place blocks that like minecraft in 2010
me:ahh herobrine is here because theres no leaf in a tree 7:43
people in a comment :dude hes making a minecraft ok
me: :。oh ok
me:ahh herobrine is here because theres no leaf in a tree 7:43
people in a comment :dude hes making a minecraft ok
me: :。oh ok
You should’ve done it on java
Not… not even Stackoverflow…?
Good, now do God of War 5
"Hey Mom"
"Can i Have Some Money"
"Of Course!"
"Thanks mom"
"*BUYS IPHONE*"
confused screaming
This pretteir than rtx
Making this in 24 hours is crazy!
make roblox in 1 day