Making Minecraft from scratch in 48 hours (NO GAME ENGINE)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 เม.ย. 2020
  • See the code on GitHub: github.com/jdah/minecraft-wee...
    NOTES:
    * The water and lava textures are from the now defunct (?) Painterly Pack, my animation skills weren't up to the challenge.
    * The depth sorting algorithm depicted is mergesort but it's mislabled as quicksort (oops!). I was initially using mergesort but ended up using quicksort in the game itself.
    Subscribe to see more, I'll be updating my Minecraft clone regularly!
    TWITTER: / jdah__
    PATREON: / jdah
    Music used:
    Chill Day - LAKEY INSPIRED: / chill-day
    Lemon Tea - GYVUS: • GYVUS - Lemon Tea [Chi...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 6K

  • @chirpyr6219
    @chirpyr6219 2 ปีที่แล้ว +16440

    “And after about an hour of work I have a blank window” is the most C thing I’ve ever heard

    • @AmazingAmbro1
      @AmazingAmbro1 2 ปีที่แล้ว +346

      But to me, doing the blocks with an infinite generated seed is the very C thing.

    • @JackMott
      @JackMott 2 ปีที่แล้ว +353

      It is pretty hard in most languages, since few "serious" languages include any way to put a pixel on the screen. So either you use a library (not from scratch) or start making OS calls and takes some time. The languages that DO have a way to put pixels on a screen built in, usually it isn't sufficiently powerful to do 3d rendering.

    • @brainloading5543
      @brainloading5543 2 ปีที่แล้ว +40

      @@JackMott do you consider opengl as a library

    • @JackMott
      @JackMott 2 ปีที่แล้ว +138

      @@brainloading5543 Good question! Sure, so is the operating system api, and I suppose by convention when people say "From scratch" they don't usually mean "also the 3d api and operating system"

    • @quickstergamestutorialsgam3899
      @quickstergamestutorialsgam3899 2 ปีที่แล้ว +36

      @@JackMott I could imagine the guy who made this video self coding his own graphics api as well.

  • @breadwithoutbutter1056
    @breadwithoutbutter1056 3 ปีที่แล้ว +4101

    "rome wasn't built in a day" but Minecraft was built in two.

    • @Vvopat96
      @Vvopat96 3 ปีที่แล้ว +60

      notch wasn't really that genius, simple game, good luck and good idea

    • @gorg212
      @gorg212 3 ปีที่แล้ว +3

      Damn that was a nice one lol

    • @LodIstHier
      @LodIstHier 3 ปีที่แล้ว +3

      Roma comparata con un gioco, mi sento offeso.

    • @techteamanimations4251
      @techteamanimations4251 3 ปีที่แล้ว +21

      @@Vvopat96 I mean the game was made in 2009 so ye

    • @prcr364
      @prcr364 3 ปีที่แล้ว +28

      @@Vvopat96 Inspired by infiniminer, he kept updating it with great ideas and it became well known.

  • @jackhawkins7285
    @jackhawkins7285 ปีที่แล้ว +1218

    More examples of why you should be paid on the hours of knowledge it took to learn how to do your job, not the hours spent doing your job. This man coded Minecraft in 12 hours, but to learn to code this way in C would have taken him thousands of hours. Huge respect.

    • @minmike2714
      @minmike2714 ปีที่แล้ว +33

      thats why theres higher positions in jobs

    • @ahall9839
      @ahall9839 ปีที่แล้ว +30

      Not only is this the most shallow, surface level take, but it's also how the world works anyway. Maybe you've heard about things like colleges, universities, apprenticeships, you know, things that help you learn a skill to get paid more?

    • @jackhawkins7285
      @jackhawkins7285 ปีที่แล้ว +28

      @@ahall9839 so if you asked me to make a game for you and I did it in 10 hours you would pay the same as you would i if it took me a year? If your answer is yes than you're the minority as many people would disagree. Maybe do research into areas such a freelance before making a stupid comment.

    • @ahall9839
      @ahall9839 ปีที่แล้ว +41

      @@jackhawkins7285 What? Are you 5? If you made a game that was worth anything in 10 hours you could sell it yourself. Wtf is this juvenile mindset? People are payed for what they produce. It just so happens that having skills means you produce more/better in less time. If no one wants your product, it doesn't matter how long you spent on it.

    • @jackhawkins7285
      @jackhawkins7285 ปีที่แล้ว +7

      @@ahall9839 when you grow up and learn how the world work get back to me. do your research before acting like you know what you talking about

  • @melc311
    @melc311 ปีที่แล้ว +2717

    This kinda highlights how good of a programmer Notch actually was when the made Minecraft in Java.

    • @angy1717
      @angy1717 ปีที่แล้ว +41

      @@xxgamerhdxx898 he legit said that? can u read

    • @TrevoltIV
      @TrevoltIV ปีที่แล้ว

      @@xxgamerhdxx898 You illiterate?

    • @Logan_Neasbitt
      @Logan_Neasbitt ปีที่แล้ว +26

      @@angy1717 bro is actually silly

    • @axel0w
      @axel0w ปีที่แล้ว

      @@xxgamerhdxx898 r u dumb?

    • @kotovich24
      @kotovich24 ปีที่แล้ว +16

      Notch used the Infiniminer source code

  • @Smiley4883
    @Smiley4883 3 ปีที่แล้ว +28584

    This guy is the reason coding interviews are so hard

    • @AceDeclan
      @AceDeclan 3 ปีที่แล้ว +119

      What

    • @Sol4rOnYt
      @Sol4rOnYt 3 ปีที่แล้ว +502

      @@AceDeclan yes

    • @nerfzinet
      @nerfzinet 3 ปีที่แล้ว +239

      Maybe you're just bad at it.

    • @anuragparcha4483
      @anuragparcha4483 3 ปีที่แล้ว +1157

      nah, coding interviews are hard because I get anxious as fuck and forget literally everything.

    • @Kevin-rk4qu
      @Kevin-rk4qu 3 ปีที่แล้ว +771

      I read about how so many "prodigy" type kids who are good at programming are the ones left at companies. They don't have any real life experience, yet they're left in charge of interviewing, expecting the interviewees to meet up to their standards which are almost always too high

  • @china0018
    @china0018 2 ปีที่แล้ว +11252

    "Mom can I buy minecraft?"
    "No"
    "Fine. I'll do it myself."

    • @boci8829
      @boci8829 2 ปีที่แล้ว +46

      🤣

    • @yeozdemir75
      @yeozdemir75 2 ปีที่แล้ว +61

      you copied my damn comment.

    • @hauntahex
      @hauntahex 2 ปีที่แล้ว +59

      @@yeozdemir75 no one gives a shit

    • @liability3960
      @liability3960 2 ปีที่แล้ว +23

      just pirate it tho

    • @gone4701
      @gone4701 2 ปีที่แล้ว +20

      YigitTheGeek made this comment 11 months ago. Could be a coincidence though.

  • @chonkydabear4924
    @chonkydabear4924 ปีที่แล้ว +457

    If this man can make minecraft in 48 hours then theres no reason mojang can't add firefiles

    • @KaMeR1337
      @KaMeR1337 9 หลายเดือนก่อน +14

      that is just some basic minecraft without any features and probably lots of bugs and no multiplayer, still need lots of hours of work lol

    • @slokxoxo
      @slokxoxo 8 หลายเดือนก่อน +69

      @@KaMeR1337You really underestimate Mojang. Theres 600 developers there. They are able to make fireflies

    • @floobix1
      @floobix1 8 หลายเดือนก่อน +26

      @@slokxoxoim convinced mojang employees sit on all the money theyve amassed and just go out and do shit together, and actually work like once a month

    • @likefakk3524
      @likefakk3524 7 หลายเดือนก่อน +11

      ​@@KaMeR1337adding something to a game is easier than making something from scratch. That's why modding is popular

    • @awesomeredpandax2267
      @awesomeredpandax2267 6 หลายเดือนก่อน +4

      ⁠@@slokxoxoI imagine you have no coding experience let alone know how to coordinate 600 developers

  • @BEN-ys6gu
    @BEN-ys6gu 2 ปีที่แล้ว +133

    As someone who programmed in C and also tried to make a 3D engine, I think this man has superpowers. I don't understand how it's possible to write so much C code on such hard topics this easily, I feel like this should be illegal.

    • @vinudaliyanage3069
      @vinudaliyanage3069 ปีที่แล้ว +29

      I can't believe that he wrote so much code in C in just 48 hours with no big errors or memory leaks / segfaults.

    • @Taletad
      @Taletad 18 วันที่ผ่านมา

      My guess is that he tried multiple times and just recorded the last one

  • @alekbase795
    @alekbase795 3 ปีที่แล้ว +6679

    Seeing just how much code it took just to get a green square blew my mind.

    • @jesusmods1
      @jesusmods1 3 ปีที่แล้ว +246

      Learning opengl in a nutshell

    • @chrispanov3026
      @chrispanov3026 3 ปีที่แล้ว +279

      Don't worry. Making the rectangle is the hardest part. In terms of pure opengl code, there is not very much different concepts you will be using. From there on, it's mostly just abstractions.

    • @vasileandreicalin3143
      @vasileandreicalin3143 3 ปีที่แล้ว +19

      @@ahmadayazamin3313 you need about 1100 f

    • @ABusFullaJewz
      @ABusFullaJewz 3 ปีที่แล้ว +65

      OpenGL is absurdly verbose. That's not to say 3D rendering doesn't require a shit ton of code (it does), but OpenGL definitely at least doubles the number of lines for all the graphics rendering

    • @16manolom.navarrete58
      @16manolom.navarrete58 3 ปีที่แล้ว +77

      Now think about the people wanting a Minecraft update

  • @Omnicide101
    @Omnicide101 3 ปีที่แล้ว +2023

    "Every other guy on youtube used some kind of cheat like pre-existing useful things, so I destroyed spacetime and created a brand new reality"

    • @Ludifant
      @Ludifant 3 ปีที่แล้ว +19

      And imported a bunch of stuff from our reality and bwammm.. 1.5 billion years later...

    • @t3to_i554
      @t3to_i554 3 ปีที่แล้ว +2

      jup he took there honour in slapped it to the bare ground XD

    • @robertstrickland9722
      @robertstrickland9722 3 ปีที่แล้ว +15

      He accuses people of being cheaters then literally says, "Thankfully I have a library called GLFW, that does all the heavy lifting for me"... completely negates what he is accusing people of lol

    • @danallan8526
      @danallan8526 2 ปีที่แล้ว +18

      @@robertstrickland9722 It seems to me that he didn't set out with an absolute goal like doing it without using the work of others at all. More like he just went a level deeper than the others. I mean otherwise you would have to not use any C libraries not made by yourself which would make this take far longer (if possible at all). Then you could complain that he's even using C in the first place, which is higher-level than x86 (or whatever his architecture is) assembly. Then you could say that all the instructions in assembly are machine opcodes and you're using work done by the developers of assembly for your architecture. All right then, "making Minecraft in machine language". But wait, you will also invariably be making system calls made by the developers of your operating system and thus you have to write your own. What about the kernel? Even if you write your own kernel, you're still using a CPU (as well as peripherals) with an architecture made by others. So in the end, if you don't want to use the work of others at all, you will have to make your own CPU, with its own architecture, from scratch, mining the materials for the transistors out of the dirt with no tools. In other words, you would have to play IRL Minecraft.
      I'm evidently not one to speak loudly about how seriously other people need to be taken but I think "not using shortcuts" was more of a tongue-in-cheek statement.

    • @SimonVaIe
      @SimonVaIe 2 ปีที่แล้ว

      @@danallan8526 or, you know, just use the os API and an IDE.

  • @4g0ttn45
    @4g0ttn45 ปีที่แล้ว +54

    8:40 "the chunks are rendered in the wrong order so i have to .." for me as an absolute programming beginner in my first semester in informatics the way of thinking and actually realizing what the problem is amazes me so much. great video !!

  • @vinudaliyanage3069
    @vinudaliyanage3069 ปีที่แล้ว +33

    You know it's insane when he said, "I decided to write my Minecraft clone in C".

  • @dailyasbaily6798
    @dailyasbaily6798 3 ปีที่แล้ว +7632

    Kid: mom can you buy me minecraft?
    Mom: NO
    Kid: *Builds his own minecraft

    • @supervisor360
      @supervisor360 3 ปีที่แล้ว +72

      You mean
      Karen: NO

    • @drawingmaster8187
      @drawingmaster8187 3 ปีที่แล้ว +40

      Mom: :0

    • @Junior-ul6ic
      @Junior-ul6ic 3 ปีที่แล้ว +126

      @@supervisor360 or maybe they just don’t have the money man :(

    • @astralviperyt2985
      @astralviperyt2985 3 ปีที่แล้ว +22

      And then she blows up his pc XD

    • @shadowplayz8896
      @shadowplayz8896 3 ปีที่แล้ว +43

      Me : MOM BUY ME MINECRAFT OR ELSE
      Mom : NONONONONONONO!!!!!
      Kid : *He hacked minecraft and made it free*
      10 months later
      Mom : how did you have minecraft?!
      Kid : I hacked minecraft
      lol

  • @bezlon7332
    @bezlon7332 2 ปีที่แล้ว +5499

    non programmers can’t even start to comprehend how hard this is and how much pure talent and skill you need to do this. respect.

    • @itsjosh1509
      @itsjosh1509 2 ปีที่แล้ว +56

      you know ive tried to do programming until i realized how hard it is but i dont know that this is hella hard to do

    • @lx4302
      @lx4302 2 ปีที่แล้ว +270

      its not about talent or how hard it is, no such thing as natural ability. you only need lots of experience and knowledge to make something great like this.

    • @valentinpopescu98
      @valentinpopescu98 2 ปีที่แล้ว +141

      Talent, no. Hardwork, yeah

    • @DNAnielsama
      @DNAnielsama 2 ปีที่แล้ว +36

      I'm a programmer and I can only speculate how hard this is 😂😂

    • @sis4212
      @sis4212 2 ปีที่แล้ว +23

      @@lx4302 Only someone with natural ability says this, its cute

  • @ctrl_benny
    @ctrl_benny ปีที่แล้ว +65

    I would like to see you continue onto this. It would be cool to see how much farther you could get with another 48 hours. I would definitly watch it.

  • @lunarleaf
    @lunarleaf ปีที่แล้ว +116

    as a c# programmer my brain cant even comprehend how difficult this is, i cant even use C++ to make games let alone doing it in plain ol' C and openGL, huge props to u

    • @Bluentomion
      @Bluentomion ปีที่แล้ว +6

      same(i do c# in unity ,lua and some python) ,i hope i could reach this when i grow up

    • @azir8930
      @azir8930 9 หลายเดือนก่อน

      I program in C# but now I am going through CS50 course. I can tell that C is not that bad. I would even say it is fun to learn because it feels like you are coding everything by yourself, and additionaly can better understand computer memory and low level set of things. I recommend to give it a try.

    • @Anonymous-fr2op
      @Anonymous-fr2op หลายเดือนก่อน

      ​@@azir8930coding in C is good and all. But the reason it seems so is cuz you only see others code. When you do it yourself, you would realize what pain in the ass it actually is. You have to be very cautious, one tiny carelessness could take away your sleep

  • @galanonim4936
    @galanonim4936 3 ปีที่แล้ว +4663

    I bet that someone is watching this and thinking:
    „ C is too easy, im going to write it in pure Assembly ''

    • @filiphron3147
      @filiphron3147 3 ปีที่แล้ว +104

      No but yes.

    • @TheTiredFox07
      @TheTiredFox07 3 ปีที่แล้ว +731

      Assembly is too easy, I'm going to write it in pure Binary.

    • @linkdx7079
      @linkdx7079 3 ปีที่แล้ว +468

      Binary too easy, I'm going to write in a paper

    • @ultrabass838
      @ultrabass838 3 ปีที่แล้ว +288

      @@linkdx7079 Paper is too easy, I’ll do it in O2

    • @zux128
      @zux128 3 ปีที่แล้ว +326

      @@theemperor9056 Void is too easy, I'll write it in

  • @jnoded
    @jnoded 3 ปีที่แล้ว +1883

    You know that shit gonna go serious when he says "shortcuts like languages with classes"

    • @ddd21465
      @ddd21465 3 ปีที่แล้ว +98

      Next step is to do it in assembly or binary :)

    • @franciscofarias6385
      @franciscofarias6385 3 ปีที่แล้ว +13

      Which isn't a big deal, if your code is supposed to be used during 2 days only

    • @13thk
      @13thk 3 ปีที่แล้ว +8

      @@ddd21465 After that on paper, then in O2, then in void, and then in

    • @xenizs9112
      @xenizs9112 3 ปีที่แล้ว +21

      Classes, OOP and so are just a programming language feature, an actual shortcut could be considered as a game engine, and frameworks, libraries etc.

    • @jnoded
      @jnoded 3 ปีที่แล้ว +34

      @@xenizs9112 I mean, classes seems to me as basic thing as variables now. So it sounds crazy to make game without classes and OOP

  • @sorprenant9106
    @sorprenant9106 ปีที่แล้ว +46

    Im in my first year of university as CS major, and I'm learning C/C++. This video blows my mind. Super impressive.

    • @DOGMA20051
      @DOGMA20051 หลายเดือนก่อน

      I tried to learn c++ a little while ago and man that was complicated i couldnt even get past setting it up idk how people do it

    • @rusi6219
      @rusi6219 28 วันที่ผ่านมา

      ​@@DOGMA20051learn C instead it's a billion times better

  • @thenewsonatrain
    @thenewsonatrain ปีที่แล้ว +4

    bro this is INCREDIBLE! even mojang took shortcuts and still took years to make the game we know and love; you made it in 48hrs!

  • @leonardodias1037
    @leonardodias1037 3 ปีที่แล้ว +4989

    being a programmer for 4 years, professionally, i feel like a failure after watching this
    damn

    • @lucasburford7881
      @lucasburford7881 3 ปีที่แล้ว +336

      The Imposter Syndrome is real :')

    • @thedoublehelix5661
      @thedoublehelix5661 3 ปีที่แล้ว +161

      Just take some time to learn c and open gl. Honestly shouldn't take more than 6 months to make something like this.

    • @UndregoGrey
      @UndregoGrey 3 ปีที่แล้ว +71

      I tend to think the same thing sometimes. But any skill can be learnt. Never Give UP. you have 16 Years to go to becoming a Master Coder

    • @Kevin-rk4qu
      @Kevin-rk4qu 3 ปีที่แล้ว +194

      I mean all you have to do is put in your 12 hours at your job, and then go home and spend about 8 hours every day to learn C as well as gone your maths for another 4 hours every day, and you should be fine... Wait that'd kill you

    • @Kevin-rk4qu
      @Kevin-rk4qu 3 ปีที่แล้ว +42

      @@UndregoGrey what happens in 16 years?

  • @plantarise8284
    @plantarise8284 2 ปีที่แล้ว +6264

    I can smell the countless hours of work he invested throughout his life to achieve something like this in 12 hours. Really inspiring

    • @keanestewart4837
      @keanestewart4837 2 ปีที่แล้ว +11

      how does one putted ?

    • @samuelwolfe8269
      @samuelwolfe8269 2 ปีที่แล้ว +21

      @@keanestewart4837 was wondering this myself

    • @alexander53
      @alexander53 2 ปีที่แล้ว +29

      @@ebush he said 12 hours in the video

    • @rue6407
      @rue6407 2 ปีที่แล้ว +6

      @@JohanSimonsson ok?

    • @an77h
      @an77h 2 ปีที่แล้ว +5

      @@JohanSimonsson 💀💀 o...ok

  • @rvdev3800
    @rvdev3800 ปีที่แล้ว +16

    I have been programming for years, but every time I see such videos I am always amazed, congratulations!

  • @anikinskywalker7127
    @anikinskywalker7127 2 ปีที่แล้ว +34

    I started coding about 2 years ago, and I aspire to a programmer as great as you. This was really amazing!

  • @midgetsow
    @midgetsow 2 ปีที่แล้ว +6022

    Dear my fellow depressed coders/game developers, the takeaway here is that despite how clearly skilled and experienced he is, he still encountered several issues and learned a lot while doing this project. So don't feel discouraged if you encounter setbacks, and always be ready to learn.
    *Heavy sigh*

    • @joeman123964
      @joeman123964 2 ปีที่แล้ว +189

      agreed...i spent like 2 hours making an inventory system on unity, then realized i need to completely restart since there was no way to determine if the item is stackable or how to equip certain items. 😆 definitely gonna make it work tomorrow

    • @plebisMaximus
      @plebisMaximus 2 ปีที่แล้ว +53

      @@joeman123964 Did you get it to work?

    • @joeman123964
      @joeman123964 2 ปีที่แล้ว +125

      @@plebisMaximus yeah it works great!

    • @plebisMaximus
      @plebisMaximus 2 ปีที่แล้ว +67

      @@joeman123964 Congrats on that, mate!

    • @egg-iu3fe
      @egg-iu3fe 2 ปีที่แล้ว +91

      I just started coding this year and I was watching this video like wtf does any of this mean. It looks like an alien language to me.

  • @safdaboss8645
    @safdaboss8645 3 ปีที่แล้ว +1414

    My man is insane. First, he makes google developers look silly, next, he put copper into his version, and copper was announced to be in minecraft AFTER this video

    • @linuxsbc
      @linuxsbc 3 ปีที่แล้ว +48

      And he tried to make mountain biomes.

    • @arnox4554
      @arnox4554 3 ปีที่แล้ว +45

      It's not hard at all to add an ore into MC. What is hard though is deciding how that ore should be valuable and if it should even be in the game in the first place.

    • @Prince_-vu4wu
      @Prince_-vu4wu 3 ปีที่แล้ว +8

      @@arnox4554 while that might be true loads of mods have added copper ore and placed it well enough around iron tier but gives you more options within the mod along with people wanting more ores in the games and more blocks, Minecraft does need constantly a new influx of new blocks and ores to keep the game fresh

    • @arnox4554
      @arnox4554 3 ปีที่แล้ว +25

      @@Prince_-vu4wu Yeah but it's very different when you're working on the actual main game itself where your changes will not just be permanently incorporated into all MC games (without mods of course), but also will be incorporated in all future versions of the game.

    • @Prince_-vu4wu
      @Prince_-vu4wu 3 ปีที่แล้ว +1

      @@arnox4554 true but it's something the community has wanted for a while plus it's adding new varients of blocks which can bring a lot of new fun things and i know a lot of people are really hyped for it being added only thing i'm not happy for is wanting to cry while in caves more from getting jump scared

  • @DrihunGaming
    @DrihunGaming 9 หลายเดือนก่อน +6

    Amazing video, I could however not finish it due to the flashing white that comes from the screen while it zooms by. What little I could see was amazing and you seem like a very competent programmer and it was a nice insight into what more advanced coding looks like. Thanks!

  • @Nebulimity
    @Nebulimity 2 ปีที่แล้ว +8

    I love watching the randomly generated terrain come out of the fog seamlessly.

  • @Dezomm
    @Dezomm 3 ปีที่แล้ว +1789

    I'm currently working on a master's degree in computer science and I highly doubt I could do something like this at my current level AT ALL, let alone in 48 hours. Well done mate

    • @Akalos1
      @Akalos1 3 ปีที่แล้ว +210

      That's because school does next to nothing for you. The only way to become proficient is to actually code. Masters degrees in particular are a huge waste of time; there is no comparison in terms of skill level when comparing someone who was coding for 5 years versus someone who was going to school to learn to code for five years. The one thing I've seen college grads have an advantage on is *sometimes* understanding 3 dimensional calculus and more often a better understanding of data structures and when to use them (although that usually becomes "when to use hashmap").
      The big takeaway is you don't actually go to school to learn to code: you go to school to learn to college/university. You learn theory and become a "computer scientist" instead of a software engineer. The amount of code people who have wasted their time at school have actually put out is next to nothing.
      A highschooler can be taught to code at a professional level, especially if he's being mentored by the previous generation of engineers; college will get you fired and keep you away from high paying jobs if you treat it as anything other than a ticket past the hr firewall.

    • @eeeesyywuwiz2836
      @eeeesyywuwiz2836 3 ปีที่แล้ว +48

      @@Akalos1 Well it could be useful for your resume

    • @DigitalViscosity
      @DigitalViscosity 3 ปีที่แล้ว +92

      I remember when I went to school for computer science. I had more skill than anyone there because I live and breathe code since 1990. People going to school for it limit their exposure to programming to only classroom learning. However, programming requires a lot more than that, it requires one to learn how to use the tools given to solve a grand problem. One of the issues I see is schools focus too much on OOP design that takes the user out of problem solving and more on how to think abstractly or design patterns(ie. the terrible software engineering class). I remember all my projects were so well written and unique that my professors didn't believe or trust my abilities at first, until my senior capstone project that they saw me design and implement over the course of the semester. To get to this level is going to take more than just what you do in school or at work try working on projects that will build your skill overtime.

    • @gabriela.ts_
      @gabriela.ts_ 3 ปีที่แล้ว +2

      @@Akalos1 that's exactly what I think

    • @jayit6851
      @jayit6851 3 ปีที่แล้ว +18

      @@eeeesyywuwiz2836 I mean depends on the job. When it comes down to a regular programming job they could give a rats ass if you have a master's if you can't code. If he's going into computer science research then yes it would be very helpful

  • @cosmic4297
    @cosmic4297 3 ปีที่แล้ว +1612

    Him: this wasn’t to hard
    Me: tf I struggle to use unity

    • @pepsi_or_orange_juice
      @pepsi_or_orange_juice 3 ปีที่แล้ว +7

      LOL

    • @appleyt6757
      @appleyt6757 3 ปีที่แล้ว +6

      Sameeeeee

    • @getsomehelp6261
      @getsomehelp6261 3 ปีที่แล้ว +6

      me who doesn't have unity: guess ill die

    • @danioc8078
      @danioc8078 3 ปีที่แล้ว +3

      same, none of the mouselook tutorials i find work.

    • @ABusFullaJewz
      @ABusFullaJewz 3 ปีที่แล้ว +30

      Me getting compilation errors on line 84 of my 13 line program

  • @halcsad691
    @halcsad691 11 หลายเดือนก่อน +7

    I've been learning to code for a year, but I feel like I can't code at all after watching this. BIG RESPECT!

  • @user-yh4pj9pm7u
    @user-yh4pj9pm7u ปีที่แล้ว +1

    Besides writing the Minecraft clone, the flashing timelapse of dark IDE and bright window is a perfect epilepsie speedrun, well done mate 😂

  • @PastorSkeptic
    @PastorSkeptic 2 ปีที่แล้ว +1624

    "There's always somebody who's better than you."

    • @InfinityBS
      @InfinityBS 2 ปีที่แล้ว +25

      So there’s someone better than this guy?

    • @Monsizr
      @Monsizr 2 ปีที่แล้ว +28

      @@InfinityBS yes

    • @Anto-xh5vn
      @Anto-xh5vn 2 ปีที่แล้ว +3

      @@Monsizr name

    • @Monsizr
      @Monsizr 2 ปีที่แล้ว +3

      @@Anto-xh5vn idk

    • @spookyleo2589
      @spookyleo2589 2 ปีที่แล้ว +14

      @@Monsizr he is the one on top of the piramid

  • @alexanderwaight699
    @alexanderwaight699 3 ปีที่แล้ว +745

    “And of course, the next thing to do...”
    Me (not a programmer): Of course!

  • @seanupton709
    @seanupton709 ปีที่แล้ว +13

    As someone who has been coding for about 6 weeks and just wants an intermediate level of skill at Python, this is very encouraging. If you can be this ridiculously skilled then surely I can obtain my considerably easier goal lol! Thanks :)

  • @sippingtexastea
    @sippingtexastea ปีที่แล้ว +32

    all the non programmers cant even comprehend how hard doing something like this is, especially from scratch the way that was done in this video, immense respect to this guy

  • @kenneth6965
    @kenneth6965 2 ปีที่แล้ว +1062

    As a Software Engineer student, I am intimidated. This guy is an absolute coding monster with all that knowledge.

    • @jeffreyd2564
      @jeffreyd2564 ปีที่แล้ว +32

      Hey I am also a software engineer focus majoring in computer science, I know this comment was a year ago but hope your doing well!!!

    • @teaser6089
      @teaser6089 10 หลายเดือนก่อน +14

      Me too, really interested to try this out in a more comfortable language like C#, but god damn that math is dounting and I am usually not scared of math, but damn Vector math is annoying af haha

    • @ahahahhehg-zk6kt
      @ahahahhehg-zk6kt 9 หลายเดือนก่อน +4

      Fr, all of this just feels overwhelming right now

    • @ThundersLeague
      @ThundersLeague 9 หลายเดือนก่อน +31

      As a software engineer with 10 years of experience, some of it spent leading teams... I am intimidated.

    • @jayocaine2946
      @jayocaine2946 8 หลายเดือนก่อน +4

      Do NOT do this with a garbage collected , JIT language.
      I mean notch did. But he's different

  • @adrian8443
    @adrian8443 2 ปีที่แล้ว +1997

    and he didn't open stack overflow once

    • @Specifix5
      @Specifix5 2 ปีที่แล้ว +177

      he’s God tier already.

    • @YeetDisDude
      @YeetDisDude 2 ปีที่แล้ว +126

      Plot twist: he opened stack overflow on his phone or something

    • @InfinityBS
      @InfinityBS 2 ปีที่แล้ว +2

      @@retro9293 what kind of language requires you o search that up?

    • @retro9293
      @retro9293 2 ปีที่แล้ว +25

      @@InfinityBS come on man! it was a joke lol

    • @InfinityBS
      @InfinityBS 2 ปีที่แล้ว

      @@retro9293 oh ok

  • @TK75_
    @TK75_ ปีที่แล้ว +2

    You’ve earned the respect of every viewer… the pure work shown is beautiful

  • @wd89601
    @wd89601 7 หลายเดือนก่อน

    Insane amounts of talent bro !

  • @WinterNox
    @WinterNox 2 ปีที่แล้ว +1888

    After 3 years: "I'm gonna write this using binary numbers for better fps"

    • @alexanderoguzie-ibeh2053
      @alexanderoguzie-ibeh2053 2 ปีที่แล้ว +2

      😹😹😹😹😹😹😹😹😹😹😹😹

    • @mathiasensimon
      @mathiasensimon 2 ปีที่แล้ว +62

      If we talk theoretically it would technically be worse to write it manually cause you don't know all of the shortcuts and compression a compiler does. So it would work worse

    • @WinterNox
      @WinterNox 2 ปีที่แล้ว +33

      @@mathiasensimon He does know (I was joking, that he is now so genius that he can code in binary, so he does know all these things and it would work fine)

    • @RobotronSage
      @RobotronSage 2 ปีที่แล้ว +18

      Honestly, if most game developers actually optimised their code things would be a lot better

    • @Subject97
      @Subject97 2 ปีที่แล้ว +17

      @@RobotronSage as someone with a potato pc I completely agree with that. The problem is that most of the time when you optimize something you get 1 fps more. For example, Minecraft java edition is slow af, but it's actually well optimized, Minecraft bedrock edition is faster because C++ is faster than java

  • @PocketQuadsOnly
    @PocketQuadsOnly 4 ปีที่แล้ว +1566

    That you managed to do that without a game engine within 2 days blows my mind.
    Awesome video.

    • @KRYMauL
      @KRYMauL 3 ปีที่แล้ว +51

      Make it without a game engine isn’t that hard he did it without object oriented and with a custom compiler

    • @KRYMauL
      @KRYMauL 3 ปีที่แล้ว +11

      Epic man go to src the main.c is right there. If anything you’re a fucktard for not knowing how to use git clone

    • @pendergastj
      @pendergastj 3 ปีที่แล้ว +46

      @@KRYMauL Implying Object Oriented Programming improves productivity.

    • @KRYMauL
      @KRYMauL 3 ปีที่แล้ว +17

      @@pendergastj Actually class based programming improves productivity because it allows you to have inheritance.

    • @pendergastj
      @pendergastj 3 ปีที่แล้ว +37

      ​@@KRYMauL Great then you have to keep up with an ever growing mountain of virtual functions and your code begins to slow down as the vtables takes up your cache which makes your program slow.

  • @samjustin8495
    @samjustin8495 8 หลายเดือนก่อน +2

    That’s so impressive that you coded Minecraft

  • @itskoder
    @itskoder ปีที่แล้ว +2

    Wow this is really impressive and i really liked how you broke it down and made it easy for someone like me who doesn't code to understand.

  • @guard13007
    @guard13007 3 ปีที่แล้ว +1540

    I love this, and I especially love how you start with "I don't need all that helpful stuff." followed by immediately including libraries. :P

    • @noop9k
      @noop9k 3 ปีที่แล้ว +360

      “These people are using game engines, I’ll do it from scratch”
      * imports graphics library
      * imports 3D math library

    • @Ludifant
      @Ludifant 3 ปีที่แล้ว +154

      Doing it from scratch would mean creating your own chips, since these days you get floating points baked into the chip. Do it on a c-64 in machine language, no assembly, just numbers that you poke into memory like we did in the old days and you will impress me :)

    • @Maric18
      @Maric18 3 ปีที่แล้ว +91

      there is a difference in impressiveness between buying your own car and customizing it and then driving it places
      and ordering parts and building the car yourself first before driving it places
      "well he said he isn't gonna use a pre built car, but immediately ordered parts, lol"

    • @noop9k
      @noop9k 3 ปีที่แล้ว +50

      @@Maric18 My point was that, say, Unity doesn’t actually help much with creating a Minecraft-like game either and you still need to write most of the code he did.
      Using C equals showing off. You are writing the same but way more verbose code than what you would write in C++ or C#. You would still generate and sort meshes, write shaders and load textures, but with less time spent on plumbing.
      If you bothered enough to code mesh generators in C, could just a as well write your own vector lib with SSE assembly. Kinda pointless, but about as pointless as using C for personal gamedev when C++ exists. Not necessarily “modern C++”, most of which is cancer.

    • @jonswe5753
      @jonswe5753 3 ปีที่แล้ว +83

      ”I don't need all that helpful stuff”
      *Procedes to use a programming language
      Like just write it in binary, ones and zeroes, language is a shortcut

  • @jgabt
    @jgabt 2 ปีที่แล้ว +2154

    this dude can create a game without a game engine in 48 hours while i can't even complete one homework in a week LMAO

    • @johnandrevalencia7170
      @johnandrevalencia7170 2 ปีที่แล้ว +62

      in other words
      you're lazy?

    • @wattleproductions8026
      @wattleproductions8026 2 ปีที่แล้ว +17

      Not something to be proud of…

    • @jgabt
      @jgabt 2 ปีที่แล้ว +91

      @@johnandrevalencia7170 yes.

    • @wolfbreaker4401
      @wolfbreaker4401 2 ปีที่แล้ว +171

      @@wattleproductions8026 he never said he was proud of it?

    • @minecraftherobrine1234
      @minecraftherobrine1234 2 ปีที่แล้ว +13

      @@wolfbreaker4401 Suppose that he is a good person. He is lazy. This implies that he is proud of being lazy. Because if he wasn't proud of it, he would have to be ashamed of himself. If he is ashamed of himself, and do nothing to stop procrastinate, then he is not a good person. We have a contradiction. Therefore, if he is a good person, he is proud of himself.
      Suppose that he is a bad person. Bad person are proud of their bad qualities, because they are bad by definition. But laziness is a bad quality. Therefore he is prouf of being lazy.
      In all the cases, he is proud of himself.
      Maybe he never said that he was lazy, but it is so evident that you don't have to see it written to notice it.
      Stop pretending to be smart and shut up.

  • @Stennishh
    @Stennishh 8 หลายเดือนก่อน +2

    9:48 bro is spitting straight BARS!!

  • @jghormley69
    @jghormley69 6 หลายเดือนก่อน +1

    Thank you for the breakdown. I always wanted to create a clone of my own for Minecraft. These concepts that you brought up are very useful on my journey.

    • @kira7641
      @kira7641 6 หลายเดือนก่อน +1

      Same, really helps me clone assasains creed when i see videos like this!

  • @Glomly
    @Glomly 2 ปีที่แล้ว +1604

    I spent a whole week 12 hours a day learning opengl , glfw, c++ to render one simple textured cube and understand the basics of render pipeline. This guy made a whole game in 48 hours. That makes me feel the most slow-brained person in the world lol

    • @mysingingmonstersfan1023
      @mysingingmonstersfan1023 2 ปีที่แล้ว +48

      im still using scratch and gmm2 dnd so

    • @mysingingmonstersfan1023
      @mysingingmonstersfan1023 2 ปีที่แล้ว +27

      its been 4 years

    • @OrangeDied
      @OrangeDied 2 ปีที่แล้ว +142

      he probably already knew all of that, that's still pretty impressive considering all you learned!

    • @nikkiofthevalley
      @nikkiofthevalley 2 ปีที่แล้ว +17

      A week to learn C++? How!? (OpenGL/GLFW is simple enough after you learn C++, so I'm not counting that)

    • @ahmedifhaam7266
      @ahmedifhaam7266 2 ปีที่แล้ว +46

      @@nikkiofthevalley i think he meant, learning extra C++ stuff related to the library, not the fundamentals of the language

  • @MrOgone4ek
    @MrOgone4ek 2 ปีที่แล้ว +2867

    this is the best minecraft clone of those that i have ever seen

    • @raiseddd
      @raiseddd 2 ปีที่แล้ว +14

      A

    • @Sufiley
      @Sufiley 2 ปีที่แล้ว +14

      Q

    • @raiseddd
      @raiseddd 2 ปีที่แล้ว +14

      U

    • @ThatAntGuy
      @ThatAntGuy 2 ปีที่แล้ว +14

      A

    • @Maketoru
      @Maketoru 2 ปีที่แล้ว +23

      Most useless goddess

  • @ahmedfouedhasni6734
    @ahmedfouedhasni6734 ปีที่แล้ว

    man u are so awsome !!! i hope you make one day a c tutorial for game dev i found out about your channel today, and it is going to be my favorite from now on keep up the good work !

  • @BasPower12
    @BasPower12 7 หลายเดือนก่อน

    You are a great pixel artist!

  • @Nicolas-qe1ef
    @Nicolas-qe1ef 3 ปีที่แล้ว +225

    When he mentioned "things like classes" I realized this video was special

  • @mokongthe3856
    @mokongthe3856 2 ปีที่แล้ว +529

    8:13 You know he's going at the right direction, when he get the exact graphic-glitch from Minecraft time to time.

  • @zapptuff5186
    @zapptuff5186 ปีที่แล้ว +2

    This is awe inspiring and aspirational and yet also makes me feel like a damn fool for how much I struggle with C++

  • @Justin-zg6ft
    @Justin-zg6ft ปีที่แล้ว +3

    I've started to get into programming. I've been following along on yt videos coding stuff like a calculator and what not to learn how code works...after seeing this I understand I have years of learning ahead of me

  • @givrally7634
    @givrally7634 3 ปีที่แล้ว +289

    9:34 Jdh : "I decided on a proper sorting algorithm (quicksort)"
    *Video : shows Mergesort*

    • @tudorgorea8824
      @tudorgorea8824 3 ปีที่แล้ว +5

      I saw that too

    • @jdh
      @jdh  3 ปีที่แล้ว +75

      It's noted in the description :)

    • @Kevin-rk4qu
      @Kevin-rk4qu 3 ปีที่แล้ว +1

      Yup

    • @givrally7634
      @givrally7634 3 ปีที่แล้ว +6

      @@jdh Ah, I hadn't noticed. Thanks for pointing that out !

    • @inflatablebananapig1
      @inflatablebananapig1 2 ปีที่แล้ว +2

      I literally searched "sort" to see if this was already in the comments lol, didn't wanna post it twice

  • @hatemsaadallah8532
    @hatemsaadallah8532 4 ปีที่แล้ว +1500

    This video is legendary. I've seen a lot, but this. is. BRILLIANT!

    • @clutch4dadub
      @clutch4dadub 3 ปีที่แล้ว

      No he copied MEEEEE!!!!!??????

    • @bouchaibtourabi7239
      @bouchaibtourabi7239 3 ปีที่แล้ว +6

      @@clutch4dadub no

    • @GhostSlayerYT
      @GhostSlayerYT 3 ปีที่แล้ว +4

      Ok?

    • @Safalmao
      @Safalmao 3 ปีที่แล้ว +1

      @@clutch4dadub what?

    • @skeetplayz
      @skeetplayz 3 ปีที่แล้ว +1

      Minecraft is Bad
      ︎︎
      ︎︎ⓘ Wrong Informations detected

  • @Klickyyy
    @Klickyyy ปีที่แล้ว +2

    Dude this is literally talent! I don't even know how to program, but I can tell that this takes skill. Good job!

  • @xXxSuppaKidxXx
    @xXxSuppaKidxXx ปีที่แล้ว

    This was awesome ! I think you did great for only a couple days 👍🏼

  • @ArizonaJewell
    @ArizonaJewell 2 ปีที่แล้ว +966

    I’m currently in college pursuing my bachelor’s degree in information technology with a concentration in database technology & programming. This guy’s skill level blows my mind. Not only did he code it in C, not only did he not use an engine, but he also coded it in 2 DAYS. Meanwhile I’m still learning python 😭

    • @sneakycheeky531
      @sneakycheeky531 2 ปีที่แล้ว +22

      EW python

    • @sneakycheeky531
      @sneakycheeky531 2 ปีที่แล้ว +7

      @@ArizonaJewell lets not discuss PHP lol. also did you begin to get into programming before or after you heard about python

    • @sergioenriquediazortiz5131
      @sergioenriquediazortiz5131 2 ปีที่แล้ว +54

      @@sneakycheeky531 you are junior programmer right?

    • @sneakycheeky531
      @sneakycheeky531 2 ปีที่แล้ว +3

      @@sergioenriquediazortiz5131 ive been programming for like 8 weeks so I'm well past junior. im late mid

    • @sergioenriquediazortiz5131
      @sergioenriquediazortiz5131 2 ปีที่แล้ว +96

      @@sneakycheeky531 are you kidding me? ._:

  • @BGVassil
    @BGVassil 2 ปีที่แล้ว +435

    I'm a software engineer on minecraft at work and I love that YT recommened this to me. I'm seeing a bunch of familiar things :)

    • @user-si9jy3zs1j
      @user-si9jy3zs1j 2 ปีที่แล้ว +37

      so u r working in microsoft, right? How amazing is that?

    • @mohibkhan2492
      @mohibkhan2492 2 ปีที่แล้ว +6

      Cool!

    • @maya-the-shitposter
      @maya-the-shitposter 2 ปีที่แล้ว

      How'd you go from a weird android game to working at microsoft in 4 years

    • @cseijifja
      @cseijifja 2 ปีที่แล้ว +9

      @@maya-the-shitposter not the weirdest thing i have heard really.

    • @alexanderoguzie-ibeh2053
      @alexanderoguzie-ibeh2053 2 ปีที่แล้ว

      I feel your depression 😭

  • @maywakeTV
    @maywakeTV 5 หลายเดือนก่อน

    Amazing that you were able to do this in such a short period of time. Smart programming is great.

  • @salmanshah-ci3yr
    @salmanshah-ci3yr 2 ปีที่แล้ว +4

    Honestly would love to watch the whole 48 hour video if available. Great work!

    • @lowmax4431
      @lowmax4431 ปีที่แล้ว

      I agree. I wanna see receipts lol

  • @olijon7300
    @olijon7300 3 ปีที่แล้ว +351

    Why is the grass of every minecraft remake so damn bright, legit neon lime

    • @sapehc
      @sapehc 3 ปีที่แล้ว +93

      because the first version of minecraft had bright, legit neon lime grass

    • @SerBallister
      @SerBallister 3 ปีที่แล้ว +147

      Programmer art. They probably picked RGB #00ff00 for green, like any artistically challenged person would.

    • @patstaysuckafreeboss8006
      @patstaysuckafreeboss8006 3 ปีที่แล้ว +13

      Because they all suck at that part honestly. Sorry to be blunt

    • @saaros
      @saaros 3 ปีที่แล้ว +25

      generally people doesn't understand color theory unless they study it

    • @okuno54
      @okuno54 3 ปีที่แล้ว +60

      To be fair...
      Programmer trying to do art: finds something recognizably green
      Artist trying to program: Where do I run "rm -rf /"?

  • @smackdab6070
    @smackdab6070 3 ปีที่แล้ว +540

    i love what you're doing with this and its really skilled programming but i just have to say that you have just tanked the self esteem of every single programmer on this planet

    • @reahreic7698
      @reahreic7698 2 ปีที่แล้ว +40

      At least reading the comments makes me not feel so alone anymore lol.

    • @ZintomV1
      @ZintomV1 2 ปีที่แล้ว +3

      Facts

    • @DaphneBlue50s
      @DaphneBlue50s 2 ปีที่แล้ว +3

      yeah, i wanted to learn coding, but after watching this im not so sure.

    • @ghostg6107
      @ghostg6107 2 ปีที่แล้ว +1

      @@DaphneBlue50s why not?

    • @maestrulgamer9695
      @maestrulgamer9695 2 ปีที่แล้ว +1

      @@ghostg6107
      Because it looks complicated as f#ck!!

  • @aatheus
    @aatheus ปีที่แล้ว

    Mad respect for getting something this functional in only two days. Nicely done

  • @Moonlakes
    @Moonlakes 8 หลายเดือนก่อน

    there's just something very soothing about watching / listening to someone doing what they can do best. very relaxing.

  • @jmcguire6471
    @jmcguire6471 3 ปีที่แล้ว +400

    Dude, I just spent 20 minutes explaining to my wife , who knows NOTHING about programming, why you're a goddamn wizard. That's how impressed I am by this....

    • @ahmdm2036
      @ahmdm2036 3 ปีที่แล้ว +3

      HAHAHAHA SAME

    • @Infinity-sb5du
      @Infinity-sb5du 2 ปีที่แล้ว +1

      Hahaha feel it

    • @tylerfortner9500
      @tylerfortner9500 2 ปีที่แล้ว +13

      But your wife doesn't express interest or even try to comprehend it. My mistake, that's my wife. Consider yourself a lucky man.

    • @adrianlowery7175
      @adrianlowery7175 2 ปีที่แล้ว +14

      @@tylerfortner9500 I think it’s time for marriage counseling, Tyler

    • @Cyborg1170
      @Cyborg1170 2 ปีที่แล้ว +1

      HAHA. This is the best. I explained to my cat just now.

  • @liampugh4705
    @liampugh4705 3 ปีที่แล้ว +131

    I'm fairly new to programming, my head just exploded.
    My day typically goes - code for an 10mins, research how to do things for 3 hours, bug fix for 6 hours.
    I didn't think this sort of thing was possible

    • @ChrisgammaDE
      @ChrisgammaDE 2 ปีที่แล้ว +5

      From my own experience I can tell you it will get less pretty quickly.
      Imo this only stays high when you work with big frameworks as there is a load of stuff you can't possibly know.
      In the video he used nearly no librarys. This makes it that there isn't so much stuff that he needs to take "care" of. When you do a couple of projects like that, you'll know your stuff.

    • @egg-iu3fe
      @egg-iu3fe 2 ปีที่แล้ว +27

      I started a computer science degree this year. The only part of this video I understood was the hello world part

    • @ChrisgammaDE
      @ChrisgammaDE 2 ปีที่แล้ว +1

      @@egg-iu3fe In my first semster I practically only needed to know how to print "Goodbye World". So I think you'll pass.

    • @Eirenband
      @Eirenband 2 ปีที่แล้ว +2

      Not shown in video: The tens of thousands of hours he spent previously researching problems. You'll get there.

    • @Awesomminecraftplay
      @Awesomminecraftplay 2 ปีที่แล้ว

      @@egg-iu3fe Working toward mine and did a programming class last semester (learned Java first and only one I have learned thus far)
      I am right there with you

  • @harambesnutsack3077
    @harambesnutsack3077 ปีที่แล้ว

    Just seeing the pages upon pages of code makes me appreciate developers more and more

  • @EliteCheez
    @EliteCheez 2 ปีที่แล้ว

    Amazing work! I really enjoyed watching this.
    Quick note on the video editing, the speed you are accelerating your video at for in-game and coding is very straining to the eyes. Maybe slow that down a bit

  • @alexanderbrinkman9337
    @alexanderbrinkman9337 2 ปีที่แล้ว +195

    Seeing this as a beginner programmer is just mind-blowing. Keep up the good work man

    • @AstrosSnipe
      @AstrosSnipe ปีที่แล้ว +1

      i dont have anything idea what he even type and change in those pages of words all i know is that what ever he doe id way too complicated and time consuming

    • @teaser6089
      @teaser6089 10 หลายเดือนก่อน

      @@AstrosSnipe If you want to learn, there are many tutorials on TH-cam that cover the Basics, Bro Code has massive full courses for Java, C++, C#, Python and more for free here on the TH-cam.

  • @hockey.montages9157
    @hockey.montages9157 2 ปีที่แล้ว +211

    I love how he says " as I was wrapping up" and then writes like 40 pages of coding.

  • @aGoodDisguise
    @aGoodDisguise 20 วันที่ผ่านมา +1

    Bro needed a project for his resume FAST

  • @NourArt02
    @NourArt02 ปีที่แล้ว +1

    It's crazy enough to make a minecraft clone from scratch, it's even crazier to make the engine you use to make it, and it's mindbogglingly crazy to make all of that in just TWO DAYS

  • @TvtedGames
    @TvtedGames 3 ปีที่แล้ว +132

    10 years later: “I decided to completely clone the earth and every human who’s ever lived and then I just for entertainment birthed a new planet”

    • @JMRC
      @JMRC 3 ปีที่แล้ว +10

      in 72 hours.

    • @shohanahmedniloy9218
      @shohanahmedniloy9218 2 ปีที่แล้ว +1

      @@JMRC It just might happen...

    • @egg-iu3fe
      @egg-iu3fe 2 ปีที่แล้ว

      20 years later: "I birthed a universe as complex as our real life universe"

    • @risihda7312
      @risihda7312 2 ปีที่แล้ว +1

      Using just C code.

    • @Kyrbi0
      @Kyrbi0 2 ปีที่แล้ว

      I've seen that Rick & Morty...

  • @katherinedobbs52
    @katherinedobbs52 2 ปีที่แล้ว +102

    "The next attempt gave me an ominous black pillar." Ah, yeah, the Spire of Darkness, every programmer knows that one.

    • @BookOfMorman
      @BookOfMorman ปีที่แล้ว +2

      2001 A Space Odyssey

  • @user-hq8je5bw9p
    @user-hq8je5bw9p หลายเดือนก่อน

    As an aspiring programmer that's been learning to code for years but started getting any meaningful results just a little ago, I have to say that this IMPRESSED me.
    Especially phrases like "that took a good hour of coding", well, sometimes you can't find a way to fix a simple bug in several hours, even when the code is WAY less complicated =)
    Anyway, good luck, that's really an achievement for two days.

  • @6A31
    @6A31 10 หลายเดือนก่อน +1

    "and after an hour or so" Proceeds to show a task that would have taken me 2 days for sure.

  • @codegeek98
    @codegeek98 2 ปีที่แล้ว +378

    [0:00] Intro & Env
    [0:34] GLFW & CGLM
    [1:40] Texture Atlas
    [2:30] Blocks & Occlusion/Culling
    [3:37] Chunk Loading
    [4:14] Block-breaking
    [5:02] World gen
    [5:56] "Lighting"
    [6:31] Water & Glass
    [10:35] Trees
    [12:00] Animated Textures
    [12:51] Flowers
    [13:26] Ore
    [14:03] Distance Fog
    [14:38] Liquids
    [15:05] "Biomes"
    [15:24] Building
    [16:12] Outro

  • @vojinmilovic2802
    @vojinmilovic2802 3 ปีที่แล้ว +40

    Interestingly enough, if we take that the guy wasn't sleeping, he was typing 15 lines of code a minute(taking that his repo has 42k lines and that the average line of code has 10 characters ), with all the testing and bug fixes. If truly done, this is one of the most impressive things I've seen

    • @robertfrancis4069
      @robertfrancis4069 2 ปีที่แล้ว +9

      Some was copy paste and dependence’s like glfw

  • @OmarIIIV
    @OmarIIIV ปีที่แล้ว

    That's wayyyy tooo impressive man! kudos to you.

  • @shreksgun1769
    @shreksgun1769 ปีที่แล้ว

    This guy should continue making this it’s a great mc clone

  • @werren894
    @werren894 3 ปีที่แล้ว +224

    imagine the amount of feeling of satisfy this guy got from thousand of hour of study to be able to build minecraft with C.

  • @Chreeeis
    @Chreeeis 3 ปีที่แล้ว +10

    8:18 PRAISE THE MONOLITH. BASK IN ITS DIVINE SHADOW

  • @christophergruendell8089
    @christophergruendell8089 9 หลายเดือนก่อน

    That is impressive man, good job.

  • @T_h_o_m_a_s_2_7
    @T_h_o_m_a_s_2_7 ปีที่แล้ว +2

    I've been thinking about learning to code, but what you do looks beautiful and scary at the same time

    • @anis6674
      @anis6674 ปีที่แล้ว

      Bro that is opengl it's hello but other stuff are way easier and less scary it's easier to write entire 2d games in other languages than to load a simple cube in opengl

  • @GeorgeTsiros
    @GeorgeTsiros 2 ปีที่แล้ว +66

    8:09 the "I'm not bothering" branch
    8:13 the "never eating _that_ again" branch
    8:20 the Kubrick branch
    8:27 the "fk it, I'm starting from scratch" branch
    8:32 this is when you force merge all previous branches together

  • @Anonimo-ue5pq
    @Anonimo-ue5pq 2 ปีที่แล้ว +75

    Coding interviewers after seeing this video:
    "Good day, gentlemen. I am here to change the future."

    • @joelstephenson8017
      @joelstephenson8017 2 ปีที่แล้ว

      I'm not even a coder, so I can imagine how intimidating that must sound💀

  • @user-ih7iq6bw5o
    @user-ih7iq6bw5o หลายเดือนก่อน

    that's insane, man. good job

  • @YusiDJordan
    @YusiDJordan 3 หลายเดือนก่อน +1

    I sometimes like to think I am a basic coder, then I see someone like this guy and realize I am a fool.

    • @woahmamaawoogahonkahonka
      @woahmamaawoogahonkahonka 3 หลายเดือนก่อน +2

      I think I’m good at it until I realise I’m doing the programming equivalent of banging rocks together

  • @shambhav9534
    @shambhav9534 3 ปีที่แล้ว +57

    I have finally found someone who is too cool for classes, namespaces, interfaces, polymorphism, etc. You are an instant subscribe.

    • @ChrisgammaDE
      @ChrisgammaDE 2 ปีที่แล้ว

      I have to use C# at work at the moment and I agree.
      Classes and stuff can be a useful tool, but they're only useful with certain things.

    • @lsfornells
      @lsfornells 2 ปีที่แล้ว +4

      However he’s definitely using an object oriented approach at coding. Just wrapped in plain C

    • @shambhav9534
      @shambhav9534 2 ปีที่แล้ว +3

      @@lsfornells If that, then why not just use C++? From my experience, that approach is good for things like Vectors and stuff which could be their own datatypes but for real objects, that method is very bad. The mess it creates is really bad. Even C++ OOP creates a big mess, so I don't use it.

  • @20firebird
    @20firebird 2 ปีที่แล้ว +416

    this was a fascinating peek into how games are REALLY developed. i never thought of some of these problems existing, and it really makes me appreciate the work that goes into these things. bravo!
    MAN that grass is green, though.

    • @theseangle
      @theseangle 2 ปีที่แล้ว

      Agreed

    • @matixlol
      @matixlol 2 ปีที่แล้ว +35

      This isn't how games are REALLY developed though. Nowadays almost every games are built using a game engine like Unity or Unreal or whatever, which provide libraries and API to make it more convenient. The whole point of this video is that he did not use one of these game engines.

    • @lenska5615
      @lenska5615 ปีที่แล้ว +2

      @@matixlol Unity only mostly used by starter developers like unreal engine, but you are right

    • @zorkan111
      @zorkan111 ปีที่แล้ว +8

      ​@@matixlol Plenty of game developers made their own engines for the purposes of their games. You mention the Unreal engine. Guess which game it was made for.

    • @MrTrollo2
      @MrTrollo2 ปีที่แล้ว +1

      @@zorkan111 please tell me, was it a 1-man-project or how is that related to small-scale game development?

  • @YouKnowMeDuh
    @YouKnowMeDuh 2 ปีที่แล้ว +1

    This man is the living embodiment of the "Program in C" song. Bravo 👏👏👏

  • @Zephyr01
    @Zephyr01 ปีที่แล้ว

    i know this video is old but you should make this into a series, its really entertaining for some reason.

  • @genericytprofile852
    @genericytprofile852 3 ปีที่แล้ว +155

    This man here has done a better job at recreating minecraft than most YTbers or knock off clones could ever dream of. And this was all done mostly from the ground up. Mad respect for actually getting transparency to work right!

    • @RobotronSage
      @RobotronSage 2 ปีที่แล้ว

      The man did a better job at minecraft than microsoft did that's for sure

    • @theseangle
      @theseangle 2 ปีที่แล้ว

      @@RobotronSage what... I don't see any logic behind your statement

  • @Ancliz
    @Ancliz 3 ปีที่แล้ว +103

    My face when he said "So I had to leave that for the next day"...

    • @curiously-cinnamon
      @curiously-cinnamon 2 ปีที่แล้ว +7

      Like he did all that in less than a day??? That would take me months honestly

    • @alexkeys776
      @alexkeys776 2 ปีที่แล้ว +2

      @@curiously-cinnamon that would take me years

    • @heroin-blanket
      @heroin-blanket 2 ปีที่แล้ว +2

      @@alexkeys776 centuries

    • @user-hq4ey2bv8e
      @user-hq4ey2bv8e 2 ปีที่แล้ว +1

      @@heroin-blanket eons

    • @brainloading5543
      @brainloading5543 2 ปีที่แล้ว

      @Glizzster ¿Qué pasa?

  • @neutralaim
    @neutralaim 9 หลายเดือนก่อน

    I wish I watched this sooner bro this is beyond impressive in 2 days no less. I wish I could get to that level of skill.

  • @ASOTFAN16
    @ASOTFAN16 ปีที่แล้ว

    Something I realised because of this video is just how many checks a game with a procedurally generated world had to go through to make everything consistent and coherent. Like with the tree for example. If the tree spawns on the edge of a chunk then the leaves will be cut off so the game has to keep that in mind when rendering in the next. And the same goes for ore veins, and for consistency it also needs to keep in mind the height of the adjacent chunk so you won't have a chunk at an average height of 65 next to a chunk with an average height of 165 for example. It's pretty cool stuff honestly