How to start Gamedev in C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 เม.ย. 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:
    • Best Way To Start Lear...
    SFML tutorial series:
    • SFML 2.4 For Beginners...
    My Cmake Game setup:
    github.com/meemknight/cmakeSetup
    FULL C++ GAME TUTORIAL using my game setup 😻🕹️:
    • Make a C++ game FULL G...
    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 TH-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.steampowered.com/app/23...
    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
    contextsensitive.bandcamp.com/

ความคิดเห็น • 76

  • @light535
    @light535 20 วันที่ผ่านมา +10

    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!

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา

      thx bro, I'll be waiting for you here 💪💪

  • @jackfrederiksen7979
    @jackfrederiksen7979 18 วันที่ผ่านมา +3

    You are literally a saint, thank you

  • @evilwizardtherapist
    @evilwizardtherapist 17 วันที่ผ่านมา

    This is it. 🧙🏾‍♂️

  • @viniciusantonio2253
    @viniciusantonio2253 20 วันที่ผ่านมา +34

    I'm scared of cmake, libraries and debug configurations

    • @zodey3611
      @zodey3611 20 วันที่ผ่านมา +6

      use rust and macroquad

    • @viniciusantonio2253
      @viniciusantonio2253 20 วันที่ผ่านมา

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

    • @InfiniteCoder01
      @InfiniteCoder01 20 วันที่ผ่านมา +5

      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 20 วันที่ผ่านมา

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

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา +2

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

  • @velazquezcanosantiago7886
    @velazquezcanosantiago7886 12 วันที่ผ่านมา +1

    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!

  • @whispy1
    @whispy1 17 วันที่ผ่านมา +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  17 วันที่ผ่านมา

      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 16 วันที่ผ่านมา

      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 15 วันที่ผ่านมา +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 .

  • @geeksuperstar8564
    @geeksuperstar8564 วันที่ผ่านมา

    Hey, did you have a chance to check Odin?

  • @InfiniteCoder01
    @InfiniteCoder01 20 วันที่ผ่านมา +1

    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  19 วันที่ผ่านมา

      yess that's what I also would recomand people

    • @silloo2072
      @silloo2072 19 วันที่ผ่านมา

      How that will encourage cross-paltformness

  • @darkgamer4228
    @darkgamer4228 19 วันที่ผ่านมา +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  19 วันที่ผ่านมา +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 💪

  • @Itz_Akashi.134
    @Itz_Akashi.134 20 วันที่ผ่านมา +5

    First view first comment first download 😂

  • @Centipede2577
    @Centipede2577 14 วันที่ผ่านมา

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

  • @rhajamelwalker1410
    @rhajamelwalker1410 19 วันที่ผ่านมา

    Think your audio got muted.

  • @blackcitadel37
    @blackcitadel37 23 ชั่วโมงที่ผ่านมา

    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  13 ชั่วโมงที่ผ่านมา +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 7 ชั่วโมงที่ผ่านมา

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

  • @jyto87yo987
    @jyto87yo987 17 วันที่ผ่านมา

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

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  17 วันที่ผ่านมา

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

    • @bloccoa
      @bloccoa 17 วันที่ผ่านมา

      @@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 17 วันที่ผ่านมา

      Crap cont greșit whatever

  • @happygofishing
    @happygofishing 20 วันที่ผ่านมา +1

    Webgpul exists too

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา

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

  • @bacon_with_brussels_sprout
    @bacon_with_brussels_sprout 16 วันที่ผ่านมา

    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 10 วันที่ผ่านมา

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

  • @Simple_OG
    @Simple_OG 18 วันที่ผ่านมา

    what about maths any specific topics we need to know

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  18 วันที่ผ่านมา

      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 18 วันที่ผ่านมา

      @@lowlevelgamedev9330 thanks

  • @monkeyhorizon
    @monkeyhorizon 20 วันที่ผ่านมา +1

    HHAY FIRST

  • @nihiliteit
    @nihiliteit 19 วันที่ผ่านมา +5

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

  • @holyknighthodrick5223
    @holyknighthodrick5223 17 วันที่ผ่านมา

    Step 1: Learn Rust
    Step 2: Modify all the Rust bindings because they are perpetually out of date.
    Step 3:

  • @mikhailhumphries
    @mikhailhumphries 19 วันที่ผ่านมา

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

  • @catatrophicalist
    @catatrophicalist 20 วันที่ผ่านมา +1

    but i dont know maths.

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา

      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 💪

  • @silloo2072
    @silloo2072 19 วันที่ผ่านมา

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

    • @lowlevelgamedev9330
      @lowlevelgamedev9330  19 วันที่ผ่านมา

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

    • @silloo2072
      @silloo2072 19 วันที่ผ่านมา

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

  • @moon.chance
    @moon.chance 20 วันที่ผ่านมา

    you sound a bit romanian..... cf

  • @paradox8425
    @paradox8425 19 วันที่ผ่านมา +1

    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 19 วันที่ผ่านมา

      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 19 วันที่ผ่านมา

      @@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 19 วันที่ผ่านมา

      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  19 วันที่ผ่านมา

      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  19 วันที่ผ่านมา

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

  • @insertoyouroemail
    @insertoyouroemail 18 วันที่ผ่านมา +1

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

  • @dfordemo981
    @dfordemo981 16 วันที่ผ่านมา

    your discord server link plz