I Made a Minecraft Clone in C++

Поділитися
Вставка
  • Опубліковано 24 лис 2024

КОМЕНТАРІ • 315

  • @wsalevan
    @wsalevan  2 місяці тому +42

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

      I would like to see a much more technical and in depth explanation of the code

    • @Scudmaster11
      @Scudmaster11 2 місяці тому +1

      Isn't bedrock programmed in c++ ?

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

      @Scudmaster11 Yup

    • @wsalevan
      @wsalevan  2 місяці тому +2

      @Mineninja12 Bet

    • @Richard-gs7sy
      @Richard-gs7sy 2 місяці тому +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 2 місяці тому +176

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

    • @wsalevan
      @wsalevan  2 місяці тому +13

      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 9 днів тому

      XD

  • @汉
    @汉 2 місяці тому +281

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

    • @wsalevan
      @wsalevan  2 місяці тому +20

      Thanks!

    • @YooAzula8262
      @YooAzula8262 2 місяці тому +4

      true. +1

    • @HoSza1
      @HoSza1 2 місяці тому +19

      not its first, 100%

  • @UtkuDeniz123
    @UtkuDeniz123 2 місяці тому +219

    Microsoft made a c++ clone of minecraft too

    • @ProSureString
      @ProSureString 2 місяці тому +30

      Lmfao

    • @wsalevan
      @wsalevan  2 місяці тому +43

      True

    • @smqfl
      @smqfl 2 місяці тому +22

      bugrock

    • @GameskoTV
      @GameskoTV 2 місяці тому +4

      yeah but directx not opengl

    • @causalguide
      @causalguide 2 місяці тому +6

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

  • @vinhtiennguyen1292
    @vinhtiennguyen1292 29 днів тому +3

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

  • @Console.Log01
    @Console.Log01 2 місяці тому +22

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

      Nice. C++ is a difficult but fun language. Thanks! Good luck on your game!

    • @TheBcoolGuy
      @TheBcoolGuy 2 місяці тому +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.

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

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

      I'm glad my project could help you!

  • @dampfwatze
    @dampfwatze 2 місяці тому +52

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

      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

  • @mariovelez578
    @mariovelez578 2 місяці тому +16

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

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

      Haha I'm glad you enjoyed the video

  • @callmedanker
    @callmedanker 2 місяці тому +4

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

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

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

      Thanks! I'm glad you enjoyed it!

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

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

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

  • @BAG864
    @BAG864 2 місяці тому +1

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

    THIS LOOKS AMAZING ALREADY! (I could never)

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

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

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

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

    • @kazumiii
      @kazumiii Місяць тому

      🇷🇴

  • @mawzyyyy
    @mawzyyyy Місяць тому +10

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

      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 13 днів тому

      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!

  • @coolboj3726
    @coolboj3726 Місяць тому +1

    That looks soo cool. Love you content

  • @kaya_stu
    @kaya_stu 2 місяці тому +23

    bro made bedrock edition..

  • @ZeAloTxxx
    @ZeAloTxxx 2 місяці тому +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  2 місяці тому +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.

  • @Drjones117
    @Drjones117 2 місяці тому +1

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

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

      That's awesome! Good luck!

  • @bibekdas7449
    @bibekdas7449 Місяць тому

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

  • @stockspieler-yv1fs
    @stockspieler-yv1fs Місяць тому +1

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

    • @wsalevan
      @wsalevan  Місяць тому +1

      Thanks! Hopefully...

  • @FortuneBeatz
    @FortuneBeatz 2 місяці тому +2

    This is definitely gonna blow up

  • @nemongames9871
    @nemongames9871 6 днів тому +1

    1:07 wait until you find out about Vulkan…

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

  • @J.77C
    @J.77C 2 місяці тому +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

  • @sakurako-omuroo
    @sakurako-omuroo 2 місяці тому +1

    dude, keep up! luv this vid

  • @enzoo5333
    @enzoo5333 Місяць тому +1

    That is amazing bro

  • @ProSureString
    @ProSureString 2 місяці тому +2

    So cool! I love this!

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

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

  • @TheCreatorReviews
    @TheCreatorReviews 2 місяці тому +1

    amazing! keep it up man

  • @ryebelen7772
    @ryebelen7772 2 місяці тому +1

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

    • @wsalevan
      @wsalevan  2 місяці тому +1

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

  • @buzzbuzz20xx
    @buzzbuzz20xx 2 місяці тому +1

    Amazing video
    I love how you show the code

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

      Thanks!

    • @AndrieMC
      @AndrieMC Місяць тому +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)

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

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

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

  • @xdflame7712
    @xdflame7712 2 місяці тому +3

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

  • @jarglo33true60
    @jarglo33true60 2 місяці тому +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  2 місяці тому +3

      Vulkan scares me

  • @YooAzula8262
    @YooAzula8262 2 місяці тому +1

    That was a very very cool video.

  • @SuperLimeWorld
    @SuperLimeWorld 2 місяці тому +1

    You are epic , keep it up 🔥🔥

    • @wsalevan
      @wsalevan  2 місяці тому +1

      Thanks! I'll keep 'em coming!

  • @untodesu
    @untodesu 2 місяці тому +2

    I guess welcome to the voxel gamedev community

    • @wsalevan
      @wsalevan  2 місяці тому +1

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

    • @untodesu
      @untodesu 2 місяці тому +2

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

    • @wsalevan
      @wsalevan  2 місяці тому +1

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

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

  • @forest6008
    @forest6008 2 місяці тому +2

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

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

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

  • @farbrorjosn
    @farbrorjosn Місяць тому +1

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

  • @ZeinotGaming
    @ZeinotGaming Місяць тому +1

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

  • @RichardLópez-i5c
    @RichardLópez-i5c Місяць тому +1

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

    • @wsalevan
      @wsalevan  Місяць тому

      I made Minecraft but the code is atrocious lol

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

  • @smooll_d
    @smooll_d Місяць тому +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  Місяць тому +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.

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

    video=10000000
    my brain=0.000000001

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

  • @JustoM280
    @JustoM280 2 місяці тому +1

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

  • @vishwasraj1341
    @vishwasraj1341 2 місяці тому +1

    You are hired mr. Microsoft is waiting. ✌🏻

    • @wsalevan
      @wsalevan  2 місяці тому +1

      Bet

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

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

  • @dropzaudios
    @dropzaudios Місяць тому +1

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

    • @wsalevan
      @wsalevan  Місяць тому

      Thanks! C++ is hard

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

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

    • @wsalevan
      @wsalevan  Місяць тому

      Thanks! I learned from learncpp.com

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

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

      Vulkan scares me

  • @thomasoshaughnessy3710
    @thomasoshaughnessy3710 Місяць тому +1

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

    • @wsalevan
      @wsalevan  Місяць тому

      Vulkan scares me

  • @RaptorexCorcovatus
    @RaptorexCorcovatus Місяць тому +1

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

    • @wsalevan
      @wsalevan  Місяць тому

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

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

    • @wsalevan
      @wsalevan  Місяць тому

      Yup

  • @irolup
    @irolup 2 місяці тому +1

    You should had PBR materials with pathtracing

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

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

  • @jvhstudios9804
    @jvhstudios9804 2 місяці тому +1

    Bro this sh*t is underrated

  • @turtlecode6435
    @turtlecode6435 Місяць тому +1

    Now, add fireflys !

    • @wsalevan
      @wsalevan  Місяць тому

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

  • @scaredrabbitnl
    @scaredrabbitnl 2 місяці тому +1

    WSAL Evan presents: Minecraft Bedrock Edition

  • @Failed096
    @Failed096 2 місяці тому +1

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

    • @wsalevan
      @wsalevan  2 місяці тому +1

      My exact thought process

  • @hurmpel
    @hurmpel 2 місяці тому +1

    Next video collisions or binary greedy meshing

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

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

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

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

      I'll check it out. Compilers are pretty cool

  • @TomasRay
    @TomasRay 2 місяці тому +1

    Shadows would add a lot.

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

      True

    • @TomasRay
      @TomasRay 2 місяці тому +1

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

  • @Gregthecool800
    @Gregthecool800 Місяць тому

    Looks a lot better than the Bedrock Edition of Minecraft.

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

  • @Fantasy9967
    @Fantasy9967 2 місяці тому +1

    Siiick

  • @VaralakshmiP-q4x
    @VaralakshmiP-q4x Місяць тому

    You're a god

  • @TheGeniusJanUncensored
    @TheGeniusJanUncensored Місяць тому +1

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

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

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

    bro is making bedrock edition but good 🙏🔥🔥

  • @Jimmith829
    @Jimmith829 2 місяці тому +1

    cool video

  • @pythonANDcpp69
    @pythonANDcpp69 Місяць тому +1

    gj bro

  • @calof_
    @calof_ 2 місяці тому +1

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

  • @silverwerewolf975
    @silverwerewolf975 17 днів тому

    Where i can learn all this? I already know advanced programming on plain c but nothing of game dev

  • @mesocrisetus1983
    @mesocrisetus1983 Місяць тому +1

    Now, i dont want to be a programmer! haha

  • @chaos9790
    @chaos9790 Місяць тому +1

    make the font bigger in the timelapse please

    • @wsalevan
      @wsalevan  Місяць тому

      I'll keep that in mind for future videos

  • @SoftPankekULTRA
    @SoftPankekULTRA Місяць тому

    Perfect bedrock clone

  • @BubblegumChewer
    @BubblegumChewer 2 місяці тому +1

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

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

      I used learnopengl.com and learncpp.com

  • @jeffhaskin895
    @jeffhaskin895 2 місяці тому +1

    subscribed

  • @MathdallasRblx
    @MathdallasRblx Місяць тому +1

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

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

      Hmmm I'll look into it

  • @alikhairy3023
    @alikhairy3023 2 місяці тому +1

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

    • @wsalevan
      @wsalevan  2 місяці тому +1

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

  • @magnuswootton6181
    @magnuswootton6181 2 місяці тому +1

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

  • @Ocean10230
    @Ocean10230 21 день тому

    Minecraft: CPP Edition

  • @TriviaQuizocity
    @TriviaQuizocity 2 місяці тому +1

    Cool, now do it in raw machine code

  • @FeroxOccisor
    @FeroxOccisor 2 місяці тому +1

    You sound just like Acerola

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

      It's the nerd voice lol

  • @ShamblerDK
    @ShamblerDK 2 місяці тому +1

    Hmmmm, now I wonder if an AI could translate current Minecraft Java into C#...

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

      Probably. I'm not sure how good of a job it'd do though

  • @HAKANKOKCU
    @HAKANKOKCU Місяць тому +1

    works gr8 on intel core 2 duo + gt 220m

  • @nipury
    @nipury 2 місяці тому +2

    minecraft bedrock: I don't exist 🤣

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

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

  • @TheRaidyriwe
    @TheRaidyriwe Місяць тому +1

    Minecraft budrock 2 without bugs?

    • @wsalevan
      @wsalevan  Місяць тому +1

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

  • @SillyGuy360
    @SillyGuy360 Місяць тому +1

    Imagine if he fixes minecrafts bedrocks bugs

    • @wsalevan
      @wsalevan  Місяць тому

      That is if they even come up

    • @AndrieMC
      @AndrieMC Місяць тому

      huge chance that they wont

  • @Rubin-Igor
    @Rubin-Igor 2 місяці тому +5

    minecraft bedrock is in c++ xD

    • @wsalevan
      @wsalevan  2 місяці тому +1

      We don't talk about bedrock edition

    • @AndrieMC
      @AndrieMC Місяць тому

      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

  • @Ford654
    @Ford654 8 днів тому

    Where did you learn how to do this

  • @Zifowk
    @Zifowk 2 місяці тому +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 UA-cam tutorials I don’t really understand

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

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

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

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

      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