I Made a Minecraft Clone in C++

  Рет қаралды 112,007

WSAL Evan

WSAL Evan

Күн бұрын

Пікірлер: 314
@wsalevan
@wsalevan 3 ай бұрын
Hey guys! Thank you for watching the video. I know it's been a while. I'm going to try to upload at least one video a month from now on, but we'll see how it goes. Feel free to hold me accountable to that lol. Let me know if there's anything you'd like to see in future videos!
@Mineninja12
@Mineninja12 3 ай бұрын
I would like to see a much more technical and in depth explanation of the code
@Scudmaster11
@Scudmaster11 3 ай бұрын
Isn't bedrock programmed in c++ ?
@wsalevan
@wsalevan 3 ай бұрын
@Scudmaster11 Yup
@wsalevan
@wsalevan 3 ай бұрын
@Mineninja12 Bet
@Richard-gs7sy
@Richard-gs7sy 3 ай бұрын
You do realize thank you very much made your own version of Minecraft bedrock edition does Minecraft bedrock edition was made in c+ C++
@darkphinkwastaken3362
@darkphinkwastaken3362 2 ай бұрын
bro said I'm not good at c++ then makes a Minecraft Clone. Good video you just earned a sub
@wsalevan
@wsalevan 2 ай бұрын
Thanks for the sub! Most of the code wasn't specific to C++. When I made that comment, I was specifically referring to my C++ knowledge and not my programming abilities as a whole. I struggled a lot with things like rendering and threads. I could see why it would sound like a humble brag in the video, though
@blocksnmusket
@blocksnmusket 26 күн бұрын
XD
@汉
@汉 3 ай бұрын
This is actually insanely impressive for your first c++ program, great job
@wsalevan
@wsalevan 3 ай бұрын
Thanks!
@YooAzula8262
@YooAzula8262 2 ай бұрын
true. +1
@HoSza1
@HoSza1 2 ай бұрын
not its first, 100%
@UtkuDeniz123
@UtkuDeniz123 3 ай бұрын
Microsoft made a c++ clone of minecraft too
@ProSureString
@ProSureString 3 ай бұрын
Lmfao
@wsalevan
@wsalevan 3 ай бұрын
True
@smqfl
@smqfl 2 ай бұрын
bugrock
@GameskoTV
@GameskoTV 2 ай бұрын
yeah but directx not opengl
@causalguide
@causalguide 2 ай бұрын
​​​@@smqfland the original Minecraft Java:Lag Edition
@RoseGoldKR
@RoseGoldKR 3 ай бұрын
I also jumped into the deep end and started learning 3D programming, C++ and OpenGL for the first time by making a minecraft clone and went through pretty much the exact same steps you did but hit a brick wall due to my lack of knowledge. Seeing a simple and easy to read working model (even if inefficient) like yours is going to make my learning so much easier! Thank you for sharing this project!
@wsalevan
@wsalevan 3 ай бұрын
I'm glad my project could help you!
@Console.Log01
@Console.Log01 3 ай бұрын
I started my first c++ project a little over a year ago, and I'm still working on the same game (albeit I've restarted from scratch twice) and the improvement is massive. Keep going!
@wsalevan
@wsalevan 3 ай бұрын
Nice. C++ is a difficult but fun language. Thanks! Good luck on your game!
@TheBcoolGuy
@TheBcoolGuy 3 ай бұрын
You should try making a small project in just a few days, like Ludum Dare, so you'll have taken a project through all stages of production. It really helps.
@dampfwatze
@dampfwatze 3 ай бұрын
It is actually very suboptimal to create a new thread for every chunk. Creating a thread has significant overhead. Your program has to reach out to the OS and the OS itself takes really long to create this thread. Instead, what you usually to is to create many threads at the start of the program (usually as many as you have CPU cores) and build some sort of task queue, from where the threads take tasks that need to be executed. This is called a threadpool and there are libraries out there. These tasks might also be referred to as "light threads" or similar. And having more threads running than the CPU has cores, leads to bad performance too. In this Situation, every core has to run multiple threads (with similar amount of work) at once, which leeds to excessive context switching. This means, the core has to switch the running thread every few cycles, which has major overhead.
@wsalevan
@wsalevan 3 ай бұрын
Thanks for the suggestion! I did come across threadpools in my research, but I had so much trouble implementing threads that I decided to hold off until a future video
@vinhtiennguyen1292
@vinhtiennguyen1292 Ай бұрын
With this big magnitude for your first c++ project I can't imagine how many companies out there are trying to recruit you
@wsalevan
@wsalevan Ай бұрын
None :(
@mariovelez578
@mariovelez578 3 ай бұрын
Directional diffuse lighting is easy to implement and will make it way easier to see blocks. Also, I made a (unfinished) Minecraft clone as my first C++ project and did it mostly how you did. Don’t worry about optimizations right away, just get things working, I feel like it’s better learning to make mistakes and then fixing them rather than worrying about all optimizations at the start. Also, if you think 140 lines of code is a lot for a triangle, just wait until you try Vulkan
@wsalevan
@wsalevan 3 ай бұрын
I'm definitely going to be playing with shaders in the next episode. Now that I look at it, the video is a bit hard to look at lol. I agree with you about the optimizations. I'm going to be slowly optimizing it over time instead of doing it all at once. I did a bunch of optimizations at the end because I was so close to 10 minutes of runtime and wanted to push it past that point. Vulkan sounds scary lol
@multiarray2320
@multiarray2320 3 ай бұрын
​@@wsalevanvulkan is the german word for volcano. people already died from volcanos. therefore i can agree that they are scary. jokes aside it was a great video.
@wsalevan
@wsalevan 3 ай бұрын
Haha I'm glad you enjoyed the video
@callmedanker
@callmedanker 3 ай бұрын
Impressive from both coding and video making sides. Really thought I'm watching some popular youtuber before I've noticed the sub and view count. An amazing job as for someone new into this!
@wsalevan
@wsalevan 3 ай бұрын
Thank you! I'm glad you enjoyed the video!
@Dominator046
@Dominator046 2 ай бұрын
Video's awesome. Aesthetic, clean, and fun. Touched all the nerdy parts of my brain I haven't touched since I graduated CompSci. Subscribed.
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@Shadows0fowls
@Shadows0fowls 3 ай бұрын
This is such a cool and entertaining video. your video got recommended to me and i just clicked on it to check what this is. i watched thru the whole video since i like programming and reading code etc. and the way you edited the video and told how you did things etc it made everything so well done! great job you got me subscribed mate:)
@wsalevan
@wsalevan 3 ай бұрын
Thanks! I'm glad you enjoyed it!
@BAG864
@BAG864 2 ай бұрын
Nicely done mate! That’s impressive. Can’t wait for the next vid
@wsalevan
@wsalevan 2 ай бұрын
Thanks! The next one will come soon ;)
@FuGyz
@FuGyz 3 ай бұрын
THIS LOOKS AMAZING ALREADY! (I could never)
@wsalevan
@wsalevan 3 ай бұрын
Thanks! You can accomplish amazing things if you put your mind to it... and research
@marcboss
@marcboss 3 ай бұрын
I'm in the video, yes you should do a video about the first attempt. This is very impressive for your first C++ project and the editing is also great
@wsalevan
@wsalevan 3 ай бұрын
Thank you! I'll definitely make that first attempt video
@kazumiii
@kazumiii 2 ай бұрын
🇷🇴
@RealPnoenix
@RealPnoenix 3 ай бұрын
I have no idea what video I watched to subscibe to you, but I'm glad that I am subscribed lol, good video ❤
@wsalevan
@wsalevan 3 ай бұрын
Thank you! I'm glad you enjoyed the video!
@coolboj3726
@coolboj3726 2 ай бұрын
That looks soo cool. Love you content
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@mawzyyyy
@mawzyyyy 2 ай бұрын
One Russian man named MihailRis has already done minecraft in C++ and continues, I hope you get something like him, he already has an interface, main menu, mods and much more!
@wsalevan
@wsalevan 2 ай бұрын
I'm planning on adding all those features! My videos are focused more on the learning process than the result because I'm new to C++, so it might take a while to get that far lol. But I'll get there someday
@JgHaverty
@JgHaverty Ай бұрын
A company named Mojang has already done minecraft in C++ and I hear its the most sold game of all time. Seems like its a pretty useable platform!
@ProSureString
@ProSureString 3 ай бұрын
So cool! I love this!
@wsalevan
@wsalevan 3 ай бұрын
Thanks!
@ProSureString
@ProSureString 3 ай бұрын
@@wsalevan ofc
@Drjones117
@Drjones117 3 ай бұрын
This video inspired me to also make a minecraft clone. I've always wanted to give it a try.
@wsalevan
@wsalevan 3 ай бұрын
That's awesome! Good luck!
@enzoo5333
@enzoo5333 Ай бұрын
That is amazing bro
@FortuneBeatz
@FortuneBeatz 2 ай бұрын
This is definitely gonna blow up
@wsalevan
@wsalevan 2 ай бұрын
We'll hope so
@J.77C
@J.77C 2 ай бұрын
Here at 900 subs bro! I believe in you
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@kaya_stu
@kaya_stu 3 ай бұрын
bro made bedrock edition..
@SuperLimeWorld
@SuperLimeWorld 3 ай бұрын
You are epic , keep it up 🔥🔥
@wsalevan
@wsalevan 3 ай бұрын
Thanks! I'll keep 'em coming!
@TheCreatorReviews
@TheCreatorReviews 3 ай бұрын
amazing! keep it up man
@wsalevan
@wsalevan 3 ай бұрын
Thanks!
@stockspieler-yv1fs
@stockspieler-yv1fs 2 ай бұрын
Very well done for such a "small" channel. You wont be small for long...
@wsalevan
@wsalevan 2 ай бұрын
Thanks! Hopefully...
@YooAzula8262
@YooAzula8262 2 ай бұрын
That was a very very cool video.
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@buzzbuzz20xx
@buzzbuzz20xx 3 ай бұрын
Amazing video I love how you show the code
@wsalevan
@wsalevan 3 ай бұрын
Thanks!
@AndrieMC
@AndrieMC 2 ай бұрын
yeah, he also explains it more and shows it unlike other people who just say what they added removed or changed that the player would notice (e.g new block, lighting, etc)
@bibekdas7449
@bibekdas7449 Ай бұрын
A new minecraft edition on the horizon: Minecraft Evan Edition.
@ZeAloTxxx
@ZeAloTxxx 3 ай бұрын
that's insane bro, waiting for the next part. btw what do u think about implementing Distant Horizons' render distance mechanics in the future?
@wsalevan
@wsalevan 3 ай бұрын
Thanks! I'm working on the next part now. I'm definitely going to be implementing level of detail at some point. I have other essential features I want to add first, though.
@HTFilo02
@HTFilo02 2 ай бұрын
Hello brother you are on fyp congrats!!!🎉🎉🎉
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@MohsenFarajYT
@MohsenFarajYT 2 ай бұрын
Bro i had nightmares trying to make a gui with cpp... It was so bad that i quit it forever and went to web development 😂 this bro casually comes with sunglasses on and says ah yes... I am new to cpp, so i am making MINECRAFT CLONE! and proceeds to make the basics like a chad. What a man! Well done 🔥 it's really impressive 👍
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@pohodovejrybar5918
@pohodovejrybar5918 2 ай бұрын
"I Made a Minecraft Clone in C++" you mean bugrock edition but without bugs? YEY
@wsalevan
@wsalevan 2 ай бұрын
I think it'll end up with way more bugs that bedrock edition lol
@untodesu
@untodesu 3 ай бұрын
I guess welcome to the voxel gamedev community
@wsalevan
@wsalevan 3 ай бұрын
Apparently that's the content I'm doing now lol
@untodesu
@untodesu 3 ай бұрын
@@wsalevan well it's still a good fun to make voxels work
@wsalevan
@wsalevan 3 ай бұрын
Yes it is. I'm enjoying this project a lot
@TechflashYT
@TechflashYT 3 ай бұрын
This is amazing! You deserve more subs and likes dude. You've at least gained one from me. I hope to see more in the future!
@wsalevan
@wsalevan 3 ай бұрын
Thank you! I'm glad you enjoyed it! I'll definitely make them more consistently than I have been lol
@nemongames9871
@nemongames9871 22 күн бұрын
1:07 wait until you find out about Vulkan…
@JustoM280
@JustoM280 2 ай бұрын
BRO THATs AWSOME!!!!!!!!!!!!!!!
@wsalevan
@wsalevan 2 ай бұрын
Thanks!
@Bl0xxy
@Bl0xxy 2 ай бұрын
This is really awesome! Mojang should take inspiration and make a C++ version of the game. Hope they don't add any in-game purchases tho
@wsalevan
@wsalevan 2 ай бұрын
Yeah that would be horrible if they added micro transactions to Minecraft...
@Bl0xxy
@Bl0xxy 2 ай бұрын
@@wsalevan fr
@Bl0xxy
@Bl0xxy 2 ай бұрын
@@wsalevan also how tf do you deal with C++ you inspired me to try to learn C++ and C++ inspired me to jump into traffic me and my small brain will stick to regular C :D
@wsalevan
@wsalevan 2 ай бұрын
I just don't use features of C++ that I didn't learn yet and then slowly learn them over time
@Bl0xxy
@Bl0xxy 2 ай бұрын
@@wsalevan WAIT THAT"S SMART I dont understand the point of references, why cant we just use pointers/addresses Could you explain why you'd use a reference instead of an address
@ryebelen7772
@ryebelen7772 2 ай бұрын
Love the vid, am thinking about making one myself as well. Please upload a more technical breakdown of the code
@wsalevan
@wsalevan 2 ай бұрын
Thanks! I'll definitely make one at some point.
@farbrorjosn
@farbrorjosn Ай бұрын
Decided to step it up a "Notch" Nice :D
@xdflame7712
@xdflame7712 2 ай бұрын
damn so you're making this in c++ and opengl with no engine? crazy impressive for a first project.
@mila-d5b
@mila-d5b 2 ай бұрын
chat gpt going crazy
@xdflame7712
@xdflame7712 2 ай бұрын
@@mila-d5b what?
@xdflame7712
@xdflame7712 2 ай бұрын
@@mila-d5b what?
@PranjalShukla-im9zb
@PranjalShukla-im9zb 2 ай бұрын
@@mila-d5b what makes u think he cheated?
@Goop101_0
@Goop101_0 2 ай бұрын
video=10000000 my brain=0.000000001
@Ranamo_
@Ranamo_ 2 ай бұрын
Sun is burned into my eyes so I can't watch your cool video fully
@wsalevan
@wsalevan 2 ай бұрын
Oh no
@RichardLópez-i5c
@RichardLópez-i5c 2 ай бұрын
WSAL: am bad at cpp. Also WSAL: I made Minecraft 👏
@wsalevan
@wsalevan 2 ай бұрын
I made Minecraft but the code is atrocious lol
@forest6008
@forest6008 3 ай бұрын
now imagine doing this in vulkan, its 900 lines for a single triangle
@wsalevan
@wsalevan 3 ай бұрын
Yeah I think I'm going to remain blissfully ignorant for now lol
@vishwasraj1341
@vishwasraj1341 2 ай бұрын
You are hired mr. Microsoft is waiting. ✌🏻
@wsalevan
@wsalevan 2 ай бұрын
Bet
@vishwasraj1341
@vishwasraj1341 2 ай бұрын
@@wsalevan dude you can't come overseas to celebrate 🥂 cheers
@americanhuman1848
@americanhuman1848 2 ай бұрын
very noice. c++ is my favorite language with c being second. also, you should see the amount of code required to create a window using raw WinAPI, its pretty awful
@wsalevan
@wsalevan 2 ай бұрын
I don't even wanna know what that looks like...
@dropzaudios
@dropzaudios 2 ай бұрын
This is so impressive considering i am struggling to make a calculator in c++
@wsalevan
@wsalevan 2 ай бұрын
Thanks! C++ is hard
@ElectricoGamez
@ElectricoGamez 2 ай бұрын
If Microsoft ever sees this and are interested in achieving the dream of ending off Java edition Minecraft, they're probably gonna wanna hire you onto their team and aquisate you for your amazing project clone...
@wsalevan
@wsalevan 2 ай бұрын
Totally
@jvhstudios9804
@jvhstudios9804 3 ай бұрын
Bro this sh*t is underrated
@smooll_d
@smooll_d 2 ай бұрын
This is NOT bro's first C++ project 💀 But genuinely, This is so fucking impressive. My first project in C++ was a login/registration system in the terminal.
@wsalevan
@wsalevan 2 ай бұрын
Thanks! It is my first project though it is also my second attempt at it. The first one failed miserably but taught me a lot lol. That's why this one went as well as it did.
@jarglo33true60
@jarglo33true60 3 ай бұрын
If he did, Vulkan. He would be crying. I am, especially because I messed up one line, and now my 1 triangle won't show up.
@wsalevan
@wsalevan 3 ай бұрын
Vulkan scares me
@sathpremsital8750
@sathpremsital8750 2 ай бұрын
"it only took this much code for a single triangle" (shohws 149 lines) me who has been using vulkan and just today got a triangle at code line 1000:
@wsalevan
@wsalevan 2 ай бұрын
Vulkan scares me
@scaredrabbitnl
@scaredrabbitnl 2 ай бұрын
WSAL Evan presents: Minecraft Bedrock Edition
@RegenStudioOFFICIAL
@RegenStudioOFFICIAL 2 ай бұрын
I made a Minecraft Clone too, but for the PSP based in C++ i have it on my youtube channel Good video Bro 🤍
@porky1118
@porky1118 Ай бұрын
A while ago I saw a video, where somebody optimized the performance for rendering in minecraft. Not sure where to find it, though. He got the rendering performance up by a factor of a million or something by taking advantage of the fact, that all faces only face in once direction and only the surface ones are shown.
@forbiddentictactoe1734
@forbiddentictactoe1734 2 ай бұрын
Super impressive! How did you learn base c++?
@wsalevan
@wsalevan 2 ай бұрын
Thanks! I learned from learncpp.com
@VaralakshmiP-q4x
@VaralakshmiP-q4x 2 ай бұрын
You're a god
@Fantasy9967
@Fantasy9967 3 ай бұрын
Siiick
@Gregthecool800
@Gregthecool800 2 ай бұрын
Looks a lot better than the Bedrock Edition of Minecraft.
@Failed096
@Failed096 2 ай бұрын
"dude, i cant afford minecraft, lemme make my own"
@wsalevan
@wsalevan 2 ай бұрын
My exact thought process
@MichaelPohoreski
@MichaelPohoreski 3 ай бұрын
5:35 DEBUG builds typically have NO optimizations so real-time rendering will be extremely slow. In large codebases such as UE5 it isn’t uncommon to compile _most of the program with optimizations_ on and to _turn off optimizations for the few functions_ you need to debug.
@wsalevan
@wsalevan 3 ай бұрын
Yeah I definitely didn't explain myself very well in the video. I knew that debug builds don't have optimizations but I wasn't expecting that big of a difference. It's not shown very well in the video but the chunks take about a fifth of the time to generate when in a release build
@MichaelPohoreski
@MichaelPohoreski 3 ай бұрын
@@wsalevan It depends on the task but yup, while computers are extremely fast the overhead of no optimizations, debug information, exceptions, and type safety can add up _significantly._ On a few Wii games I worked on I built our graphics library with full optimizations and compiled the rest of the game with debug info. and no optimizations to make it easier to trace when it crashed. It is always fun to see the performance difference between no optimizations and -O2 or -O3.
@wsalevan
@wsalevan 3 ай бұрын
Wow that's crazy. Yeah I never would've thought that the optimizations would have quite that big of an effect
@MichaelPohoreski
@MichaelPohoreski 3 ай бұрын
@@wsalevan If you haven't seen it already you will love checking out Matt's excellent Compiler Explorer (godbolt) to see how various compilers optimize code.
@wsalevan
@wsalevan 3 ай бұрын
I'll check it out. Compilers are pretty cool
@Jimmith829
@Jimmith829 3 ай бұрын
cool video
@wsalevan
@wsalevan 3 ай бұрын
Thanks!
@TomasRay
@TomasRay 2 ай бұрын
Shadows would add a lot.
@wsalevan
@wsalevan 2 ай бұрын
True
@TomasRay
@TomasRay 2 ай бұрын
@@wsalevan Apparently I was only four days late, oh well.
@wsalevan
@wsalevan 2 ай бұрын
Well I didn't add proper shadows yet. I just have basic diffuse lighting
@pythonANDcpp69
@pythonANDcpp69 Ай бұрын
gj bro
@wsalevan
@wsalevan Ай бұрын
Thanks
@turtlecode6435
@turtlecode6435 2 ай бұрын
Now, add fireflys !
@wsalevan
@wsalevan 2 ай бұрын
I'll put it on my to-do list. Love the idea lol!
@RaptorexCorcovatus
@RaptorexCorcovatus 2 ай бұрын
Could you make a tutorial as to how to download the C++ compiler + OpenGL library. Awesome video
@wsalevan
@wsalevan 2 ай бұрын
When I get better at C++, I wanna make a whole tutorial series. I just use Visual Studio, so I never downloaded a separate compiler. As for OpenGL, I followed learnopengl.com
@RaptorexCorcovatus
@RaptorexCorcovatus 2 ай бұрын
@@wsalevan Wait so that's it, you just get it from Visual Studio
@wsalevan
@wsalevan 2 ай бұрын
Yup
@SoftPankekULTRA
@SoftPankekULTRA Ай бұрын
Perfect bedrock clone
@CreatorOfContent-c1n
@CreatorOfContent-c1n Ай бұрын
Are you gonna comment this on every one of his videos?
@irolup
@irolup 2 ай бұрын
You should had PBR materials with pathtracing
@wsalevan
@wsalevan 2 ай бұрын
I'm definitely going to do that sometime in the future
@yanmg_xd
@yanmg_xd 2 ай бұрын
bro is making bedrock edition but good 🙏🔥🔥
@TheGeniusJanUncensored
@TheGeniusJanUncensored 2 ай бұрын
He just made Bedrock Edition Minecraft, Bedrock runs C++.
@dregoscatgaming
@dregoscatgaming 2 ай бұрын
Wow! Can you do a tutorial pls? I searched how to do it, but i didn't understand what to install and there's no a normal wiki that is up to date!
@wsalevan
@wsalevan 2 ай бұрын
I am very unqualified to make a tutorial and would probably do more harm than good if I tried making one. I don't know about C++ Minecraft tutorials but I learned everything about C++ and OpenGL from learncpp.com and learnopengl.com
@TheGLGAMINGINFO
@TheGLGAMINGINFO 2 ай бұрын
Bruh... My first C++ program was Hello World 😂😂😂
@wsalevan
@wsalevan 2 ай бұрын
To be fair, this project started out as hello world lol
@TheGLGAMINGINFO
@TheGLGAMINGINFO 2 ай бұрын
@@wsalevan 😅 How and where did you learn making vertices to make 3d shapes. I have learned C++ from my university and they never told us about 3d shapes and GUI like stuff. I tried to find online but didn't understand anything. I have made apps in java with android studio and dart in flutter but they provide premade library. I want to create something custom like you have in this video. Can you tell me a little bit of road map. Do I really have to learn openGl with this as well? My skill level in C++ is.... In my last project I made a game which ran in cmd. It was a robot catching numbers. I used 2d array to create game area. And gave the game some colors using ANSI escape characters, Which control the color of text and it's background.
@wsalevan
@wsalevan 2 ай бұрын
To start making graphics, you need some sort of graphics library which is probably why they never taught you about it in university. I would recommend OpenGL to start with but there are others such as Vulkan and DirectX as well. If you want to use OpenGL, I would recommend following learnopengl.com.
@TheGLGAMINGINFO
@TheGLGAMINGINFO 2 ай бұрын
@@wsalevan 👍 thanks❤️
@thomasoshaughnessy3710
@thomasoshaughnessy3710 2 ай бұрын
1:40 149 lines for a triangle... I dare you to try this in Vulkan xD
@wsalevan
@wsalevan 2 ай бұрын
Vulkan scares me
@BubblegumChewer
@BubblegumChewer 2 ай бұрын
where did you learn this stuff? which playlists or courses did you use?
@wsalevan
@wsalevan 2 ай бұрын
I used learnopengl.com and learncpp.com
@hurmpel
@hurmpel 3 ай бұрын
Next video collisions or binary greedy meshing
@wsalevan
@wsalevan 3 ай бұрын
I have the next few videos planned out already but I'm definitely planning on adding collisions soon and greedy meshing at some point when I do a bunch of optimizations
@calof_
@calof_ 2 ай бұрын
Cara achei teu video muito bom, um dia eu vou me aventurar e criar um game também
@Ocean10230
@Ocean10230 Ай бұрын
Minecraft: CPP Edition
@jeffhaskin895
@jeffhaskin895 3 ай бұрын
subscribed
@chukroid
@chukroid 2 ай бұрын
Any tips on how I can study this
@wsalevan
@wsalevan 2 ай бұрын
I used learncpp.com and learnopengl.com for this video. I would recommend just starting simple and working your way up from there. Take each step of the process of making a game like this one step at a time and don't worry too much about optimizations or anything until you get it working.
@chaos9790
@chaos9790 2 ай бұрын
make the font bigger in the timelapse please
@wsalevan
@wsalevan 2 ай бұрын
I'll keep that in mind for future videos
@mesocrisetus1983
@mesocrisetus1983 2 ай бұрын
Now, i dont want to be a programmer! haha
@magnuswootton6181
@magnuswootton6181 3 ай бұрын
Im glad it wasnt object oriented, I cant code it for nuts.
@silverwerewolf975
@silverwerewolf975 Ай бұрын
Where i can learn all this? I already know advanced programming on plain c but nothing of game dev
@AndrewStevenson654
@AndrewStevenson654 25 күн бұрын
Where did you learn how to do this
@TriviaQuizocity
@TriviaQuizocity 2 ай бұрын
Cool, now do it in raw machine code
@wsalevan
@wsalevan 2 ай бұрын
Bet
@nipury
@nipury 3 ай бұрын
minecraft bedrock: I don't exist 🤣
@wsalevan
@wsalevan 3 ай бұрын
Yeah Minecraft has never been made in C++ before lol
@SillyGuy360
@SillyGuy360 2 ай бұрын
Imagine if he fixes minecrafts bedrocks bugs
@wsalevan
@wsalevan 2 ай бұрын
That is if they even come up
@AndrieMC
@AndrieMC 2 ай бұрын
huge chance that they wont
@HAKANKOKCU
@HAKANKOKCU 2 ай бұрын
works gr8 on intel core 2 duo + gt 220m
@wsalevan
@wsalevan 2 ай бұрын
Awesome
@FeroxOccisor
@FeroxOccisor 3 ай бұрын
You sound just like Acerola
@wsalevan
@wsalevan 3 ай бұрын
It's the nerd voice lol
@porky1118
@porky1118 Ай бұрын
I suggest not using OpenGL anymore, but WGPU. WGPU is a more modern rendering API written on top of the lower level Vulkan, originally supposed to be a more modern OpenGL for the web, but not as close to hardware as Vulkan, which would be difficult/impossible on the web. But it's just a modern rendering API, without the old features and closer to Vulkan. It especially doesn't use global variables internally, but instead relies on structs. Also it's cross platform and works on Apple, which doesn't support OpenGL anymore.
@wsalevan
@wsalevan Ай бұрын
Hmmm I'll look into it
@alikhairy3023
@alikhairy3023 3 ай бұрын
I tried making minecraft clone using vulkan, took me a lot
@wsalevan
@wsalevan 3 ай бұрын
Yeah I don't have any experience with vulkan but I heard it's harder than OpenGL. Good luck!
@reflexcx
@reflexcx 2 ай бұрын
Well i have same bad news They already made it
@wsalevan
@wsalevan 2 ай бұрын
Big sad
@Zifowk
@Zifowk 3 ай бұрын
Idk if you’ll answer but how did you learn c++ im 11 but super interested in how to code and it would help me as all the KZbin tutorials I don’t really understand
@wsalevan
@wsalevan 3 ай бұрын
I learned C++ from learncpp.com. Though I already had a lot of programming experience when I started learning it. I actually started learning coding when I was 11 and I started with Scratch. If you want to start making games right off the bat, I would recommend learning something easier than C++ such as Scratch, Python and PyGame, or Unity/Godot/Unreal. If you learn an easier language, most of those skills will be easily transferrable to more difficult languages.
@Zifowk
@Zifowk 3 ай бұрын
@@wsalevan yeah I have some programming experience with JavaScript and c# also scratch
@wsalevan
@wsalevan 3 ай бұрын
Nice. If you want to get started with C++, I'd recommend learncpp.com and for OpenGL, learnopengl.com
@TheRaidyriwe
@TheRaidyriwe 2 ай бұрын
Minecraft budrock 2 without bugs?
@wsalevan
@wsalevan 2 ай бұрын
Nah I think it's going to have many many more bugs lol
@MathdallasRblx
@MathdallasRblx 2 ай бұрын
Fun fact: Minecraft bedrock edition is actually made in c++
@Rubin-Igor
@Rubin-Igor 2 ай бұрын
minecraft bedrock is in c++ xD
@wsalevan
@wsalevan 2 ай бұрын
We don't talk about bedrock edition
@AndrieMC
@AndrieMC 2 ай бұрын
yeah though bedrock edition was originally created as minecraft for phones but then they replaced console edition and kinda tried to replace java but they failed
@strokkur24
@strokkur24 3 ай бұрын
And now do the same thing, but in pure C 😅. It is just C++, but forget pretty much everything that makes that language usable. Ah yes, the good ol' days where all you had were structs, and... methods & variables. Classes? What are those? Namespaces? Funny. std::vector? Use an array instead :P. Nah but for real, nice first C++ project, and you should not torture yourself with C. All I said is just a joke haha. Keep up the motivation!
@wsalevan
@wsalevan 3 ай бұрын
Haha maybe a few years down the line
@vupni
@vupni Ай бұрын
do you have any tips for learning opengl?
I Tried Adding Lighting to My C++ Minecraft Clone...
11:42
WSAL Evan
Рет қаралды 59 М.
I Made an AI with just Redstone!
17:23
mattbatwings
Рет қаралды 1,2 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Симбочка Пимпочка
Рет қаралды 4,6 МЛН
路飞做的坏事被拆穿了 #路飞#海贼王
00:41
路飞与唐舞桐
Рет қаралды 25 МЛН
I played 5 Minecraft-like games you never heard of
15:08
Whimzee
Рет қаралды 581 М.
Can You Charge A Phone with Marbles?
18:06
Engineezy
Рет қаралды 1,2 МЛН
Breaking the No.1 Rule in Solo Game Development | Devlog 0
13:26
Python Developer learns Rust (and remaking my chess engine)
16:18
TheSandwichCoder
Рет қаралды 60 М.
I Made a Zero Player Game
12:30
Sam Hogan
Рет қаралды 10 МЛН
This YouTuber Faked 100 Records, So I Actually Beat Them
22:25
Yeah Jaron
Рет қаралды 11 МЛН
My game is 262,000 times faster than Minecraft. I'll show you how.
12:20
IGoByLotsOfNames
Рет қаралды 1,2 МЛН
The Problem With Procedural Generation
17:57
Acerola
Рет қаралды 205 М.
We Built the Internet in Minecraft
25:18
Branzy
Рет қаралды 3,3 МЛН