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

Sdílet
Vložit
  • čas přidán 25. 04. 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...
  • Věda a technologie

Komentáře • 6K

  • @chirpyr6219
    @chirpyr6219 Před 2 lety +16668

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

    • @AmazingAmbro1
      @AmazingAmbro1 Před 2 lety +350

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

    • @JackMott
      @JackMott Před 2 lety +355

      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 Před 2 lety +40

      @@JackMott do you consider opengl as a library

    • @JackMott
      @JackMott Před 2 lety +141

      @@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 Před 2 lety +37

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

  • @breadwithoutbutter1056
    @breadwithoutbutter1056 Před 3 lety +4182

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

    • @Vvopat96
      @Vvopat96 Před 3 lety +61

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

    • @gorg212
      @gorg212 Před 3 lety +3

      Damn that was a nice one lol

    • @LodIstHier
      @LodIstHier Před 3 lety +3

      Roma comparata con un gioco, mi sento offeso.

    • @techteamanimations4251
      @techteamanimations4251 Před 3 lety +21

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

    • @prcr364
      @prcr364 Před 3 lety +28

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

  • @jackhawkins7285
    @jackhawkins7285 Před rokem +1300

    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 Před rokem +37

      thats why theres higher positions in jobs

    • @ahall9839
      @ahall9839 Před rokem +31

      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 Před rokem +29

      @@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 Před rokem +42

      @@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 Před rokem +8

      @@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 Před rokem +2786

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

    • @angy1717
      @angy1717 Před rokem +41

      @@xxgamerhdxx898 he legit said that? can u read

    • @TrevoltIV
      @TrevoltIV Před rokem

      @@xxgamerhdxx898 You illiterate?

    • @Logan_Neasbitt
      @Logan_Neasbitt Před rokem +26

      @@angy1717 bro is actually silly

    • @axel0w
      @axel0w Před rokem

      @@xxgamerhdxx898 r u dumb?

    • @kotovich24
      @kotovich24 Před rokem +16

      Notch used the Infiniminer source code

  • @china0018
    @china0018 Před 2 lety +11319

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

    • @boci8829
      @boci8829 Před 2 lety +47

      🤣

    • @yeozdemir75
      @yeozdemir75 Před 2 lety +61

      you copied my damn comment.

    • @hauntahex
      @hauntahex Před 2 lety +59

      @@yeozdemir75 no one gives a shit

    • @liability3960
      @liability3960 Před 2 lety +24

      just pirate it tho

    • @gone4701
      @gone4701 Před 2 lety +20

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

  • @Smiley4883
    @Smiley4883 Před 3 lety +28747

    This guy is the reason coding interviews are so hard

    • @AceDeclan
      @AceDeclan Před 3 lety +119

      What

    • @Sol4rOnYt
      @Sol4rOnYt Před 3 lety +502

      @@AceDeclan yes

    • @nerfzinet
      @nerfzinet Před 3 lety +239

      Maybe you're just bad at it.

    • @anuragparcha4483
      @anuragparcha4483 Před 3 lety +1162

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

    • @Kevin-rk4qu
      @Kevin-rk4qu Před 3 lety +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

  • @BEN-ys6gu
    @BEN-ys6gu Před 2 lety +156

    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 Před rokem +35

      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 Před měsícem +2

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

    • @zzGreenOfficial
      @zzGreenOfficial Před 19 dny

      @@Taletad bro was 2 years late with that theory

    • @Taletad
      @Taletad Před 19 dny

      @@zzGreenOfficial beter late than never

  • @4g0ttn45
    @4g0ttn45 Před rokem +60

    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 !!

  • @galanonim4936
    @galanonim4936 Před 3 lety +4689

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

    • @filiphron3147
      @filiphron3147 Před 3 lety +105

      No but yes.

    • @TheTiredFox07
      @TheTiredFox07 Před 3 lety +736

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

    • @linkdx7079
      @linkdx7079 Před 3 lety +473

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

    • @ultrabass838
      @ultrabass838 Před 3 lety +291

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

    • @zux128
      @zux128 Před 3 lety +329

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

  • @alekbase795
    @alekbase795 Před 3 lety +6695

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

    • @jesusmods1
      @jesusmods1 Před 3 lety +249

      Learning opengl in a nutshell

    • @chrispanov3026
      @chrispanov3026 Před 3 lety +283

      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 Před 3 lety +19

      @@ahmadayazamin3313 you need about 1100 f

    • @ABusFullaJewz
      @ABusFullaJewz Před 3 lety +67

      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 Před 3 lety +77

      Now think about the people wanting a Minecraft update

  • @vinudaliyanage3069
    @vinudaliyanage3069 Před rokem +38

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

  • @chonkydabear4924
    @chonkydabear4924 Před rokem +477

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

    • @KaMeR1337
      @KaMeR1337 Před 10 měsíci +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 Před 9 měsíci +72

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

    • @floobix1
      @floobix1 Před 8 měsíci +27

      @@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 Před 7 měsíci +11

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

    • @awesomeredpandax2267
      @awesomeredpandax2267 Před 7 měsíci +4

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

  • @dailyasbaily6798
    @dailyasbaily6798 Před 3 lety +7645

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

    • @supervisor360
      @supervisor360 Před 3 lety +72

      You mean
      Karen: NO

    • @drawingmaster8187
      @drawingmaster8187 Před 3 lety +40

      Mom: :0

    • @Junior-ul6ic
      @Junior-ul6ic Před 3 lety +126

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

    • @astralviperyt2985
      @astralviperyt2985 Před 3 lety +22

      And then she blows up his pc XD

    • @shadowplayz8896
      @shadowplayz8896 Před 3 lety +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

  • @midgetsow
    @midgetsow Před 2 lety +6027

    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 Před 2 lety +190

      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 Před 2 lety +54

      @@joeman123964 Did you get it to work?

    • @joeman123964
      @joeman123964 Před 2 lety +126

      @@plebisMaximus yeah it works great!

    • @plebisMaximus
      @plebisMaximus Před 2 lety +68

      @@joeman123964 Congrats on that, mate!

    • @egg-iu3fe
      @egg-iu3fe Před 2 lety +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.

  • @rvdev3800
    @rvdev3800 Před rokem +17

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

  • @lunarleaf
    @lunarleaf Před 2 lety +120

    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 Před rokem +6

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

    • @azir8930
      @azir8930 Před 10 měsíci

      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 Před 2 měsíci

      ​@@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

  • @Omnicide101
    @Omnicide101 Před 3 lety +2036

    "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 Před 3 lety +19

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

    • @t3to_i554
      @t3to_i554 Před 3 lety +2

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

    • @robertstrickland9722
      @robertstrickland9722 Před 3 lety +17

      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 Před 3 lety +19

      @@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 Před 3 lety

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

  • @bezlon7332
    @bezlon7332 Před 2 lety +5501

    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 Před 2 lety +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 Před 2 lety +271

      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 Před 2 lety +142

      Talent, no. Hardwork, yeah

    • @DNAnielsama
      @DNAnielsama Před 2 lety +36

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

    • @sis4212
      @sis4212 Před 2 lety +23

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

  • @thenewsonatrain
    @thenewsonatrain Před rokem +5

    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!

  • @sorprenant9106
    @sorprenant9106 Před rokem +47

    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 Před 2 měsíci

      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 Před měsícem

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

    • @firemonkey1015
      @firemonkey1015 Před 8 dny

      Same except I’m learning Java, finished my first year a few days ago. Barely understand what’s going on in this video lol

  • @leonardodias1037
    @leonardodias1037 Před 3 lety +4993

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

    • @lucasburford7881
      @lucasburford7881 Před 3 lety +336

      The Imposter Syndrome is real :')

    • @thedoublehelix5661
      @thedoublehelix5661 Před 3 lety +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 Před 3 lety +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 Před 3 lety +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 Před 3 lety +42

      @@UndregoGrey what happens in 16 years?

  • @plantarise8284
    @plantarise8284 Před 2 lety +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 Před 2 lety +11

      how does one putted ?

    • @samuelwolfe8269
      @samuelwolfe8269 Před 2 lety +21

      @@keanestewart4837 was wondering this myself

    • @alexander53
      @alexander53 Před 2 lety +29

      @@ebush he said 12 hours in the video

    • @rue6407
      @rue6407 Před 2 lety +6

      @@JohanSimonsson ok?

    • @an77h
      @an77h Před 2 lety +5

      @@JohanSimonsson 💀💀 o...ok

  • @ctrl_benny
    @ctrl_benny Před rokem +66

    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.

  • @anikinskywalker7127
    @anikinskywalker7127 Před 2 lety +35

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

  • @jnoded
    @jnoded Před 3 lety +1890

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

    • @ddd21465
      @ddd21465 Před 3 lety +98

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

    • @franciscofarias6385
      @franciscofarias6385 Před 3 lety +13

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

    • @13thk
      @13thk Před 3 lety +8

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

    • @xenizs9112
      @xenizs9112 Před 3 lety +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 Před 3 lety +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

  • @alexanderwaight699
    @alexanderwaight699 Před 3 lety +744

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

  • @halcsad691
    @halcsad691 Před rokem +8

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

  • @DrihunGaming
    @DrihunGaming Před 9 měsíci +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!

  • @Dezomm
    @Dezomm Před 3 lety +1791

    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 Před 3 lety +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 Před 3 lety +48

      @@Akalos1 Well it could be useful for your resume

    • @DigitalViscosity
      @DigitalViscosity Před 3 lety +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_ Před 3 lety +2

      @@Akalos1 that's exactly what I think

    • @jayit6851
      @jayit6851 Před 3 lety +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

  • @PastorSkeptic
    @PastorSkeptic Před 2 lety +1622

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

    • @InfinityBS
      @InfinityBS Před 2 lety +25

      So there’s someone better than this guy?

    • @Monsizr
      @Monsizr Před 2 lety +28

      @@InfinityBS yes

    • @Anto-xh5vn
      @Anto-xh5vn Před 2 lety +3

      @@Monsizr name

    • @Monsizr
      @Monsizr Před 2 lety +3

      @@Anto-xh5vn idk

    • @spookyleo2589
      @spookyleo2589 Před 2 lety +14

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

  • @seanupton709
    @seanupton709 Před rokem +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 :)

  • @ahmedfouedhasni6734
    @ahmedfouedhasni6734 Před rokem

    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 !

  • @safdaboss8645
    @safdaboss8645 Před 3 lety +1415

    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 Před 3 lety +48

      And he tried to make mountain biomes.

    • @arnox4554
      @arnox4554 Před 3 lety +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 Před 3 lety +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 Před 3 lety +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 Před 3 lety +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

  • @cosmic4297
    @cosmic4297 Před 3 lety +1613

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

  • @TK75_
    @TK75_ Před rokem +2

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

  • @Nebulimity
    @Nebulimity Před 2 lety +8

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

  • @MrOgone4ek
    @MrOgone4ek Před 3 lety +2866

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

  • @adrian8443
    @adrian8443 Před 2 lety +2001

    and he didn't open stack overflow once

    • @Specifix5
      @Specifix5 Před 2 lety +178

      he’s God tier already.

    • @YeetDisDude
      @YeetDisDude Před 2 lety +127

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

    • @InfinityBS
      @InfinityBS Před 2 lety +2

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

    • @retro9293
      @retro9293 Před 2 lety +25

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

    • @InfinityBS
      @InfinityBS Před 2 lety

      @@retro9293 oh ok

  • @user-yh4pj9pm7u
    @user-yh4pj9pm7u Před rokem +1

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

  • @Justin-zg6ft
    @Justin-zg6ft Před rokem +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

  • @kenneth6965
    @kenneth6965 Před 2 lety +1062

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

    • @jeffreyd2564
      @jeffreyd2564 Před rokem +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 Před 10 měsíci +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 Před 10 měsíci +4

      Fr, all of this just feels overwhelming right now

    • @ThundersLeague
      @ThundersLeague Před 9 měsíci +31

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

    • @jayocaine2946
      @jayocaine2946 Před 9 měsíci +4

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

  • @Nicolas-qe1ef
    @Nicolas-qe1ef Před 3 lety +224

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

  • @itskoder
    @itskoder Před rokem +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.

  • @Klickyyy
    @Klickyyy Před rokem +2

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

  • @PocketQuadsOnly
    @PocketQuadsOnly Před 4 lety +1566

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

    • @KRYMauL
      @KRYMauL Před 3 lety +51

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

    • @KRYMauL
      @KRYMauL Před 3 lety +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 Před 3 lety +46

      @@KRYMauL Implying Object Oriented Programming improves productivity.

    • @KRYMauL
      @KRYMauL Před 3 lety +17

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

    • @pendergastj
      @pendergastj Před 3 lety +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.

  • @hatemsaadallah8532
    @hatemsaadallah8532 Před 4 lety +1500

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

  • @Moonlakes
    @Moonlakes Před 9 měsíci

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

  • @zapptuff5186
    @zapptuff5186 Před rokem +2

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

  • @WinterNox
    @WinterNox Před 2 lety +1886

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

    • @alexanderoguzie-ibeh2053
      @alexanderoguzie-ibeh2053 Před 2 lety +2

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

    • @mathiasensimon
      @mathiasensimon Před 2 lety +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 Před 2 lety +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 Před 2 lety +18

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

    • @Subject97
      @Subject97 Před 2 lety +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

  • @guard13007
    @guard13007 Před 3 lety +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 Před 3 lety +360

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

    • @Ludifant
      @Ludifant Před 3 lety +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 Před 3 lety +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 Před 3 lety +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 Před 3 lety +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

  • @maywakeTV
    @maywakeTV Před 6 měsíci

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

  • @xXxSuppaKidxXx
    @xXxSuppaKidxXx Před rokem

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

  • @mokongthe3856
    @mokongthe3856 Před 2 lety +529

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

  • @ArizonaJewell
    @ArizonaJewell Před 2 lety +965

    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 Před 2 lety +22

      EW python

    • @sneakycheeky531
      @sneakycheeky531 Před 2 lety +7

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

    • @sergioenriquediazortiz5131
      @sergioenriquediazortiz5131 Před 2 lety +54

      @@sneakycheeky531 you are junior programmer right?

    • @sneakycheeky531
      @sneakycheeky531 Před 2 lety +3

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

    • @sergioenriquediazortiz5131
      @sergioenriquediazortiz5131 Před 2 lety +96

      @@sneakycheeky531 are you kidding me? ._:

  • @wd89601
    @wd89601 Před 8 měsíci

    Insane amounts of talent bro !

  • @BasPower12
    @BasPower12 Před 8 měsíci

    You are a great pixel artist!

  • @givrally7634
    @givrally7634 Před 3 lety +289

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

    • @tudorgorea8824
      @tudorgorea8824 Před 3 lety +5

      I saw that too

    • @jdh
      @jdh  Před 3 lety +75

      It's noted in the description :)

    • @Kevin-rk4qu
      @Kevin-rk4qu Před 3 lety +1

      Yup

    • @givrally7634
      @givrally7634 Před 3 lety +6

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

    • @inflatablebananapig1
      @inflatablebananapig1 Před 2 lety +2

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

  • @Glomly
    @Glomly Před 2 lety +1603

    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 Před 2 lety +48

      im still using scratch and gmm2 dnd so

    • @mysingingmonstersfan1023
      @mysingingmonstersfan1023 Před 2 lety +27

      its been 4 years

    • @OrangeDied
      @OrangeDied Před 2 lety +142

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

    • @nikkiofthevalley
      @nikkiofthevalley Před 2 lety +17

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

    • @ahmedifhaam7266
      @ahmedifhaam7266 Před 2 lety +46

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

  • @user-hq8je5bw9p
    @user-hq8je5bw9p Před 2 měsíci

    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.

  • @samjustin8495
    @samjustin8495 Před 9 měsíci +2

    That’s so impressive that you coded Minecraft

  • @BGVassil
    @BGVassil Před 3 lety +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 :)

  • @liampugh4705
    @liampugh4705 Před 3 lety +130

    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 Před 2 lety +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 Před 2 lety +26

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

    • @ChrisgammaDE
      @ChrisgammaDE Před 2 lety +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 Před 2 lety +2

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

    • @Awesomminecraftplay
      @Awesomminecraftplay Před 2 lety

      @@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

  • @jghormley69
    @jghormley69 Před 7 měsíci +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 Před 7 měsíci +1

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

  • @aatheus
    @aatheus Před rokem

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

  • @olijon7300
    @olijon7300 Před 3 lety +351

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

    • @sapehc
      @sapehc Před 3 lety +93

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

    • @SerBallister
      @SerBallister Před 3 lety +146

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

    • @patstaysuckafreeboss8006
      @patstaysuckafreeboss8006 Před 3 lety +13

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

    • @saaros
      @saaros Před 3 lety +25

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

    • @okuno54
      @okuno54 Před 3 lety +60

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

  • @alexanderbrinkman9337
    @alexanderbrinkman9337 Před 2 lety +195

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

    • @AstrosSnipe
      @AstrosSnipe Před rokem +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 Před 10 měsíci

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

  • @salmanshah-ci3yr
    @salmanshah-ci3yr Před 2 lety +4

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

    • @lowmax4431
      @lowmax4431 Před rokem

      I agree. I wanna see receipts lol

  • @harambesnutsack3077
    @harambesnutsack3077 Před 2 lety

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

  • @smackdab6070
    @smackdab6070 Před 3 lety +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 Před 2 lety +40

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

    • @ZintomV1
      @ZintomV1 Před 2 lety +3

      Facts

    • @DaphneBlue50s
      @DaphneBlue50s Před 2 lety +3

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

    • @ghostg6107
      @ghostg6107 Před 2 lety +1

      @@DaphneBlue50s why not?

    • @maestrulgamer9695
      @maestrulgamer9695 Před 2 lety +1

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

  • @jgabt
    @jgabt Před 3 lety +2152

    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 Před 2 lety +62

      in other words
      you're lazy?

    • @wattleproductions8026
      @wattleproductions8026 Před 2 lety +17

      Not something to be proud of…

    • @jgabt
      @jgabt Před 2 lety +91

      @@johnandrevalencia7170 yes.

    • @wolfbreaker4401
      @wolfbreaker4401 Před 2 lety +171

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

    • @minecraftherobrine1234
      @minecraftherobrine1234 Před 2 lety +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.

  • @EliteCheez
    @EliteCheez Před 2 lety

    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

  • @OmarIIIV
    @OmarIIIV Před 2 lety

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

  • @jmcguire6471
    @jmcguire6471 Před 3 lety +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 Před 3 lety +3

      HAHAHAHA SAME

    • @Infinity-sb5du
      @Infinity-sb5du Před 2 lety +1

      Hahaha feel it

    • @tylerfortner9500
      @tylerfortner9500 Před 2 lety +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 Před 2 lety +14

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

    • @Cyborg1170
      @Cyborg1170 Před 2 lety +1

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

  • @katherinedobbs52
    @katherinedobbs52 Před 3 lety +102

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

  • @neutralaim
    @neutralaim Před 9 měsíci

    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.

  • @carltonleboss
    @carltonleboss Před 8 měsíci

    This is sick!

  • @codegeek98
    @codegeek98 Před 2 lety +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

  • @hockey.montages9157
    @hockey.montages9157 Před 2 lety +211

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

  • @eli_0625
    @eli_0625 Před 7 měsíci +1

    This is amazing :O

  • @sippingtexastea
    @sippingtexastea Před rokem +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

  • @vojinmilovic2802
    @vojinmilovic2802 Před 3 lety +39

    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

  • @Chreeeis
    @Chreeeis Před 3 lety +10

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

  • @felixbeutin8105
    @felixbeutin8105 Před 8 měsíci

    I recently started learning to code for university and there are three things i am completeley in awe off.
    The work you must have put in in order to even be able to do this in 48 hours is huge
    Completely impressed with the team at mojang for creating a much more complicated game back in 2010/2011
    It's really impressive how minecraft became one of the most popular games ever despite how barebones it was back in 2010/2011

  • @NourArt02
    @NourArt02 Před rokem +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

  • @20firebird
    @20firebird Před 2 lety +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 Před 2 lety

      Agreed

    • @matixlol
      @matixlol Před 2 lety +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 Před rokem +2

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

    • @zorkan111
      @zorkan111 Před rokem +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 Před rokem +1

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

  • @johnjackson9767
    @johnjackson9767 Před 4 lety +249

    As a fellow c-programmer and someone who uploads videos doing custom implementations and explanations, I appreciate this video immensely. Great work!

    • @linuxterm7622
      @linuxterm7622 Před 3 lety +1

      You are everywhere

    • @alekvassinskiy1286
      @alekvassinskiy1286 Před 3 lety +11

      as a fellow c# multiple game creator he didnt explain almost anything good enough, he just gave us a basic idea of what he did but not how exactly to do it etc

    • @alekvassinskiy1286
      @alekvassinskiy1286 Před 3 lety +9

      Ok he edited his comment so mine doesnt make as much sense lol

    • @danielzaiser
      @danielzaiser Před 3 lety +1

      sounds like you have lots of c knowledge yourself, would you be able to program something similar as well?
      Is that a normal skillset of the usual C-Programmer?

    • @kenedyhenrique141
      @kenedyhenrique141 Před 3 lety +1

      Good to know, +1 subscriber.

  • @shreksgun1769
    @shreksgun1769 Před rokem

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

  • @T_h_o_m_a_s_2_7
    @T_h_o_m_a_s_2_7 Před rokem +2

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

    • @anis6674
      @anis6674 Před rokem

      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

  • @nolyarb2874
    @nolyarb2874 Před 3 lety +47

    This makes me very grateful for the "shortcuts" I've been blessed with.

  • @Parappadarappa2
    @Parappadarappa2 Před 3 lety +131

    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 Před 3 lety +10

      in 72 hours.

    • @shohanahmedniloy9218
      @shohanahmedniloy9218 Před 2 lety +1

      @@JMRC It just might happen...

    • @egg-iu3fe
      @egg-iu3fe Před 2 lety

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

    • @risihda7312
      @risihda7312 Před 2 lety +1

      Using just C code.

    • @Kyrbi0
      @Kyrbi0 Před 2 lety

      I've seen that Rick & Morty...

  • @gurgaon39
    @gurgaon39 Před 5 měsíci

    I can't even make minecraft WITH a game engine. I can totally understand how much work has been put into this to make minecraft with nothing but the programming language itself.
    I appreciate your hardwork in making of this video.

  • @aGoodDisguise
    @aGoodDisguise Před měsícem +1

    Bro needed a project for his resume FAST

  • @shambhav9534
    @shambhav9534 Před 3 lety +57

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

    • @ChrisgammaDE
      @ChrisgammaDE Před 2 lety

      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 Před 2 lety +4

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

    • @shambhav9534
      @shambhav9534 Před 2 lety +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.

  • @werren894
    @werren894 Před 3 lety +223

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

  • @christophergruendell8089
    @christophergruendell8089 Před 10 měsíci

    That is impressive man, good job.

  • @ASOTFAN16
    @ASOTFAN16 Před rokem

    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

  • @mikietonon
    @mikietonon Před 3 lety +105

    I program a lot in C for school and watching this hurt my head a lot. I have never done anything close to this level and find it incredible. Amazing work, I hope one day I am as good as you are.

  • @genericytprofile852
    @genericytprofile852 Před 3 lety +154

    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 Před 2 lety

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

    • @theseangle
      @theseangle Před 2 lety

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

  • @user-ih7iq6bw5o
    @user-ih7iq6bw5o Před měsícem

    that's insane, man. good job

  • @Zephyr01
    @Zephyr01 Před rokem

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