I Made a Minecraft Clone in C++

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

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

  • @wsalevan
    @wsalevan  Месяц назад +38

    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 Месяц назад +1

      Isn't bedrock programmed in c++ ?

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

      @Scudmaster11 Yup

    • @wsalevan
      @wsalevan  Месяц назад +2

      @Mineninja12 Bet

    • @Richard-gs7sy
      @Richard-gs7sy Месяц назад +1

      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 Месяц назад +145

    bro said I'm not good at c++ then makes a Minecraft Clone. Good video you just earned a sub

    • @wsalevan
      @wsalevan  Месяц назад +11

      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

  • @汉
    @汉 Месяц назад +253

    This is actually insanely impressive for your first c++ program, great job

  • @UtkuDeniz123
    @UtkuDeniz123 Месяц назад +199

    Microsoft made a c++ clone of minecraft too

    • @ProSureString
      @ProSureString Месяц назад +27

      Lmfao

    • @wsalevan
      @wsalevan  Месяц назад +40

      True

    • @smqfl
      @smqfl Месяц назад +19

      bugrock

    • @GameskoTV
      @GameskoTV Месяц назад +3

      yeah but directx not opengl

    • @causalguide
      @causalguide Месяц назад +6

      ​​​@@smqfland the original
      Minecraft Java:Lag Edition

  • @dampfwatze
    @dampfwatze Месяц назад +49

    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  Месяц назад +9

      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

  • @Console.Log01
    @Console.Log01 Месяц назад +21

    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 Месяц назад +2

      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.

  • @mawzyyyy
    @mawzyyyy 23 дня назад +7

    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  22 дня назад

      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

  • @vinhtiennguyen1292
    @vinhtiennguyen1292 6 дней назад +1

    With this big magnitude for your first c++ project I can't imagine how many companies out there are trying to recruit you

  • @RoseGoldKR
    @RoseGoldKR Месяц назад +4

    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  Месяц назад

      I'm glad my project could help you!

  • @mariovelez578
    @mariovelez578 Месяц назад +13

    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  Месяц назад +7

      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  Месяц назад +1

      Haha I'm glad you enjoyed the video

  • @Dominator046
    @Dominator046 29 дней назад +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.

  • @Shadows0fowls
    @Shadows0fowls Месяц назад +2

    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  Месяц назад

      Thanks! I'm glad you enjoyed it!

  • @kaysta_dev
    @kaysta_dev Месяц назад +23

    bro made bedrock edition..

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

    Nicely done mate! That’s impressive. Can’t wait for the next vid

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

      Thanks! The next one will come soon ;)

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

    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  Месяц назад +1

      Thank you! 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  Месяц назад

      Thank you! I'm glad you enjoyed the video!

  • @FuGyz
    @FuGyz Месяц назад +2

    THIS LOOKS AMAZING ALREADY! (I could never)

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

      Thanks! You can accomplish amazing things if you put your mind to it... and research

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

    That looks soo cool. Love you content

  • @marcboss
    @marcboss Месяц назад +4

    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  Месяц назад +1

      Thank you! I'll definitely make that first attempt video

    • @kazumiii
      @kazumiii 26 дней назад

      🇷🇴

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

    This video inspired me to also make a minecraft clone. I've always wanted to give it a try.

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

      That's awesome! Good luck!

  • @ZeAloTxxx
    @ZeAloTxxx Месяц назад +4

    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.

  • @FortuneBeatz
    @FortuneBeatz Месяц назад +2

    This is definitely gonna blow up

  • @enzoo5333
    @enzoo5333 18 дней назад +1

    That is amazing bro

  • @stockspieler-yv1fs
    @stockspieler-yv1fs Месяц назад +1

    Very well done for such a "small" channel. You wont be small for long...

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

      Thanks! Hopefully...

  • @sakurako-omuroo
    @sakurako-omuroo Месяц назад +1

    dude, keep up! luv this vid

  • @ProSureString
    @ProSureString Месяц назад +2

    So cool! I love this!

  • @C.J.77
    @C.J.77 Месяц назад +1

    Here at 900 subs bro! I believe in you

  • @pohodovejrybar5918
    @pohodovejrybar5918 Месяц назад +4

    "I Made a Minecraft Clone in C++" you mean bugrock edition but without bugs? YEY

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

      I think it'll end up with way more bugs that bedrock edition lol

  • @bibekdas7449
    @bibekdas7449 10 дней назад

    A new minecraft edition on the horizon: Minecraft Evan Edition.

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

    amazing! keep it up man

  • @HTFilo02
    @HTFilo02 21 день назад +2

    Hello brother you are on fyp congrats!!!🎉🎉🎉

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

    That was a very very cool video.

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

    You are epic , keep it up 🔥🔥

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

      Thanks! I'll keep 'em coming!

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

  • @untodesu
    @untodesu Месяц назад +2

    I guess welcome to the voxel gamedev community

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

      Apparently that's the content I'm doing now lol

    • @untodesu
      @untodesu Месяц назад +2

      @@wsalevan well it's still a good fun to make voxels work

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

      Yes it is. I'm enjoying this project a lot

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

    Amazing video
    I love how you show the code

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

      Thanks!

    • @AndrieMC
      @AndrieMC 25 дней назад +1

      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)

  • @xdflame7712
    @xdflame7712 Месяц назад +3

    damn so you're making this in c++ and opengl with no engine? crazy impressive for a first project.

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

    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 👍

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

    Love the vid, am thinking about making one myself as well. Please upload a more technical breakdown of the code

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

      Thanks! I'll definitely make one at some point.

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

    DAMN, making a c++ game without even using unreal ... balzy

  • @forest6008
    @forest6008 Месяц назад +2

    now imagine doing this in vulkan, its 900 lines for a single triangle

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

      Yeah I think I'm going to remain blissfully ignorant for now lol

  • @RichardLópez-i5c
    @RichardLópez-i5c 25 дней назад +1

    WSAL: am bad at cpp. Also WSAL: I made Minecraft 👏

    • @wsalevan
      @wsalevan  25 дней назад

      I made Minecraft but the code is atrocious lol

  • @farbrorjosn
    @farbrorjosn 16 дней назад +1

    Decided to step it up a "Notch"
    Nice :D

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

    This is so impressive considering i am struggling to make a calculator in c++

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

      Thanks! C++ is hard

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

    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  Месяц назад

      I don't even wanna know what that looks like...

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

    Sun is burned into my eyes so I can't watch your cool video fully

  • @porky1118
    @porky1118 20 дней назад

    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.

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

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

  • @smooll_d
    @smooll_d 24 дня назад +1

    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  23 дня назад +1

      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.

  • @thomasoshaughnessy3710
    @thomasoshaughnessy3710 27 дней назад +1

    1:40 149 lines for a triangle... I dare you to try this in Vulkan xD

    • @wsalevan
      @wsalevan  27 дней назад

      Vulkan scares me

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

    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  Месяц назад

      Yeah that would be horrible if they added micro transactions to Minecraft...

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

      @@wsalevan fr

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

      @@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  Месяц назад

      I just don't use features of C++ that I didn't learn yet and then slowly learn them over time

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

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

  • @RegenStudioOFFICIAL
    @RegenStudioOFFICIAL 28 дней назад +2

    I made a Minecraft Clone too, but for the PSP based in C++ i have it on my youtube channel
    Good video Bro 🤍

  • @forbiddentictactoe1734
    @forbiddentictactoe1734 28 дней назад +2

    Super impressive! How did you learn base c++?

    • @wsalevan
      @wsalevan  28 дней назад

      Thanks! I learned from learncpp.com

  • @turtlecode6435
    @turtlecode6435 25 дней назад +1

    Now, add fireflys !

    • @wsalevan
      @wsalevan  25 дней назад

      I'll put it on my to-do list. Love the idea lol!

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

    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  Месяц назад

      Thank you! I'm glad you enjoyed it! I'll definitely make them more consistently than I have been lol

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

    BRO THATs AWSOME!!!!!!!!!!!!!!!

  • @Goop101_0
    @Goop101_0 23 дня назад +2

    video=10000000
    my brain=0.000000001

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

    "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  29 дней назад

      Vulkan scares me

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

    WSAL Evan presents: Minecraft Bedrock Edition

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

    You are hired mr. Microsoft is waiting. ✌🏻

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

      Bet

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

      @@wsalevan dude you can't come overseas to celebrate 🥂 cheers

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

    "dude, i cant afford minecraft, lemme make my own"

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

      My exact thought process

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

    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  Месяц назад +1

      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 Месяц назад +2

      @@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  Месяц назад +1

      Wow that's crazy. Yeah I never would've thought that the optimizations would have quite that big of an effect

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

      @@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  Месяц назад +1

      I'll check it out. Compilers are pretty cool

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

    Could you make a tutorial as to how to download the C++ compiler + OpenGL library. Awesome video

    • @wsalevan
      @wsalevan  29 дней назад

      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 29 дней назад

      @@wsalevan Wait so that's it, you just get it from Visual Studio

    • @wsalevan
      @wsalevan  29 дней назад

      Yup

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

    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  Месяц назад

      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

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

    Shadows would add a lot.

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

      True

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

      @@wsalevan Apparently I was only four days late, oh well.

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

      Well I didn't add proper shadows yet. I just have basic diffuse lighting

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

    where did you learn this stuff? which playlists or courses did you use?

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

      I used learnopengl.com and learncpp.com

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

    You should had PBR materials with pathtracing

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

      I'm definitely going to do that sometime in the future

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

    Cara achei teu video muito bom, um dia eu vou me aventurar e criar um game também

  • @porky1118
    @porky1118 20 дней назад

    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  19 дней назад +1

      Hmmm I'll look into it

  • @yanmg_xd
    @yanmg_xd Месяц назад +2

    bro is making bedrock edition but good 🙏🔥🔥

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

    Siiick

  • @TheGeniusJanUncensored
    @TheGeniusJanUncensored 22 дня назад +1

    He just made Bedrock Edition Minecraft, Bedrock runs C++.

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

    Bro this sh*t is underrated

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

    Looks a lot better than the Bedrock Edition of Minecraft.

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

    cool video

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

    make the font bigger in the timelapse please

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

      I'll keep that in mind for future videos

  • @SoftPankekULTRA
    @SoftPankekULTRA 8 дней назад

    Perfect bedrock clone

  • @TheGLGAMINGINFO
    @TheGLGAMINGINFO Месяц назад +2

    Bruh... My first C++ program was Hello World 😂😂😂

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

      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  Месяц назад +1

      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 Месяц назад +1

      @@wsalevan 👍 thanks❤️

  • @VaralakshmiP-q4x
    @VaralakshmiP-q4x Месяц назад

    You're a god

  • @pythonANDcpp69
    @pythonANDcpp69 20 дней назад +1

    gj bro

  • @nipury
    @nipury Месяц назад +2

    minecraft bedrock: I don't exist 🤣

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

      Yeah Minecraft has never been made in C++ before lol

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

    Cool, now do it in raw machine code

  • @vupni
    @vupni 14 дней назад

    do you have any tips for learning opengl?

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

    Next video collisions or binary greedy meshing

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

      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

  • @mesocrisetus1983
    @mesocrisetus1983 24 дня назад +1

    Now, i dont want to be a programmer! haha

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

    Im glad it wasnt object oriented, I cant code it for nuts.

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

    subscribed

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

    You sound just like Acerola

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

      It's the nerd voice lol

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

    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 RUclips tutorials I don’t really understand

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

      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 Месяц назад +1

      @@wsalevan yeah I have some programming experience with JavaScript and c# also scratch

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

      Nice. If you want to get started with C++, I'd recommend learncpp.com and for OpenGL, learnopengl.com

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

    Well i have same bad news
    They already made it

  • @Rubin-Igor
    @Rubin-Igor Месяц назад +5

    minecraft bedrock is in c++ xD

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

      We don't talk about bedrock edition

    • @AndrieMC
      @AndrieMC 25 дней назад

      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

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

    Minecraft budrock 2 without bugs?

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

      Nah I think it's going to have many many more bugs lol

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

    Any tips on how I can study this

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

      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.

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

    Imagine if he fixes minecrafts bedrocks bugs

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

      That is if they even come up

    • @AndrieMC
      @AndrieMC 25 дней назад

      huge chance that they wont

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

    Fun fact: Minecraft bedrock edition is actually made in c++

  • @MissingReports
    @MissingReports Месяц назад +2

    "I remade Minecraft bedrock edition"

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

      We don't talk about bedrock edition...

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

    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  Месяц назад +1

      Haha maybe a few years down the line

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

    Bedrock: wait a minute

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

      We don't talk about bedrock...

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

      @@wsalevan
      me(a bedrock player): *crying cat thumbs-up*

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

    Use structures instead of pairs and tuples. That way your code would be much more readbale and self explainable.

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

      That makes sense. Thanks for the suggestion!

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

    I tried making minecraft clone using vulkan, took me a lot

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

      Yeah I don't have any experience with vulkan but I heard it's harder than OpenGL. Good luck!