How to actually make games in C++ from 0 experience!

  Рет қаралды 20,647

Low Level Game Dev

Low Level Game Dev

Күн бұрын

Пікірлер: 104
@yds6268
@yds6268 Ай бұрын
How to start from 0 experience: get experience
@golovkaanna8757
@golovkaanna8757 Ай бұрын
that's how everything goes
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
No shit
@bambooinwater
@bambooinwater 11 күн бұрын
Is that a bad thing?
@ilax666
@ilax666 Ай бұрын
Thanks for showcasing my project at 0:24 !
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
thanks for sharing it 💪
@LeftoverAtoms
@LeftoverAtoms Ай бұрын
My biggest issue was wanting to do everything myself.. but when I started using libraries was life changed forever.
@witchtheer3450
@witchtheer3450 Ай бұрын
brain fog entered my life and now i just look at my screen like "wtf does this do" , so probably the best advise to everybody is to write comments what that specific code does. it will save you a bit of time and headache.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
if you want to reduce brain fog reduce shugar and carbs, if you work with your stomach empty or with only some meat inside you will be as fresh as possible 💪
@youtubeenjoyer1743
@youtubeenjoyer1743 Ай бұрын
@@lowlevelgamedev9330 brain fog is a psychological problem fixed by finding purpose in life, like your craft. Cutting sugars or all carbs is a meme, a fud. The largest part of the history of humanity was built on carbs.
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
Drink water
@CharlesCarter-j3p
@CharlesCarter-j3p Ай бұрын
very cool . I like using C, instead of C++ so I can learn the underlying algorithms needed and how to code them up and how they work with specific hardware. I find it satisfying to keep optimising, like using CPU cache tiling and SIMD, for me its more fun to make the most performant code or see how performant I can make the code for a specific project. I also like using Shader code and CUDA, I find this the most fun. Keep up the good work bro, love your videos.
@0xlobo
@0xlobo Ай бұрын
I became better at programming after watching your channel for one month, I made three games on cpp. I want to make a series of how I can make games for scratch like 3D
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
glad to help 💪
@SrRen3
@SrRen3 22 күн бұрын
love CPP
@joelincz8314
@joelincz8314 Ай бұрын
Great advice!
@Cinarbayramic
@Cinarbayramic Ай бұрын
i learned c++ thanks to an exam in turkey called "bilgisayar olimpiyatları" but i didnt pass because my math was weak and there were 20 math 10 c questions😭
@diabloolivero73
@diabloolivero73 Ай бұрын
We all know that C++ is the only programming language that exists 😎
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
fr
@FoXcodeZ
@FoXcodeZ Ай бұрын
4:26 music in the background sound similar to the title screen song from the old game called "Kick Master" :P
@Ali107
@Ali107 Ай бұрын
ChiliTomatoNoodle is a good C++ tutorial guy. (I learnt basic C++ from him)
@zzz12466
@zzz12466 Ай бұрын
those tutorials are very useful I think. I'm not a developer and not in a dev school or whatever. I just always had interest into create a game. But yeah if you can inspire some to get together & create projects the correct way & have right teachers who truly have experience and know the shortcuts, then many can do great stuff and maybe one day beat the competition and doing better than some studios independently. I subbed even if i'm in finance, just I would liked to have time to spend on stuff like this but I don't have it. Well done.
@WhyHaya
@WhyHaya Ай бұрын
maybe you want to give a tutorial on how to post a multiplayer game?
@carljohnson4592
@carljohnson4592 Ай бұрын
0:18 thanks for mentioning me (Miss blind )
@justsomeguy8385
@justsomeguy8385 Ай бұрын
Don't know if I recommend C++ for a beginner. Definitely for someone who already knows a different language though. Maybe C because it's so much more simple, but you still lend your mental bandwidth to things like build systems and memory management when you honestly don't need to these days. Also Rust seems to lure people in from the hype, but it's also hard mode.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
idk I started with cpp when I was quite young and it didn't seem like a problem
@justsomeguy8385
@justsomeguy8385 Ай бұрын
​@@lowlevelgamedev9330 Didn't you say you started with Java in a different video? I might be thinking of a different youtuber. Whatever the case, it's just my observation from teaching a lot of beginners hows to code that the more complex a language and the tooling is, the less likely they are to stick with it. And learning to code in any language is infinitely better than quitting before learning at all.
@hattabf16
@hattabf16 Ай бұрын
is recording in a luxury bathroom important ?
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
yes, very important, next time I think I'll be recording from the gym
@nazar949
@nazar949 Ай бұрын
Hi, can you tell which pattern you use? ECS? Maybe you make some video about patterns in gamedev, sorry if question is duplicated.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
approach based design, that means write the code as simple as possible, don't think of paterns think of what the code should do, and abstract stuff later if needed. For context I never used ECS or any paterns probably for that matter
@nazar949
@nazar949 Ай бұрын
@@lowlevelgamedev9330 thanks for the reply. Yes at the beginning just writing simple code is good. What about long term stuff? I am thinking of making engine in c++ and use it later for 2D games with SDL (cross platform). And now I'm watching a course of ECS, this organizes code structure really well.
@iamshiron
@iamshiron Ай бұрын
I got a question which is not really that much related to this video but related to learning graphics programming in general. I got a fairly good knowledge of C++ and programming in general and want to "revive" my old voxel engine project. Now the question is what API should I use: OpenGL (most familiar but I want to work on this project for learning about newer graphics stuff) or Vulkan? I also saw something called WebGPU / wgpu which apparently is an abstraction over OpenGL, Vulkan, DirectX and more but it sounds like it was made for the browser. After digging deeper I found Dawn (a webgpu implementation by google) which looks pretty interesting but I'm unsure if I should invest my time in learning something like that or rather learn Vulkan instead. My goal is to create a application that runs natively on the host, so no browser game or some web3 crap. (Edit): I'm also looking forward in learning technologies such as Ray-/Pathtracing for rendering or leveraging DLSS
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
depends on your purpose, if you want to make that project a finished product use what you are more confortable with, but if you want to learn, than use something new 💪
@iamshiron
@iamshiron Ай бұрын
@@lowlevelgamedev9330 thanks for fast response. What would you choose as new tech to learn, wgpu standard or bare metal Vulkan?
@caleb-hill
@caleb-hill 29 күн бұрын
4:47 im sarry in advanced but the memes compel me S.o F.rick M.y L.ife
@me-specifically
@me-specifically Ай бұрын
linking libraries in minGW is even more hell, not once have i found a single tutorial on how to link a library with mingw, so if try to do it you're probably gonna have to do your own research and figure it out yourself
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
maybe chat gpt knows?
@viddeshk8020
@viddeshk8020 Ай бұрын
Remember guys "more doing less learning"
@alihene2225
@alihene2225 Ай бұрын
so based
@GreenDave113
@GreenDave113 Ай бұрын
Do you have any experience using MinGW on Windows? I've been trying to fix an issue where it takes 10+ minutes to link a project that takes second to link on the same machine on linux. It prevents me from developing on Windows as I use Clion.
@sdxqw_
@sdxqw_ Ай бұрын
when C video?
@proboiz_50
@proboiz_50 Ай бұрын
Finally i can understand your accent after 3 to 4 videos
@James-e4q3c
@James-e4q3c Ай бұрын
I am scared of C++ All those memory leaks
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
Watch Dave Churchill game programming lectures on KZbin, he explains how to manage memory in a way you don't need to think about it. Inside a game you won't be allocating memory dynamically btw
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
memory leaks are the last thing you ever think about when coding cpp gamedev, it's like saying you are scared of going to the beach because of sharks. Watch my video on memory leaks
@justsomeguy8385
@justsomeguy8385 Ай бұрын
​@@TheCommunistRabbit Can you share which video that is? Looks like their course is tens of hours long across multiple videos
@yds6268
@yds6268 Ай бұрын
I consider "ask Chat GPT when you don't know how to do something" to be bad advice. You can't trust anything it says. Much better to check out SO (the older the better) and eventually other repositories and even documentation. Relying on AI will make learning harder, not easier.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
it only helped me so far so
@yds6268
@yds6268 Ай бұрын
@lowlevelgamedev9330 fair enough, but you already had a lot of experience and knowledge before using it. What if you had it right from the start? Do you think it would've helped you or hindered you?
@ltecheroffical
@ltecheroffical Ай бұрын
Quick note, just don't ask on SO, if your a beginner, DO NOT ask on Stack Overflow, you will just get downvoted and post banned.
@Bensai1000
@Bensai1000 Ай бұрын
I've been using it more or less from the start and I find it very useful as tool for making suggestions. It makes is very easy to find support documentation can give insight into best practices (I don't really know if the suggestion is best practice but everyone seems to have their own opinion anyway). As I've been making things for longer I've asked it less and less for logic and more for ideas, as you stated you cant really trust everything it says. It does help my flex my troubleshooting brain too, as logic is provides straight up doesn't work and I have to reason out what I need vs what is doing (which is why I ask it for logic less now). Also helps to combat that blank canvas intimidation I face as a newb.
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
Chat gpt is much faster than looking for stack overflow posts, you can ask it questions and it will answer you without downvoting you and getting you banned
@VFusioN69
@VFusioN69 Ай бұрын
I am on mac does this apply same to me
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
yes it does
@ltecheroffical
@ltecheroffical Ай бұрын
@@lowlevelgamedev9330 Except the Visual Studio part, use VSCode or something else. Visual Studio (or at least the C++ version), doesn't run on mac at the time i'm posting this.
@thanosfisherman
@thanosfisherman Ай бұрын
But why would I want to use that monstrosity of a language called C++ and not a nicer one e.g C# or Java?
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
I would sat the same thing but about java :))), because if you want to do low level stiuf cpp is the better option, I don't want a language that forces me to use oop or that has a garbage colector
@AlexTsaava
@AlexTsaava Ай бұрын
great vid, only made console games kuz i can't link SFML 💀
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
try my setup bro
@Alex2-bf4ms
@Alex2-bf4ms Ай бұрын
@@lowlevelgamedev9330 this is my alt acc, cuz for some reason i can't see the reply from the main one, still i do like making Console games and I'm too lazy to learn a new library 🤣 To make normal games or simulations i can stick to pygame 💀
@AlexTsaava
@AlexTsaava Ай бұрын
@@lowlevelgamedev9330 im too lazy ... for simulations i usually use pygame... RIP but it works well
@nein9420
@nein9420 Ай бұрын
Linking libraries is so ridiculously outdated. Programs are big nowadays and I don't want to rely on stuff like CMake to make my life easier. We're unfortunately still stuck in the 1970s with this one.
@AlexTsaava
@AlexTsaava Ай бұрын
@@lowlevelgamedev9330 NGL I am to lazy...
@JamesPorter-808
@JamesPorter-808 Ай бұрын
Have you ever played foosball at a community college? Lol sorry first thing that came to mind
@vycdev
@vycdev Ай бұрын
@OrangeIND-
@OrangeIND- Ай бұрын
Know More Comment : Sprites 2D: A sprite is a 2D image or graphic used in games to show characters, objects, or effects. It can be a still image or animated to look like it’s moving. Think of it like a sticker you can move around and interact with in the game world! Some Properties : loadFromFile("sprite.png"); setTexture(texture); draw(sprite); Load the image → Attach it to a sprite → Move and display it on the game window
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
What
@Beti9000
@Beti9000 Ай бұрын
Jesteś Polakiem?
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
nope
@ZettaiKatsu2013
@ZettaiKatsu2013 Ай бұрын
Why use C++ without OOP ? Just go for Python or Lua.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
💀 bruh so the advantage of using cpp besides the fact that pyton is extremely slow, is the fact that it is strongly typed. This makes it easy to refactor. And there is nothing that forces you to use oop with cpp, a lot of people use cpp without oop
@ZettaiKatsu2013
@ZettaiKatsu2013 Ай бұрын
​@@lowlevelgamedev9330​Since you replied to my comment I want to thank you for the video and for your comment. I am not a troll who engages in language wars. C++ is very fast at run-time, this is true. And Python is a lot slower at run-time, but these differences are not big enough to be a problem for players or learning game developers. Many games were written in many different languages and it's fine. Except if you want to use operator overload or move semantics, C++ isn't the easiest pick for a beginner. Other languages are a lot more friendly to beginners, especially children and this is the priority. That is why I don't want to frustrate people with linking or config problems. The most important is having fun. As a developer I like using C++ outside of game development. I don't hate it. Have a good day Mister
@TheCommunistRabbit
@TheCommunistRabbit Ай бұрын
Was bro high when he wrote this comment 🤣
@ZettaiKatsu2013
@ZettaiKatsu2013 Ай бұрын
@@TheCommunistRabbit Yes, my comment was too blunt and frank, my bad ^^'
@Broom-fz2gm
@Broom-fz2gm Ай бұрын
first
@yds6268
@yds6268 Ай бұрын
"Write simple code, don't use abstractions, so you can modify it easily?" That's not how anything works. Simple code only works for simple projects. Complex projects require abstractions to be in any way manageable. Especially when you need to change something later. I refuse to believe your game code doesn't have several levels of abstraction.
Ай бұрын
I think his point was not about not using abstractions at all, but only introducing them later, when you really know that you need them. If you design your architecture upfront you may end up having a rigid structure that doesn't scale with the addition of new features.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
my point is in how you get to having those layers of abstractions, good luck coming with a good abstraction first try for a big project, so it is better to start simple and see after what is the best abstraction
@yds6268
@yds6268 Ай бұрын
If you don't have any structure, it's impossible to scale the project at all. If your code is a mess right from the start, there's no hope in recovering anything later without totally starting from scratch.
@Mad3011
@Mad3011 Ай бұрын
Hard disagree, when starting out you won't even know which abstractions to build. And nothing is worse than building the *wrong* abstractions.
@yds6268
@yds6268 Ай бұрын
@@Mad3011 as a beginner, you look at examples and see what abstractions they use. It's not that hard to figure out that the player requires a separate class or that the player and other entities might share some traits, so it makes sense to create a general entity class. I don't even know how a beginner would be able to make a game without those abstractions. Using arrays for everything? It's even harder to understand/manage than introducing objects right away. And objects/classes are abstractions.
@proman2837
@proman2837 Ай бұрын
Please talk about graphics mathematics 🙏🥹
How to actually progress in C++ Game dev!
8:48
Low Level Game Dev
Рет қаралды 8 М.
The HIDDEN Game Industry DEVLOGS
14:39
Talentless John
Рет қаралды 3 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Your First 2D GAME - Day 1 Beginner Tutorial
4:50:09
Sasquatch B Studios
Рет қаралды 119 М.
I linked all C++ gamedev Libraries, so you don't have to!
8:06
Low Level Game Dev
Рет қаралды 26 М.
Brutally Honest Advice for my younger C++ gamedev self
9:14
Low Level Game Dev
Рет қаралды 12 М.
Making a Game with Java with No Java Experience
8:41
Goodgis
Рет қаралды 744 М.
Finally solve memory leaks in C++!
8:03
Low Level Game Dev
Рет қаралды 51 М.
Making a Game With C++ and SDL2
5:34
Goodgis
Рет қаралды 676 М.
Why is graphics programming SO HARD to learn? My story
6:41
Low Level Game Dev
Рет қаралды 21 М.
Making Minecraft but the server is Optimized!
14:53
Low Level Game Dev
Рет қаралды 59 М.
How programmers flex on each other
6:20
Fireship
Рет қаралды 2,6 МЛН
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 214 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН