How to start Gamedev in C++

Поділитися
Вставка
  • Опубліковано 27 вер 2024
  • In this video, I will teach you how you can start making games in C++, from scratch, with no engine,
    no matter your current experience level! 💪
    #cpp #programming #gamedev
    LINKS:
    Learn C++ For Gamedev as a complete beginner:
    • how to start programmi...
    SFML tutorial series:
    • SFML 2.4 For Beginners...
    My Cmake Game setup:
    github.com/mee...
    FULL C++ GAME TUTORIAL using my game setup 😻🕹️:
    • Make a C++ game FULL C...
    Video about My How Game Setup was designed:
    • Best C++ projects setu...
    Windows API for Game Developers (Do Window Opening stuff yourself!):
    • WIN API for Game Devel...
    OpenGL setup if you want to learn OpenGL:
    • The EASIEST way to set...
    best OpenGL tutorials on UA-cam!: 🙀
    • 3D Computer Graphics U...
    SFML:
    www.sfml-dev.org
    raylib:
    www.raylib.com
    Join my Discord:
    / discord
    Check out my Steam Game Midnight Arrow:
    store.steampow...
    Join this channel if you want to support me 😻:
    / @lowlevelgamedev9330
    Music: Evan King - e n t r o p y
    Music: Evan King - Invisible Walls
    / contextsensitive
    contextsensiti...

КОМЕНТАРІ • 91

  • @svelcan
    @svelcan 5 місяців тому +17

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

    I'm scared of cmake, libraries and debug configurations

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

      use rust and macroquad

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

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

    • @InfiniteCoder01
      @InfiniteCoder01 5 місяців тому +8

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

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

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

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

  • @light535
    @light535 5 місяців тому +14

    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!

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

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

      yess that's what I also would recomand people

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

      How that will encourage cross-paltformness

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

    Hey, did you have a chance to check Odin?

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

    Think your audio got muted.

  • @darkgamer4228
    @darkgamer4228 5 місяців тому +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  5 місяців тому +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 💪

  • @toxicfriend52
    @toxicfriend52 29 днів тому

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

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

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

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

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

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

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

      Crap cont greșit whatever

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

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

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

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

  • @RiberacImprimerie24000
    @RiberacImprimerie24000 15 днів тому

    i have Mingw in 32 bits

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

    This is it. 🧙🏾‍♂️

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

    First view first comment first download 😂

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

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

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

  • @Zerolency
    @Zerolency 3 місяці тому

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

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

      Skill issue if you call that a mistake

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

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

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

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

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

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

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

    You talk too fast

    • @cocomojosan
      @cocomojosan 3 місяці тому +1

      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

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

    HHAY FIRST

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

    you sound a bit romanian..... cf

  • @paradox8425
    @paradox8425 5 місяців тому +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 5 місяців тому

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

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

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

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

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

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

    your discord server link plz

  • @jackfrederiksen7979
    @jackfrederiksen7979 5 місяців тому +6

    You are literally a saint, thank you

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

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

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

    but i dont know maths.

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

      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 💪

  • @insertoyouroemail
    @insertoyouroemail 5 місяців тому +3

    Step 1. Render triangle
    Step 2. Render two squares
    Step 3. Everything else

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

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

  • @suhaibkhan4686
    @suhaibkhan4686 5 днів тому

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

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

    • @suhaibkhan4686
      @suhaibkhan4686 5 днів тому

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

  • @Whispy1
    @Whispy1 5 місяців тому +1

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

      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

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

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

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

    Webgpul exists too

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

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

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

    what about maths any specific topics we need to know

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  5 місяців тому +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 5 місяців тому

      @@lowlevelgamedev9330 thanks

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

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

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

      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.