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...
  • Наука та технологія

КОМЕНТАРІ • 6 тис.

  • @chirpyr6219
    @chirpyr6219 2 роки тому +17003

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

    • @AmazingAmbro1
      @AmazingAmbro1 2 роки тому +357

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

    • @JackMott
      @JackMott 2 роки тому +363

      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 роки тому +42

      @@JackMott do you consider opengl as a library

    • @JackMott
      @JackMott 2 роки тому +145

      @@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 роки тому +38

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

  • @Smiley4883
    @Smiley4883 3 роки тому +29045

    This guy is the reason coding interviews are so hard

    • @AceDeclan
      @AceDeclan 3 роки тому +119

      What

    • @Sol4rOnYt
      @Sol4rOnYt 3 роки тому +507

      @@AceDeclan yes

    • @nerfzinet
      @nerfzinet 3 роки тому +243

      Maybe you're just bad at it.

    • @anuragparcha4483
      @anuragparcha4483 3 роки тому +1178

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

    • @Kevin-rk4qu
      @Kevin-rk4qu 3 роки тому +777

      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

  • @jackhawkins7285
    @jackhawkins7285 Рік тому +1425

    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 Рік тому +42

      thats why theres higher positions in jobs

    • @ahall9839
      @ahall9839 Рік тому +33

      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 Рік тому +32

      @@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 Рік тому +46

      @@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 Рік тому +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 Рік тому +2915

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

    • @angy1717
      @angy1717 Рік тому +42

      @@xxgamerhdxx898 he legit said that? can u read

    • @TrevoltIV
      @TrevoltIV Рік тому

      @@xxgamerhdxx898 You illiterate?

    • @Logan_Neasbitt
      @Logan_Neasbitt Рік тому +29

      @@angy1717 bro is actually silly

    • @axel0w
      @axel0w Рік тому

      @@xxgamerhdxx898 r u dumb?

    • @kotovich24
      @kotovich24 Рік тому +19

      Notch used the Infiniminer source code

  • @breadwithoutbutter1056
    @breadwithoutbutter1056 3 роки тому +4287

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

    • @Vvopat96
      @Vvopat96 3 роки тому +62

      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.

  • @galanonim4936
    @galanonim4936 3 роки тому +4744

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

    • @filiphron3147
      @filiphron3147 3 роки тому +106

      No but yes.

    • @TheTiredFox07
      @TheTiredFox07 3 роки тому +743

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

    • @linkdx7079
      @linkdx7079 3 роки тому +479

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

    • @ultrabass838
      @ultrabass838 3 роки тому +294

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

    • @zux128
      @zux128 3 роки тому +331

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

  • @vinudaliyanage3069
    @vinudaliyanage3069 Рік тому +61

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

  • @chonkydabear4924
    @chonkydabear4924 Рік тому +534

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

    • @KaMeR1337
      @KaMeR1337 10 місяців тому +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 9 місяців тому +83

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

    • @floobix1
      @floobix1 9 місяців тому +31

      @@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 8 місяців тому +12

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

    • @awesomeredpandax2267
      @awesomeredpandax2267 7 місяців тому +4

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

  • @china0018
    @china0018 2 роки тому +11399

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

    • @boci8829
      @boci8829 2 роки тому +47

      🤣

    • @yeozdemir75
      @yeozdemir75 2 роки тому +61

      you copied my damn comment.

    • @hauntahex
      @hauntahex 2 роки тому +59

      @@yeozdemir75 no one gives a shit

    • @liability3960
      @liability3960 2 роки тому +24

      just pirate it tho

    • @gone4701
      @gone4701 2 роки тому +20

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

  • @dailyasbaily6798
    @dailyasbaily6798 3 роки тому +7662

    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

  • @4g0ttn45
    @4g0ttn45 Рік тому +68

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

  • @lunarleaf
    @lunarleaf 2 роки тому +125

    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 10 місяців тому +1

      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 2 місяці тому

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

  • @alekbase795
    @alekbase795 3 роки тому +6731

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

    • @jesusmods1
      @jesusmods1 3 роки тому +251

      Learning opengl in a nutshell

    • @chrispanov3026
      @chrispanov3026 3 роки тому +285

      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 роки тому +68

      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

  • @midgetsow
    @midgetsow 2 роки тому +6038

    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 роки тому +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 2 роки тому +54

      @@joeman123964 Did you get it to work?

    • @joeman123964
      @joeman123964 2 роки тому +126

      @@plebisMaximus yeah it works great!

    • @plebisMaximus
      @plebisMaximus 2 роки тому +68

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

  • @sorprenant9106
    @sorprenant9106 Рік тому +54

    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 2 місяці тому

      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 Місяць тому

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

    • @firemonkey1015
      @firemonkey1015 16 днів тому

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

  • @ctrl_benny
    @ctrl_benny Рік тому +67

    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.

  • @Omnicide101
    @Omnicide101 3 роки тому +2048

    "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 роки тому +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 3 роки тому +20

      @@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 3 роки тому

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

  • @jnoded
    @jnoded 3 роки тому +1896

    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

  • @DrihunGaming
    @DrihunGaming 10 місяців тому +7

    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!

  • @rvdev3800
    @rvdev3800 Рік тому +17

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

  • @leonardodias1037
    @leonardodias1037 3 роки тому +4997

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

    • @lucasburford7881
      @lucasburford7881 3 роки тому +337

      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?

  • @bezlon7332
    @bezlon7332 2 роки тому +5507

    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 роки тому +272

      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 роки тому +143

      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

  • @thenewsonatrain
    @thenewsonatrain Рік тому +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!

  • @halcsad691
    @halcsad691 Рік тому +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!

  • @adrian8443
    @adrian8443 2 роки тому +2007

    and he didn't open stack overflow once

    • @Specifix5
      @Specifix5 2 роки тому +178

      he’s God tier already.

    • @YeetDisDude
      @YeetDisDude 2 роки тому +127

      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 роки тому +26

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

    • @InfinityBS
      @InfinityBS 2 роки тому

      @@retro9293 oh ok

  • @plantarise8284
    @plantarise8284 2 роки тому +6267

    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

  • @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 :)

  • @user-yh4pj9pm7u
    @user-yh4pj9pm7u Рік тому +2

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

  • @cosmic4297
    @cosmic4297 3 роки тому +1615

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

  • @PastorSkeptic
    @PastorSkeptic 2 роки тому +1625

    "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

  • @Nebulimity
    @Nebulimity 2 роки тому +9

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

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

  • @safdaboss8645
    @safdaboss8645 3 роки тому +1417

    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

  • @Dezomm
    @Dezomm 3 роки тому +1792

    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 роки тому +93

      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

  • @jghormley69
    @jghormley69 7 місяців тому +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 7 місяців тому +1

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

  • @TK75_
    @TK75_ Рік тому +2

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

  • @alexanderwaight699
    @alexanderwaight699 3 роки тому +744

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

  • @kenneth6965
    @kenneth6965 2 роки тому +1063

    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 11 місяців тому +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 10 місяців тому +4

      Fr, all of this just feels overwhelming right now

    • @ThundersLeague
      @ThundersLeague 10 місяців тому +31

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

    • @jayocaine2946
      @jayocaine2946 9 місяців тому +4

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

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

  • @aatheus
    @aatheus Рік тому +1

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

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

  • @Nicolas-qe1ef
    @Nicolas-qe1ef 3 роки тому +226

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

  • @aGoodDisguise
    @aGoodDisguise Місяць тому +2

    Bro needed a project for his resume FAST

  • @maywakeTV
    @maywakeTV 6 місяців тому

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

  • @guard13007
    @guard13007 3 роки тому +1539

    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 роки тому +359

      “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

  • @WinterNox
    @WinterNox 2 роки тому +1886

    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

  • @zapptuff5186
    @zapptuff5186 Рік тому +3

    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 2 роки тому +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

  • @hatemsaadallah8532
    @hatemsaadallah8532 4 роки тому +1501

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

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

  • @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 👍🏼

  • @MrOgone4ek
    @MrOgone4ek 3 роки тому +2864

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

  • @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? ._:

  • @user-hq8je5bw9p
    @user-hq8je5bw9p 2 місяці тому

    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.

  • @Moonlakes
    @Moonlakes 9 місяців тому

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

  • @Glomly
    @Glomly 2 роки тому +1605

    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

  • @olijon7300
    @olijon7300 3 роки тому +353

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

    • @sapehc
      @sapehc 3 роки тому +94

      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 роки тому +14

      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 /"?

  • @salmanshah-ci3yr
    @salmanshah-ci3yr 2 роки тому +5

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

    • @lowmax4431
      @lowmax4431 Рік тому

      I agree. I wanna see receipts lol

  • @harambesnutsack3077
    @harambesnutsack3077 2 роки тому

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

  • @BGVassil
    @BGVassil 3 роки тому +436

    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 😭

  • @givrally7634
    @givrally7634 3 роки тому +290

    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 3 роки тому +2

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

  • @T_h_o_m_a_s_2_7
    @T_h_o_m_a_s_2_7 Рік тому +3

    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

  • @OmarIIIV
    @OmarIIIV 2 роки тому

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

  • @jgabt
    @jgabt 3 роки тому +2153

    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.

  • @liampugh4705
    @liampugh4705 3 роки тому +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 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 роки тому +26

      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

  • @shreksgun1769
    @shreksgun1769 Рік тому

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

  • @usieljasso5091
    @usieljasso5091 Рік тому +1

    I always find these incredibly impressive and it makes me want to learn to code but im a really slow learner so the time it would take for me to learn discourages me. I love these kinds of videos

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

  • @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 11 місяців тому

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

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

  • @Zephyr01
    @Zephyr01 Рік тому

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

  • @BEN-ys6gu
    @BEN-ys6gu 2 роки тому +171

    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 Рік тому +41

      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 Місяць тому +4

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

    • @zzGreenOfficial
      @zzGreenOfficial 28 днів тому +1

      @@Taletad bro was 2 years late with that theory

    • @Taletad
      @Taletad 28 днів тому

      @@zzGreenOfficial beter late than never

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

  • @neutralaim
    @neutralaim 10 місяців тому

    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

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

  • @vojinmilovic2802
    @vojinmilovic2802 3 роки тому +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

    • @robertfrancis4069
      @robertfrancis4069 2 роки тому +9

      Some was copy paste and dependence’s like glfw

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

  • @Stennishh
    @Stennishh 9 місяців тому +2

    9:48 bro is spitting straight BARS!!

  • @katherinedobbs52
    @katherinedobbs52 3 роки тому +102

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

  • @Parappadarappa2
    @Parappadarappa2 3 роки тому +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 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...

  • @felixbeutin8105
    @felixbeutin8105 8 місяців тому

    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

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

  • @hockey.montages9157
    @hockey.montages9157 2 роки тому +211

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

  • @Chreeeis
    @Chreeeis 3 роки тому +10

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

  • @toddcaywood2550
    @toddcaywood2550 Рік тому

    Coming from someone who googled the C++ solution to the Towers of Hanoi with user input number of discs and pegs during my undergrad, this is highly impressive work in 2 days. Bravo sir, bravo.

  • @6A31
    @6A31 11 місяців тому +1

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

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

  • @reynaldobuscagan7731
    @reynaldobuscagan7731 2 місяці тому

    Wow! I am amazed by your work, please make more a video like this. And teach us too! That will be so much appreciated

  • @gurgaon39
    @gurgaon39 6 місяців тому

    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.

  • @werren894
    @werren894 3 роки тому +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.

  • @Ancliz
    @Ancliz 3 роки тому +103

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

    • @curiously-cinnamon
      @curiously-cinnamon 3 роки тому +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

    • @dox.K
      @dox.K 2 роки тому +2

      @@alexkeys776 centuries

    • @user-hq4ey2bv8e
      @user-hq4ey2bv8e 2 роки тому +1

      @@dox.K eons

    • @brainloading5543
      @brainloading5543 2 роки тому

      @Glizzster ¿Qué pasa?

  • @christophergruendell8089
    @christophergruendell8089 10 місяців тому

    That is impressive man, good job.

  • @wd89601
    @wd89601 8 місяців тому

    Insane amounts of talent bro !

  • @GeorgeTsiros
    @GeorgeTsiros 2 роки тому +65

    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 3 роки тому +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💀

  • @salamasW
    @salamasW 2 місяці тому

    I come back here every few months as I’m learning to program as inspiration of what’s possible with persistence ❤

  • @genericytprofile852
    @genericytprofile852 3 роки тому +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 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