Make a C++ game FULL COURSE!

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

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

  • @ninjaasmoke
    @ninjaasmoke 3 месяца назад +38

    i have absolutely nothing but respect for people like you. thank you.
    i’m not exactly a beginner to programming/software engineering, but wanted to pick up c++ (because most of my experience is in garbage collected languages). i’ve been learning c++ for the past 8 months (solving problems on leetcode and making small projects like a word spell checker cli, tcp client echo server.)
    now i stumbled upon this video when i wanted to make a small gui project.
    imma start with your tutorials.
    thanks again

  • @mrtitanhearted3832
    @mrtitanhearted3832 Год назад +39

    thank you so much! This video was very practical for me by showing exactly everything at least briefly instead of just saying them

  • @baptFulbion
    @baptFulbion Год назад +17

    Thank you so much! You explained clearly how to use your library (I wonder if it's not a tutorial for getting started with it), you explained theorical aspect of making a game before actually showing code, and that's perfect!!
    _(btw im famous cuz u showed my "hi youtube" on da discord)_

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

      well in a way it is a tutorial for using my library and framework and in a way I just wanted people to make their first game and after that use whatever they want. Glad you liked it and glad you became famous 😂💪

  • @HuntDownErebus
    @HuntDownErebus Год назад +62

    Lvl 80 content detected

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

    This is amazing! Also, the thing you used, frames, is exactly what I've been looking for! Gonna go research that now.
    Do you have any tutorials on it?
    If not, would you make one in the future?
    I'm planning to use it for a website simulator, and some other things.

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

      well that thing is just part of my ui library, I haven't inspired myself from any other resource but it is nothing fancy, you can find some more info on the glui repo woki or in my last video (the one about ui)

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

    Am learning cpp it's come to my recommendation❤

  • @Mindphaser1
    @Mindphaser1 18 дней назад

    Interesting and useful tutorial. Well done!

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

    3:40 I had no idea that "birght colors" exist! thanks :)

  • @4F6D
    @4F6D Год назад +15

    Going through a C++ book rn to catch up on all the topics I skipped as a kid. For me the hardest thing is knowing how much is enough knowledge to start with opengl. I read a whole chapter about pointers and references, watched javidx9 videos, watched the cherno, but I still cant really grasp how to use pointers or why they are in the specific sections in the code like singeltons. This is all really frustrating and feels like I will never be able.

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

      Here's a pro tip: just don't use them at first, try and make a small game with just a few enemies without them.
      You can have global arrays with a set number of max enemies, items, etc and just access what you want with indexing instead of pointers.
      If you want to avoid copying, just use references. But in this early stage, just focus on getting a game done.

    • @4F6D
      @4F6D Год назад

      @@PixelThorn I will try that thanks

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

      imo, watch the cherno videos again, they really helped me. Pointers are a difficult topic to first get around, but once you do, they are pretty simple, they're just integers holding values of addresses to variables. Try to do a simple addition program using pointers and references and you'll get the gist. It took me a while too.

    • @4F6D
      @4F6D Год назад +3

      @@afterlife1578 I know how pointers work and how to use them, but once the program gets complicated these are a nightmare to understand. The Chernos videos are unfortunately too shallow for real world usage.

    • @o1-preview
      @o1-preview Год назад

      your solution lies in understanding the C Language @@4F6D

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

    Could you do a video on cleaning code in c++?

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

    Thanks comrade! Interesting to see how make load screan and progress bar

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

    fantastic stuff, keep going

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

    Entity Component System. Either Can Be Player "Protagonist" and Main NPC That Destroys Player "Antagonist". Civilians and Victims are Miscellaneous. Assets as Atmosphere Design and More

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

    Nice video! It motivated me to start learning c++. one thing that game up when I downloaded initial commit and tried to run it I get errors for incompatible pointers in files in /thirdparty/raudio. Seems like I need to find a way to make it run with Linux or set up a windows VM

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

    im actually recreating this exact game but with raylib because i want to learn c++ but also try and stop myself from copying someone elses code.

  • @saletheoverthinker
    @saletheoverthinker 11 месяцев назад

    Really nice video! I have a question not exactly related to this video, what do you think of Unreal Engine and do you use it?

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

      I don't use engines so I'm not the person to ask this but from what I have seem it seems tedious to work with so I would rather use unity

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

    👌👌👌👌

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

    What's the website mentioned at 0:47 ? Code what?

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

      code wars

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

      @lowlevelgamedev9330 Oh wow, thanks! Wasn't expecting a reply from the man himself 😁

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

    Can't believe I caught the meme at 1:40 in that split second without even pausing. I need to touch grass.

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

    What resources did you use to get your game engine up and running and learn game dev?

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

      Handmade hero on youtube is the best one, you can find a ton more on my Discord tho, I have special channels for resources only 💪

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

    Great video thanks, I got it working! I'm studying a C++ course too at university, do you have some tips for how I can learn C++?

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

      well you already know some stuff if you are here so continue making some big projects from now and don't focus that much on the language itself, all the things you saw in that video are like 99% of what I use. If you want more cpp gamedev also search javidx9 on youtube and handmade hero 💪

  • @Laky_Simi1
    @Laky_Simi1 11 дней назад

    Which graphic library do you use?

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

      I have my own (it is called gl2d) but you can use whatever you want like sfml after you complete the tutorial, because you will get the idea

  • @neloth9874
    @neloth9874 9 месяцев назад +1

    Hi, I am new here by the way what's your C++ ide that you usually use to write your codes here, and also do I need to learn object-oriented programming in C++ to build games here?

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

      yo, I use visual studio (the purple one) I think that's your best option for cpp as long as you don't have a very old pc. Also oop is not needed, and many gamedevelopers including me actually stay away from it. 💪

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

      @@lowlevelgamedev9330 Oh! thanks mate, so I don't need to worry about oop for game development, well I do have i3-1220P CPU(laptop) with12 Gb ram with 512gb ssd(nvme), but I don't have external GPU only integrated (intel uhd graphics, which has only 128mb dedicated Vram and shared 6gb) one, is it enough to learn and create 2d games? or do I really need dedicated GPU with more Vram?

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

    Amazing video

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

    great video my friend!!!

  • @Presley-yt1
    @Presley-yt1 2 месяца назад

    hello, love your work but I believe a bit of documentation on the classes, methods e.t.c. would be helpful so I don't have to reverse engineer your library to find out all its functionality let a lone how to use them

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

      yo my 2d library has documentation, search github meemknight/gl2d wiki

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

    What is the application you using to run the code???

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

    I enjoy your channel a lot, but I feel like most of your advice is relevant for any language, not just C++.
    I understand why you personally prefer C++, but other languages are great too, and people successfully develop commercial games with them.
    I tried C++ too, but I still prefer Rust, and it's growing more popular by the day.

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

    Can you use Visual Studio Community Edition to create and compile your game for commercial use and sell?

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

      online is says something like
      As long as your company does not meet the enterprise definition, and no more than five people use Visual Studio. you can sell your software
      but since you won't make that much money with your first project make it and if you ever become a milionare you can worry about that aspect than 💪

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

    This is the exact guide I needed. However, I don't like C++ so I will stick with C and try to develop things on my own. I like Mathematics and Physics so it will be easier for me.

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

      Actually build games without classes may be harder than usual. But whatever you need for fun, ofc

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

      @@anywaylose3999 Yeah. Inheritance is goated fr.

  • @kartiknagrale1479
    @kartiknagrale1479 3 месяца назад

    Can we convert this to the website

  • @Barys-64
    @Barys-64 Месяц назад

    Unfortunately I wasn't able to make it work on my linux system. I am definitely missing something.

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

    I have a very naiive question but given that I am starting out with making games from scratch (I have been using unity for 6-7 years), so should I invest time in learning C++ or something like RUST which is new and upcoming?
    Thanks a lot for your videos btw.

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

      I personally don't think rust is that good for gamedev, and with cpp it will be clearly easier since there are many pleaces to learn it and do game dev with it, but ultimatelly it also matters which one you like more 💪

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

    have you solved the problem of scaling the aspect ratio?

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

      good question, I chose a game that doesn't have this problem because I wanted to make the video simple. If your game really needs a specific aspect ratio all you can do it resize the game and leave black portions or in full screen you can even request the monitor to use a specific aspect ratio

  • @jamesj738_
    @jamesj738_ 8 месяцев назад +1

    So I can’t open the file with visual studio and it is starting to upset me… which visual studio do you use??

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

      visual studio the purple one, (you can also use vs code but I don't recommand)
      make sure you have the cpp component for desktop developement installed (the one that has cmake)

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

    Gonna follow this but in Odin!

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

    Amazing video! Thanks for sharing bro!
    As a Mac/Linux user, I prefer VS Code.
    Am I missing to much by not using Visual Studio?

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

      depends, it has some very usefull things but I wouldn't say it is the end of the world

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

    Can you give tutorials on the Pika Engine with it's modeling and C++ scripting

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

    i wish to develop rts game like warcraft,command and conquer and supreme commander

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

    Would be nice to implement an npc in your minecraft clone

  • @souravpandey5823
    @souravpandey5823 11 месяцев назад

    Well do we need laptop with GPU to run this project?

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

    is gld2 better than stb-image for loading textures?

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

      good question, it's as good because I use exactly stb image in gl2d to load images😂😂😂😂

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

    the spaceGame.exe file was not there

  • @hpw-dev
    @hpw-dev 5 месяцев назад +1

    pls add timecodes to video

  • @Kanin_is.Beri_Good
    @Kanin_is.Beri_Good 5 месяцев назад

    for some reason i cant get the spacegame.exe to show up could you help me with that

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

      yo, you probably have some cmake errors, tag me on discord so we can fix it

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

    running into a problem when building. Apparently windows 8.1 sdk needs to be installed to build, but going to visual studio installer and searching for it yields no results

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

      also space game.exe is not appearing in the startup dropdown

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

      yeah that problem is common and it is wierd. You need to make sure that the right cpp comonents are installed, like the desktop cpp dev component. And if it still doesn't work you might need to try to reinstall visual studio and cmake (make sure you add the global path thing to the cmake) also tag me on discord if it doesn't work

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

      @@lowlevelgamedev9330 yeahhh at some point in time i must have removed components of desktop dev and now added the standard components back. It works

  • @Antithesis-vw5om
    @Antithesis-vw5om 7 месяцев назад

    Cant get it to open with VS and when I just clone the repository its not correct. Tried joining the discord but i get stuck in a loop of it needing my email to verify so I need to login but when I try to login it says my email is already verified and it doesn't do anything else! Very annoying, Im sure its something im not doing correctly but Idk how to fix that!

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

      it's kinda hard to tell what is the problem without being able to see some details. Just try to redo the steps that I do there, and if it's not working try to fix the discord and message me or tag me there

  • @4F6D
    @4F6D Год назад

    The player sprite is flipped...

    • @Darxad-po4fw
      @Darxad-po4fw 10 месяцев назад

      you can add a +180 degrees offset and it will be fine :D

    • @4F6D
      @4F6D 10 месяцев назад

      @@Darxad-po4fwIts flipped in the video

  • @МаркГришин-щ9и
    @МаркГришин-щ9и 10 месяцев назад

    cool video)

  • @lessmint
    @lessmint 11 месяцев назад +1

    ur deff romanian, not gonna lie

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

    this tut not it gng the map doesn't even load and i did all of your steps multiple times

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

      hm, you probably have the paths wrong, that is the most common error. You can try to copy the code from my github and see what you did wrong

  • @Agistar64
    @Agistar64 11 месяцев назад +1

    So c++ is easiest than unreal engeal 🤔 😮😮😮

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

    "then right click inside the folder" WICH FUCKING FOLDER DUDE 😭😭(edit: nvm im stupid)

  • @eprst0
    @eprst0 10 месяцев назад

    Да это неплохо разбираться в низкоуровневых веща. Но если вы хотите делать игры, то на мой взгляд, проще и быстрее это делать на движках.
    Но в любом случае за видео! ♥️

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

    Definitely not a beginner friendly

  • @Vlad-ho7ry
    @Vlad-ho7ry 9 месяцев назад

    tu esti roman

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

    I think bro is from russia

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

    Is there anyway I can test my game using only visual studio code?

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

    I'm new into this....Can't run this project in vs code🥲 plsssssss help

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

      I don't use vs code that often, I recomand using visual studio but if you can't, you need to install the cmake and the cpp extensions in vscode and there should be a similar way to open the folder and run the project

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

    Hey love your content mate but will you do a tutorial for making a 3D game engine I made a 2D game engine but I just cannot find good tutorials for making a 3D engine like yours thx ❤❤

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

      I'm thinking of making many tutorials so yes but it will take some time tho