How to make Minecraft in C++ or any other language

Поделиться
HTML-код
  • Опубликовано: 31 дек 2024

Комментарии • 116

  • @IHaveDarryl
    @IHaveDarryl Месяц назад +5

    Don't know how to start? i don't even know how to code

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Месяц назад +1

      yoo check this video:
      ruclips.net/video/sX52Hak4SaY/видео.html

  • @arl-t8d
    @arl-t8d Год назад +159

    "Mistakes make you stronger"
    Me after rewriting hello triangle in vulkan 100 times

    • @JustFeeshy
      @JustFeeshy Год назад +4

      So true!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +13

      😂😂 yes lmao. Also just immagine the c++ standard comittee 😳

    • @anubhavsinha1028
      @anubhavsinha1028 4 месяца назад +4

      Vro i switched from vulkan to opengl........

    • @arl-t8d
      @arl-t8d 4 месяца назад

      @@anubhavsinha1028 After all this hell everything is now easy and clear for me 🌝

    • @happygofishing
      @happygofishing 3 месяца назад +1

      @@anubhavsinha1028 vro

  • @jpam3294
    @jpam3294 Год назад +117

    thanks now i can work at mojang

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +7

      😂😂😂😂 yes

    • @_EnderTv
      @_EnderTv Год назад +5

      Uhm actually MOJANG uses javascript 🤓
      *nerd moment*

    • @PatoAgradecendo
      @PatoAgradecendo Год назад

      ​@@_EnderTvIn Minecraft Bedrock Mojang Use C++

    • @hello-us9gg
      @hello-us9gg Год назад +6

      He ment to say minecraft bedrock edition ​@@_EnderTv

    • @WhoAppeared
      @WhoAppeared 11 месяцев назад +28

      ​​@@_EnderTvumm akshually Minecraft bedrock uses c++ 🤓☝️
      And minecraft java uses java not javascript 🤓🤓

  • @El_Loogy
    @El_Loogy 6 месяцев назад +5

    im a 16 yo game dev and i just found your channel in the moment i needed it the most, i've been developping in godot for the past few months but i wanted to go into lower levels of programming to get a better understanding of what's actually going and improve my problem solving skills. I am just so happy to have found such great and well presented learning resources

  • @LegoDinoMan
    @LegoDinoMan Год назад +28

    Just started up my own voxel game, incredible timing on this video! Thank you so much!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +3

      Nice, I hope I was able to help, good luck 💪

    • @LegoDinoMan
      @LegoDinoMan Год назад +1

      @@lowlevelgamedev9330 You're a fantastic help! Your videos are great resources, especially the productivity video.

  • @Kyjor_
    @Kyjor_ Год назад +9

    Definitely going to reference this when I move on to 3d. Finishing up my editor for my 2d engine and once I'm done with that I'll be learning OpenGL. Nice vid

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      Thanks! good luck in your journey 💪

    • @Kyjor_
      @Kyjor_ Год назад

      @@lowlevelgamedev9330 Thanks! You too!

  • @shresthpratap9819
    @shresthpratap9819 Год назад +9

    I am currenty learning the basiscs of C++ to make my base strong and then I will learn OpenGl I really like graphics programmer. This video was very helpful thankyou.

  • @TheRojo387
    @TheRojo387 Год назад +2

    I'm hoping to write entire operating systems solely in C; I discovered the token "_start()" which is where the true starting point of a program is; the compiler points to that function's origin as the program starting point, and I also discovered two ways of inlining assembly code in compilation: either hand-assemble the code yourself or include an assembler function for your target architecture(s). Either way you need a function pointer to call the low-level function, including the all-important event loop, that a console app, for instance, calls when it is done handling a function and has nothing else to do, and so calls the system or halts execution itself, as a power management strategy.

  • @Sand7Clipper
    @Sand7Clipper 17 дней назад

    Awesome I can add "Worked at Mojang" to my resume

  • @marcboss
    @marcboss Год назад +3

    I recognized you're Romanian in a few seconds, also nice video!

  • @tsukimotoX
    @tsukimotoX 8 месяцев назад

    The explanation is so simple yet so valuable, I liked your way of explaining things. Huge thank you for creating this video, I think I'll return to it back to time, just as motivational version of nickeh30's "NEVER BACK DOWN NEVER WHAT?"

  • @dantheplanner
    @dantheplanner Год назад +3

    Thank you. 😢

  • @ThatNerdGuy0
    @ThatNerdGuy0 7 месяцев назад

    I'm so glad that the creators of c++ didn't call it c+ because it would cause an interesting acronym

  • @caesarxinsanium
    @caesarxinsanium Год назад

    I just found your channel and you have earned a sub

  • @dooZyz
    @dooZyz 5 месяцев назад

    ~6:46 as a "float + integer"....... or.... (store the position a double)

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  5 месяцев назад +2

      well the thing is, 1 using double precision on the gpu is not available on all gpus, and probably not on most integrated ones and I want my game to also work on integrated gpus, also, calculating doubles means the gpu can do 2 times less work, and that is not very good, so I would rather do int + float and do some calculations in the begining and than work with floats normally, than use doubles for the entire pipeline

  • @michaelmueller5211
    @michaelmueller5211 Год назад

    i have an idea for a game: is 1:50 open source (the low poly terrain part)? if so, which repo on your github?

    • @michaelmueller5211
      @michaelmueller5211 Год назад

      nature alchemy i see, imma take a look

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      yess that one, all of them are open source except my steam game. Nature alchemy was made using my 3D engine (gl3d) 💪💪

  • @artwork-studios
    @artwork-studios 8 месяцев назад

    Thanks for process!

  • @ShouryaVashishtha
    @ShouryaVashishtha Год назад

    Dang, im a beginner rn learning C++ absolute basics and I think I am already understanding a lot of stuff but can you tell me that whether JAVA is better for game development or C++?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      I personally don't like java and I don't think it is a good option for game developement. If you really want a oop high level language you should probably add c#. An advantage to languages like this is that it can easier to mod the games. C++ is a better option in my oppinion and it is not difficult as long as you are carefull how you use it (not allocate memory if you don't need to for example) Try watching the handmade hero series on youtube a little to learn some c++ for game developement 💪

    • @ShouryaVashishtha
      @ShouryaVashishtha Год назад

      @lowlevelgamedev9330 Alright thank you so much and I'll check it out for sure!

    • @ShouryaVashishtha
      @ShouryaVashishtha Год назад

      ​@lowlevelgamedev9330 I'm sorry for this late of a question but I still get confused between the two. Notch created Minecraft in JAVA so does JAVA actually gives good performance because Minecraft runs really smooth for mostly everyone.

    • @byEVxL
      @byEVxL Год назад

      @@ShouryaVashishtha java can be fast but its not as fast as c++. java isnt very good for beginners and c++ is way better if you ever want to get hired for a game development job

    • @ShouryaVashishtha
      @ShouryaVashishtha Год назад

      @@byEVxL Tysm, my confusion is no more. ❤️

  • @ScratchShorts
    @ScratchShorts 8 месяцев назад

    "any language"
    Scratch: No OpenGL for u
    SCRATCH IS A PROGRAMMING LANGUAGE!!!

  • @hernanramirez7044
    @hernanramirez7044 2 месяца назад

    How about ticks? Do you think they are needed?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  2 месяца назад +1

      this is something more advanced, and there are multiple types of ticks. So for block updates I think ticks are a very very good option, but minecraft also uses ticks for entity updates, and that is because minecraft is multi player and ticks are important there, if you make a single player Minecraft game you can skip ticks for entities, but for blocks random tick updates for blocks / updates at tick intervals is a good idea and simplifies many things

    • @hernanramirez7044
      @hernanramirez7044 2 месяца назад

      @@lowlevelgamedev9330 Thanks for answering!

  • @NguyenNguyen-ll3yz
    @NguyenNguyen-ll3yz Год назад

    What file do I open so I can run this

  • @BenjaminMorel-xs2vi
    @BenjaminMorel-xs2vi 2 месяца назад

    The Indian guy saves us again.

  • @LuigiCotocea
    @LuigiCotocea 5 дней назад

    Bă stai că e român lol
    Deci ieri mam chinuit 1 ora sa fac link la OpenGL cu VScode... cica outputul programului nu exista

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  5 дней назад

      da classic :)) recomand sa incerci setuputile mele cu cmake, cauta videoul I linked all libraties for you

  • @VenyonNickBuilder
    @VenyonNickBuilder Год назад

    which version of opengl do you use?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      I think I use some features from 4.6 or 4.5 but it could be downgraded to 3.3

    • @VenyonNickBuilder
      @VenyonNickBuilder Год назад

      @@lowlevelgamedev9330 Do you have any books to recommend?

  • @nyeinsanthu8086
    @nyeinsanthu8086 Год назад

    what app do you use

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      hm I don't know what you reffer by app so I'l just list all the tools that I use. I use visual studio for coding, photoshop and blender for drawing and 3D modeling obs for recodring and davinci rezolve for video editing. I hope it helps you 💪

  • @Kosmo2137
    @Kosmo2137 6 месяцев назад

    Should i use raylib instead of opengl?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  6 месяцев назад

      depends on many things, doing it in opengl will give you a chance to make it more optimized but it will be harder if you don't know opengl, if you know opengl use it 💪💪

  • @R3SPONSIBLE-bl2kt
    @R3SPONSIBLE-bl2kt 8 месяцев назад

    I hate how I can’t just look at it and copy it down

  • @what8338
    @what8338 Месяц назад

    Рунглиш?

  • @EvilGaming0786
    @EvilGaming0786 Год назад

    Can you upload caption

  • @stepanshnder1850
    @stepanshnder1850 Год назад

    Interesting, how many c++ minecraft faster than Java version?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      I think you can find comparisons on tje web between java and bedrock edition. The big advantage of C++ however is that it is much easier to make a game in it. In java it is easier to make the game modable tho you can also do that in cpp

    • @cxlappsed1548
      @cxlappsed1548 Год назад

      ​@@lowlevelgamedev9330why is it easier to mod in java?

  • @Obscure6
    @Obscure6 Год назад

    How to install c++?

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад

      you have to install a IDE that is basically a text editor that comes with a c++ compiler. I would recomand Visual Studio for c++ (the purple one not the blue one)

    • @Simple_OG
      @Simple_OG 9 месяцев назад

      ​@@lowlevelgamedev9330Sadly purple one is not available for linux

  • @Notpresent-1
    @Notpresent-1 2 месяца назад

    Amon us

  • @AS-Aeros
    @AS-Aeros Год назад

    Bruh for Pete's sake 😂
    Terraria ain't a Minecraft Clone. Even mojang recognises this game equal to it😂. Did you know the spawning of Wither was inspired by Terraria's boss summoning times.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +1

      ye I know but I think the joke is funny 😂😂

    • @AS-Aeros
      @AS-Aeros Год назад

      @@lowlevelgamedev9330 Lol 😂🤣

  • @cyancaelus6456
    @cyancaelus6456 Год назад +1

    Minecraft Java Edition. Minecraft is Created in Java Programming Language

    • @baka_geddy
      @baka_geddy Год назад +1

      Bedrock is in C++

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  Год назад +5

      ye, my next game will be called "my game" java edition and I'll make it in zig to confuse people 😎

    • @cyancaelus6456
      @cyancaelus6456 Год назад

      @@baka_geddy Exactly. I Don’t Play Bedrock Edition

    • @cyancaelus6456
      @cyancaelus6456 Год назад

      @@lowlevelgamedev9330 You Shouldn’t Use Zig Programming Language for Fun. It’s a Very Young Programming Language. It’s Just Created Last Year Since August 2022. So Don’t Even Think About it. Use Zig Language Very Carefully

    • @flafmg
      @flafmg Год назад +3

      @@cyancaelus6456 bro.. tf are you talking about o-o

  • @hexploit2736
    @hexploit2736 10 месяцев назад +1

    "now learn opengl, and now you are ready to create 3d game". Thank you Sherlock, your videos are useless

  • @johnerison469
    @johnerison469 5 месяцев назад

    Deleting my comment won't change anything

  • @Dorado-r5b
    @Dorado-r5b Год назад +12

    I’m not trying to pressure you or anything but can you try to edit this game called Ds craft and try to combine Minecraft lites 0.2.1 version of generation of Radom worlds then saving or for to add survival mode in Ds craft that is like 0.2.1 survival mode the original of the creator I was going to ask survival mode but he quit and abandon the project and disappear you are a smart person and you have gift I know you are capable of bigger things many blessings have an blessed day 🫡

    • @Corridos188
      @Corridos188 Год назад +1

      I have Dscraft too yes Minecraft lite survival will work better on the Ds limits

    • @Promomusicfree
      @Promomusicfree Год назад

      That would be great

    • @ManuelGomez-bx8dd
      @ManuelGomez-bx8dd Год назад +1

      Low level please make this possible I have been waiting for survival mode for 11 years on Ds craft