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

  Рет қаралды 39,488

Low Level Game Dev

Low Level Game Dev

Жыл бұрын

Making a Minecraft clone was probably one of my favorite projects. So I made multiple Minecraft clones in C++. If you want to know how to make Minecraft from scratch this video is what you need. You can do it with or without an engine and use any language you want.
See the code on GitHub:
clone1: github.com/meemknight/minecra...
clone2: github.com/meemknight/fantasy...
clone3: github.com/meemknight/ourCraft
#programming #minecraft #gameprogramming #cpp
Join my Discord 🥵😹:
/ discord
Check out my Steam game 🤩:
store.steampowered.com/app/23...
Want to learn more take a look here 💀:
• How to do
Music:
less.people - Twilit chillhop.com

Пікірлер: 97
@AE4i1
@AE4i1 Жыл бұрын
"Mistakes make you stronger" Me after rewriting hello triangle in vulkan 100 times
@JustFeeshy
@JustFeeshy Жыл бұрын
So true!
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
😂😂 yes lmao. Also just immagine the c++ standard comittee 😳
@jpam3294
@jpam3294 Жыл бұрын
thanks now i can work at mojang
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
😂😂😂😂 yes
@_EnderTv
@_EnderTv 8 ай бұрын
Uhm actually MOJANG uses javascript 🤓 *nerd moment*
@PatoAgradecendo
@PatoAgradecendo 6 ай бұрын
​@@_EnderTvIn Minecraft Bedrock Mojang Use C++
@hello-us9gg
@hello-us9gg 6 ай бұрын
He ment to say minecraft bedrock edition ​@@_EnderTv
@WhoAppeared
@WhoAppeared 6 ай бұрын
​​@@_EnderTvumm akshually Minecraft bedrock uses c++ 🤓☝️ And minecraft java uses java not javascript 🤓🤓
@LegoDinoMan
@LegoDinoMan Жыл бұрын
Just started up my own voxel game, incredible timing on this video! Thank you so much!
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
Nice, I hope I was able to help, good luck 💪
@LegoDinoMan
@LegoDinoMan Жыл бұрын
@@lowlevelgamedev9330 You're a fantastic help! Your videos are great resources, especially the productivity video.
@Kyjor_
@Kyjor_ Жыл бұрын
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 Жыл бұрын
Thanks! good luck in your journey 💪
@Kyjor_
@Kyjor_ Жыл бұрын
@@lowlevelgamedev9330 Thanks! You too!
@shresthpratap9819
@shresthpratap9819 Жыл бұрын
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.
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
Glad to hear that! Keep learning 💪
@TheRojo387
@TheRojo387 6 ай бұрын
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.
@caesarxinsanium4008
@caesarxinsanium4008 Жыл бұрын
I just found your channel and you have earned a sub
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
Thanks 💪 all of the subs count
@marcboss
@marcboss Жыл бұрын
I recognized you're Romanian in a few seconds, also nice video!
@SomeRandomPiggo
@SomeRandomPiggo Жыл бұрын
I thought he was Spanish at first lmfao
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
😂😂 I have to work a little at my pronunciation
@artwork-studios
@artwork-studios 3 ай бұрын
Thanks for process!
@lowlevelgamedev9330
@lowlevelgamedev9330 3 ай бұрын
you're wellcome
@El_Loogy
@El_Loogy Ай бұрын
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
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
great to hear this 💪 I'm glad to help
@tedbasher3000
@tedbasher3000 26 күн бұрын
seeing a popular youtuber with a gpu worse than mine (gtx 1650 super) is pretty cool tbh! most youtubers have like 4090s or 3060s
@evilwizardtherapist
@evilwizardtherapist Жыл бұрын
Thank you. 😢
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
Hope you find it usefull 💪
@iplayminecraft2248
@iplayminecraft2248 2 ай бұрын
I'm so glad that the creators of c++ didn't call it c+ because it would cause an interesting acronym
@lowlevelgamedev9330
@lowlevelgamedev9330 2 ай бұрын
mmmmm 😂😂😂😂
@mrmaniac9905
@mrmaniac9905 22 сағат бұрын
~6:46 as a "float + integer"....... or.... (store the position a double)
@lowlevelgamedev9330
@lowlevelgamedev9330 14 сағат бұрын
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
@tsukimotoX
@tsukimotoX 2 ай бұрын
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?"
@lowlevelgamedev9330
@lowlevelgamedev9330 2 ай бұрын
thanks bro 💪
@michaelmueller5211
@michaelmueller5211 7 ай бұрын
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 7 ай бұрын
nature alchemy i see, imma take a look
@lowlevelgamedev9330
@lowlevelgamedev9330 7 ай бұрын
yess that one, all of them are open source except my steam game. Nature alchemy was made using my 3D engine (gl3d) 💪💪
@NguyenNguyen-ll3yz
@NguyenNguyen-ll3yz 7 ай бұрын
What file do I open so I can run this
@ScratchShorts
@ScratchShorts 3 ай бұрын
"any language" Scratch: No OpenGL for u SCRATCH IS A PROGRAMMING LANGUAGE!!!
@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 11 ай бұрын
​@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.
@LilYet
@LilYet 10 ай бұрын
@@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 10 ай бұрын
@@LilYet Tysm, my confusion is no more. ❤️
@VenyonNickBuilder
@VenyonNickBuilder 10 ай бұрын
which version of opengl do you use?
@lowlevelgamedev9330
@lowlevelgamedev9330 10 ай бұрын
I think I use some features from 4.6 or 4.5 but it could be downgraded to 3.3
@VenyonNickBuilder
@VenyonNickBuilder 10 ай бұрын
@@lowlevelgamedev9330 Do you have any books to recommend?
@Kosmo2137
@Kosmo2137 20 күн бұрын
Should i use raylib instead of opengl?
@lowlevelgamedev9330
@lowlevelgamedev9330 19 күн бұрын
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 💪💪
@nyeinsanthu8086
@nyeinsanthu8086 10 ай бұрын
what app do you use
@lowlevelgamedev9330
@lowlevelgamedev9330 10 ай бұрын
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 💪
@mariobroselli3642
@mariobroselli3642 3 ай бұрын
So basically one could make Terraria on Elixir or Clojure!?
@lowlevelgamedev9330
@lowlevelgamedev9330 3 ай бұрын
yes but please don't I will come to your house if you do 😭
@mariobroselli3642
@mariobroselli3642 3 ай бұрын
@@lowlevelgamedev9330 why you Not using Python or Visual Basic? Dumb question. I would try it with Racket.
@EvilGaming0786
@EvilGaming0786 11 ай бұрын
Can you upload caption
@lowlevelgamedev9330
@lowlevelgamedev9330 11 ай бұрын
I will do it later yes
@EvilGaming0786
@EvilGaming0786 11 ай бұрын
@@lowlevelgamedev9330 can you answer - should I learn first c++ then c#
@R3SPONSIBLE-bl2kt
@R3SPONSIBLE-bl2kt 2 ай бұрын
I hate how I can’t just look at it and copy it down
@lowlevelgamedev9330
@lowlevelgamedev9330 2 ай бұрын
you have to do the work bro 💪
@stepanshnder1850
@stepanshnder1850 10 ай бұрын
Interesting, how many c++ minecraft faster than Java version?
@lowlevelgamedev9330
@lowlevelgamedev9330 10 ай бұрын
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 6 ай бұрын
​@@lowlevelgamedev9330why is it easier to mod in java?
@Obscure6
@Obscure6 7 ай бұрын
How to install c++?
@lowlevelgamedev9330
@lowlevelgamedev9330 7 ай бұрын
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 3 ай бұрын
​@@lowlevelgamedev9330Sadly purple one is not available for linux
@johnerison469
@johnerison469 6 күн бұрын
Deleting my comment won't change anything
@lowlevelgamedev9330
@lowlevelgamedev9330 6 күн бұрын
um what?
@cyanuranus6456
@cyanuranus6456 Жыл бұрын
Minecraft Java Edition. Minecraft is Created in Java Programming Language
@baka_geddy
@baka_geddy Жыл бұрын
Bedrock is in C++
@lowlevelgamedev9330
@lowlevelgamedev9330 Жыл бұрын
ye, my next game will be called "my game" java edition and I'll make it in zig to confuse people 😎
@cyanuranus6456
@cyanuranus6456 Жыл бұрын
@@baka_geddy Exactly. I Don’t Play Bedrock Edition
@cyanuranus6456
@cyanuranus6456 Жыл бұрын
@@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 Жыл бұрын
@@cyanuranus6456 bro.. tf are you talking about o-o
@AS-Aeros
@AS-Aeros 6 ай бұрын
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 6 ай бұрын
ye I know but I think the joke is funny 😂😂
@AS-Aeros
@AS-Aeros 6 ай бұрын
@@lowlevelgamedev9330 Lol 😂🤣
@hexploit2736
@hexploit2736 5 ай бұрын
"now learn opengl, and now you are ready to create 3d game". Thank you Sherlock, your videos are useless
@SebastianLechugaOfical
@SebastianLechugaOfical 11 ай бұрын
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 🫡
@Djmixlee
@Djmixlee 11 ай бұрын
The good thing Ds craft uses c++ but survival would be amazing for 11 years I’ve been waiting for survival mode for DScraft Minecraft Nintendo ds
@elkarma6635
@elkarma6635 11 ай бұрын
I have Dscraft too yes Minecraft lite survival will work better on the Ds limits
@Promomusicfree
@Promomusicfree 11 ай бұрын
That would be great
@ManuelGomez-bx8dd
@ManuelGomez-bx8dd 11 ай бұрын
Low level please make this possible I have been waiting for survival mode for 11 years on Ds craft
Making Minecraft In Notepad with C++
7:46
Low Level Game Dev
Рет қаралды 9 М.
Minecraft world gen sucks, so I fixed it! (C++ MINECRAFT clone)
16:30
Low Level Game Dev
Рет қаралды 6 М.
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 25 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 5 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН
I Paid Game Developers on Fiverr to Make Minecraft
11:13
BadGameDev
Рет қаралды 1,7 МЛН
This is NOT Minecraft... ?!
12:14
AntVenom
Рет қаралды 1,9 МЛН
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
So you want to make a Game Engine!? (WATCH THIS before you start)
14:39
Giant Sloth Games
Рет қаралды 276 М.
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 691 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 382 М.
The History of Minecraft's Super-Computers
17:05
HellCastle & Tylerrrr
Рет қаралды 1,4 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН