How to start Gamedev in C++

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

КОМЕНТАРІ • 104

  • @svelcan
    @svelcan 6 місяців тому +29

    Hello dude, since I started Uni I went from being exited to do programming to it being more of a chore, this videos really motivate me to do games which is why I wanted to study CS in the first place!

  • @viniciusantonio2253
    @viniciusantonio2253 7 місяців тому +98

    I'm scared of cmake, libraries and debug configurations

    • @zodey3611
      @zodey3611 7 місяців тому +7

      use rust and macroquad

    • @viniciusantonio2253
      @viniciusantonio2253 7 місяців тому

      @@zodey3611 I would, if I was not into getting a job and providing to a family

    • @InfiniteCoder01
      @InfiniteCoder01 7 місяців тому +11

      Cmake is not that hard... Unless you are using Visual Studio. In that case I would suggest either using premake or switching to vscode

    • @erkintek
      @erkintek 7 місяців тому +1

      Biggest reason I avoid cpp for a long time, second reason is library management

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +7

      yes it's kinda nasty that's why I recomand you to start with my setup and slowly learn 💪💪

  • @guildedpickle4755
    @guildedpickle4755 6 днів тому

    You sound like the janitor named Ahti in the video game Control. One of my favorite games. Ahti is a mysterious but crucial part of that game's storyline.

  • @light535
    @light535 7 місяців тому +19

    Man your channel is amazing. I'm making stuff in Unity first before making the big step to making everything myself.
    Great video as always!

  • @jackfrederiksen7979
    @jackfrederiksen7979 7 місяців тому +9

    You are literally a saint, thank you

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

    Im 14 and ive done some site making before but i wanted to make something i could use so i came here

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

    i love this mans enthusiam. + I want to learn how to code a game (I am 13) and I have no experience. Please help

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

      start learning cpp from any youtube tutorial 💪 if you get stuck you can ask me for help on my discord

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

      @@lowlevelgamedev9330 ok! could u possibly reccomend any youtube videos for me? idk which one to choose.

    • @k.Kayzen
      @k.Kayzen 10 днів тому

      Im 14 and my first language was python, my second one is c++, the way i learned c++ was with my older bro and W3Schools or something like that, try to give it a try i guess

  • @InfiniteCoder01
    @InfiniteCoder01 7 місяців тому +3

    Great "tutorial"! But I would do opening a window and loading opengl with a library at first (something like glfw) and then remaking this library by yourself if you want. This should encourage cross-platformness

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому

      yess that's what I also would recomand people

    • @silloo2072
      @silloo2072 7 місяців тому

      How that will encourage cross-paltformness

  • @Whispy1
    @Whispy1 7 місяців тому +3

    Hey I enjoyed the video and i have a question, what would be the benefit of learning C++ and a graphics api, instead of using a game engine like unity or unreal engine? I have been wanting to learn game development for a while now but never have fully jumped into it.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +2

      good question, depends on what you want to do, I enjoy it more like this. A advantage is that you will become a better programmer and you will get to do more advanced things. Manytimes, when you use an engine you don't really write that much code

    • @Baconator20000
      @Baconator20000 7 місяців тому +1

      It's also easier to implement optimizations like advanced culling and better hardware accel(that is if you're literally Him, You're literally that Guy)

    • @watchmytvjctechnology8448
      @watchmytvjctechnology8448 7 місяців тому +1

      ​@@lowlevelgamedev9330Many people who use game engine can't even resolve an AABB collision let alone calculating an angle where the player or enemies must fire bullets, everything is on the mercy of the engine .

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

    Hey, did you have a chance to check Odin?

  • @raffandbotnik
    @raffandbotnik 7 місяців тому +1

    pentru un român vorbești engleza bine bro, thumbsup

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +1

      thx bro 💪 da cred ca daca vorbeam mai bine nu iti dadeai seama cas roman 😂

    • @bloccoa
      @bloccoa 7 місяців тому

      @@lowlevelgamedev9330 Not really, am observat că user-ul tău se numește Vlad gen, apoi că un window se mai numea și geam

    • @bloccoa
      @bloccoa 7 місяців тому

      Crap cont greșit whatever

  • @Melmel-2312
    @Melmel-2312 7 місяців тому +1

    Think your audio got muted.

  • @blackcitadel37
    @blackcitadel37 6 місяців тому +1

    I'm writting a simple (or was intended to be simple at least) game engine using c++20 and raylib to make some 2d games like bullet hell and later some platformer games. It's going kinda fine but i'm pretty sure i overcomplicated/overengineered the whole ECS system. The desire currently is to just delete everything and start fresh (._.)

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  6 місяців тому +1

      yep try not to overengineer stuff, do the simplest thing first, I never used a propper ecs and I never felt that I needed one (well the ecs from.my minecraft clone is kinda a light one), so start simple💪

    • @blackcitadel37
      @blackcitadel37 6 місяців тому

      @@lowlevelgamedev9330 nice. what would be a good alternative for the ECS system in this scenario? (smol game engine for 2d games)

  • @dantheplanner
    @dantheplanner 7 місяців тому

    This is it. 🧙🏾‍♂️

  • @Simple_OG
    @Simple_OG 7 місяців тому +1

    what about maths any specific topics we need to know

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +1

      depends on what you want to learn, if you want to know 3D you need to learn linear algebra, you can learn that on 3 blue one brown. For basic gamedev you need some geometry some trigonometry and some vector algebra, but don't worry only very basic stuff like vector adition, how to use sin cos to get an oscilating patern, how to normalize a vector, how raising a number between 0 and 1 to a power look like, easing functions, and that's the most common basic things to know

    • @Simple_OG
      @Simple_OG 7 місяців тому

      @@lowlevelgamedev9330 thanks

  • @darkgamer4228
    @darkgamer4228 7 місяців тому +2

    Hi brother i there is need of stl Library in c++ it is used in gui app development or game development pls answer me brother 🙏

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +1

      yes I use stl but you don't have to learn much of it. So just some basics are very good to know like maps vectors sets and sorting 💪

  • @lucascamelo3079
    @lucascamelo3079 23 дні тому

    The lower level I plan to go is c++ Raylib. Anything lower than that is just too much work for no reason. Like, OpenGL is deprecated at this point, Apple doesn't support it anymore. And Vulkan is just too much for any indie game.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  23 дні тому +2

      well no problem in stopping with raylib, but you can't say that learning opengl is mo reason either. Someone has to implement the low level things, and opengl is the starting point because vulkan is very hard to start. Also it is very far from being deprecated, and it is the only option for mobile web for 3D things. Web gpu is still very new

    • @lucascamelo3079
      @lucascamelo3079 23 дні тому

      @@lowlevelgamedev9330 I just hope that others companies doesn't follow Apple this time.
      Another thing, will we ever be able to do ray tracing in OpenGL. Because it seems we will be stuck in 4.6

  • @Baconator20000
    @Baconator20000 7 місяців тому

    Looking to go to roblox's lua then Minecraft's Java(modding) then c++.
    Is this a good way to develop my coding knowledge or should I throw myself in the burning pits of hell for coming up with something this foul

    • @derpaboopderp1286
      @derpaboopderp1286 6 місяців тому

      C++ isnt that hard. And honestly making something yourself might even be easier than working on something pre existing

  • @happygofishing
    @happygofishing 7 місяців тому +1

    Webgpul exists too

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому

      yes, tho it's not that supported but there is also webgl

  • @Zerolency
    @Zerolency 5 місяців тому

    I made a mistake learning c++ as my first programming language.

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

      Skill issue if you call that a mistake

    • @igorthelight
      @igorthelight 4 дні тому

      @@lil_brumski I would still cal that a mistake.
      Why make you life hard from the beginning? C# teaches you almost all that you would need to use C++ ;-)
      Yes - including some memory management!

  • @nihiliteit
    @nihiliteit 7 місяців тому +5

    Hey can you make a video about how to export a c++ game for Android using sfml plz

  • @Centipede2577
    @Centipede2577 6 місяців тому

    Huh does direct3d (directx8) works to make simple games?

    • @WAE50
      @WAE50 4 місяці тому +1

      It works and it's quite neat and easy to use, but the downside is that some newer graphics cards(especially integrated ones) have broken drivers, and they won't be able to display your game correctly at all, no matter what you do. If you want easy DirectX API, go for DirectX 9, it's supported properly on everything.

    • @igorthelight
      @igorthelight 4 дні тому

      DirectX 8 is old as shit ;-)
      If you need something simple - use OpenGL 3.0 (and then upgrade to OpenGL 4.6)

  • @catatrophicalist
    @catatrophicalist 7 місяців тому +1

    but i dont know maths.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому

      you can learn little by little but in the beginning you don't need to know that much, in my full game in cpp tutorial I cover the basic math that you need 💪

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

    i have Mingw in 32 bits

  • @Itz_Akashi.134
    @Itz_Akashi.134 7 місяців тому +6

    First view first comment first download 😂

  • @mikhailhumphries
    @mikhailhumphries 7 місяців тому +1

    Can you show how to do 3d modeling software?😊

  • @silloo2072
    @silloo2072 7 місяців тому +1

    Hey what do i do if i am lazy??😅😅

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому +3

      I know where you live so you have to show your gamedev progress on my discord and tag me in 3 days 🔫

    • @silloo2072
      @silloo2072 7 місяців тому +2

      Wow you do really care about your viewers, you replied to every comment!! That's amazing 👍👍💯💯😎

    • @igorthelight
      @igorthelight 4 дні тому +1

      If you are lazy - stick with an already working game engine ;-)
      If you want just a little bit of C++ - try tweaking already working code!

    • @silloo2072
      @silloo2072 4 дні тому

      @@lowlevelgamedev9330 sorry boss ☠️

    • @silloo2072
      @silloo2072 4 дні тому

      @@igorthelight yeah thanks for the advice

  • @exp.reuploads
    @exp.reuploads 7 місяців тому

    you sound a bit romanian..... cf

  • @TPDT222-hf3gs
    @TPDT222-hf3gs 4 місяці тому

    The content amazing but i can't hear your voices, ugh it's so stone? Like hard and crack...

  • @monkeyhorizon
    @monkeyhorizon 7 місяців тому +1

    HHAY FIRST

  • @paradox8425
    @paradox8425 7 місяців тому +2

    Now I'm gonna say a few things, but don't get offended please. Just saying what I think is right:
    Even though I appreciate what you are trying to do, I don't think there is much value in this exact video.
    First of all, game dev is much harder than you are presenting here. Especially without a game engine. Sure it's doable, but for beginners? Come on.
    Yes they need to start from somewhere, but deep diving to an ocean without knowing how to swim? They will likely give up.
    Other than that, you are showing off your framework too much. I mean sure, you should do it. But you present it like it will solve almost everything for them which is way too far from truth.
    I know you probably don't mean to do it like this, but this is what end result looks like to me. Maybe it's because i'm way past these stuff and not your target audiance.
    Either way, I hope you'll get better on this. Feel free to ignore this (constructive) criticism since that's just my perspective (subjective)

    • @BurroDevelops
      @BurroDevelops 7 місяців тому

      Many people started with C as first programming language and made games with raylib IN C. I think if you're a beginner you can definitely thrive from the lowest of the lowest levels of programming, your advice is not that well placed (if that's what you mean). There are plenty of resources out there, bros just gotta be passionate enough 😭 (ofc, if you're not that passionate in the beginning, like I was and many others, start in python and climb your way down👍)

    • @paradox8425
      @paradox8425 7 місяців тому

      @@BurroDevelops You can start from any language you want. In fact I think starting from C would be better for a lot people. That's not the point.
      The point is: game dev is already very hard even with using a game engine. People give up on it even with game engines. So pointing a beginner to start from scratch to build a game isn't very realistic. I doubt 3-4/1000 people would succeed on such a strategy

    • @paradox8425
      @paradox8425 7 місяців тому

      Even tiniest games would be 10k lines of code in minimum, if you start from scratch. Can a beginner handle it? I don't think so.
      It's like expecting a child to operate a plane...

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому

      I get your criticism but I for example started like this and the video is in a way for my past self / other people like I was years ago. And I yes I kinda push a lot my setup but I genuenly believe it is a good way to start and do stuff. So while it might not be for everyone I'm 100% sure it will help some people

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  7 місяців тому

      you can make a game in the console in a few lines

  • @BlindingSun_
    @BlindingSun_ 5 місяців тому +2

    You talk too fast

    • @cocomojosan
      @cocomojosan 5 місяців тому +2

      Just listen faster
      This is a joke, I have adhd so it's not a problem for me but I do get it I hate it when ppl talk faster than I can listen and decode what their saying

    • @Water-Kid
      @Water-Kid 22 дні тому +2

      He’s run on c++

    • @judgegroovyman
      @judgegroovyman День тому

      I think its perfect but to legit help you out, you can change the speed in youtube settings to 75% to adapt. Thats on mobile or on desktop

  • @dfordemo981
    @dfordemo981 7 місяців тому

    your discord server link plz