It's not hard to make games in C++

  Рет қаралды 22,493

Low Level Game Dev

Low Level Game Dev

Күн бұрын

Пікірлер: 211
@witchtheer3450
@witchtheer3450 3 күн бұрын
my friend in class told me that he wants to learn in rust , by the time he told me that i was interested in C. Few months later he didnt even download the rustc compiler and i started building my engine. He asked me what am i doing after school , i told him that im working on my engine, he laughed and told me that i am not going to make next version of Unreal Engine (which lets be honest their way of doing some things is just bleh), i told him that my goal isnt to make game and publish it (even tho i would love to go away from the "dev projects" to a real shipped stuff), my goal was to just learn and do the code right, do the build system like "pack and go" type of style ( i dont download prebuilt libs, i have the source code of the libraries built along the project + i self host git with gitea in docker cuz aint no way i want my project to be in control of microsoft with github.). Then i asked him what is he going to do.... "I will go home and play dota and sleep". But i am the stupid for trying to create something i guess.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
most chad person here, it is insane that you learned all of this things in only a few months and that you have such cool mentality like learning and also the libs stuff💪💪 good luck with your engine and don't worry about others, you can tell them I personally told you that you are cooler than them 😎
@martinjakab
@martinjakab 2 күн бұрын
Te be honest, I'm thorn between C and Rust, because I love C for it's simplicity, but also find the lack of proper package management, features like pattern matching, and borrow checking kind of discouraging. I mean, I love C until I have to build somethong bigger in it.
@Ghorda9
@Ghorda9 Күн бұрын
@@martinjakab use C++, inheritance can help simplify things. just don't go overboard with it
@_.Infinity._
@_.Infinity._ Күн бұрын
That's their way of saying " I can't do it, so you can't either." Pay no heed to him and do your thing.
@rnts08
@rnts08 21 сағат бұрын
Easy, you win
@nein9420
@nein9420 3 күн бұрын
Telling somebody that they limit their learning potential by not using an engine is wild. This is probably obvious but by increasing the depth of your knowledge you gain a proper understanding of why and how something works and you will be able to debug more easily. Yes, you will be less productive, but in my opinion the knowledge gained is more than worth it.
@alexale5488
@alexale5488 3 күн бұрын
Because everyone uses game engines and assets store new games look alike, run poor and are boring
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
yes, I think he thought there isn't much to learn there and that's even wilder :))
@insentia8424
@insentia8424 3 күн бұрын
Honestly, for a simple game.... you will be less productive trying to learn an engine to make it. Learning a simple framework will let you make the game quicker. In higher quality. And let you learn more on top of all that.
@arushford
@arushford 3 күн бұрын
I appreciate the testimonial long live AlmondEngine
@santitabnavascues8673
@santitabnavascues8673 3 күн бұрын
Game engines are made in c++. From my point of view, having 'no engine' just gives you the space to make everything you want because there is nothing limiting you.
@xbmarx
@xbmarx 3 күн бұрын
Writing an engine helps you even if you end up using a commercial engine later. I wrote several toy engines in the past. Now I am using Godot, not by choice, but because my team wanted to. All my experience writing my own engines in the past helped me see what Godot was trying to do, I was productive in Godot in like an hour, meanwhile everyone else was struggling lol.
@SnakeEngine
@SnakeEngine 2 күн бұрын
Which professional company is using Godot? Sounds cool, but also not very serious.
@Cinarbayramic
@Cinarbayramic 3 күн бұрын
the only problem is finding time for it especially if you have other responsibilities too
@h2_ail44
@h2_ail44 3 күн бұрын
very true
@insentia8424
@insentia8424 3 күн бұрын
Unless all your time is already spent on your responsibilities and necessities to survive, there is always time you can make for it. Now, whether you want to repurpose that time is a different matter, but then the issue isn't a lack of time, but whether you actually care enough about making games to use your time for it.
@GamingForLifeGF
@GamingForLifeGF 3 күн бұрын
That's my main problem too. Right now, I am trying to build my Medium account and a gaming KZbin channel for the future as a side income just in order for me to be able to quit overtime in the long term. And after that I will continue with my other plans and continue to build another KZbin account. And slowly build my freedom and my exit to do the "Quit quitting".
@JaceFuse
@JaceFuse 3 күн бұрын
I used to believe this, too. I finally solved it by not being hard on myself based on the "amount" I get done every day. Even if I don't get something done every day, I make it a point to at least look at what I've done, and try to do at least one thing no matter how big or small. I find that if I sit down to do at least do one thing, more often than not I end up doing more. And if I don't that's fine, too. As long as you learn something every day you gradually become better than you were. You progress even if your project doesn't.
@TheCommunistRabbit
@TheCommunistRabbit 3 күн бұрын
Close the KZbin
@What-he5pr
@What-he5pr 3 күн бұрын
What's complicated is the garbage you have to write using unity or unreal. You are a hero.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
thank you 💪💪
@tnt3t
@tnt3t 2 күн бұрын
Bro chill
@Cactusman-e1d
@Cactusman-e1d 2 күн бұрын
Right I feel like you spend MORE time just learning how to use a tool. To make something than you do actualy just making the thing your wanting to create.
@What-he5pr
@What-he5pr 2 күн бұрын
@Cactusman-e1d exactly
@RodrigoSpacecpp
@RodrigoSpacecpp 3 күн бұрын
Building a game without an engine (a framework is ok) teach us the fundamentals of how games works behind the scenes, letting us solve problems faster and in more efficient ways. I have seen the source of a few small games made using a engine and they are often a huge mess, exactly because the devs didn't really knew what they were doing, resulting in a software full of bugs, poor performing, and hard to mantain.
@rmt3589
@rmt3589 2 күн бұрын
Ppl who think C++ will be replaced are goofy.
@lowlevelgamedev9330
@lowlevelgamedev9330 2 күн бұрын
goofy ahh developers 💀😫
@eternalnerd_
@eternalnerd_ 2 күн бұрын
Finally, someone who tells it how it is. I am so tired of seeing C++ gamedev youtubers boast about how difficult it is. That mindset is so harmful to beginners, because it increases the intimidation factor 10 fold. Love your videos man!
@vncntjms0
@vncntjms0 Күн бұрын
"I took the one less travelled by, And that has made all the difference." - Robert Frost
@CppDemon
@CppDemon 3 күн бұрын
I am still tryin to make my own engine but ppl discouraged me thank you I will keep going
@GenericInternetter
@GenericInternetter 17 сағат бұрын
Thank you! I feel like I've been searching for this video for years! Excellent info, subscribed!
@LuisCassih
@LuisCassih 3 күн бұрын
my issue is not how difficult is, but how long it takes to do something, even if you taking already designed patterns or include existing libraries, it still takes so much work to make something that is already included in a major engine. I guess aside from the scope of the game you're intent to make, it depends on if you want to make games or you want to learn graphics programming.
@umapessoa6051
@umapessoa6051 3 күн бұрын
I highly disagree with the "it isnt that difficult" on the collisions, if you really want to make a game you'll have to avoid your way or checking collisions, by implementing this like a quadtree, spatial hashing, do things like swept AABB to avoid collisions tunneling and so on.
@idoblenderstuffs
@idoblenderstuffs 3 күн бұрын
Personally I see not much good reason to make games without an engine. I use Godot and think that's mostly optimised enough for my needs, and don't get me wrong I do have respect for Devs who use no engine. Even though I do think programming is an art in if itself, I prefer using games as a medium to present something artistically, where the programming itself isn't that obviously artistic to the player when compared to the 3d modelling, texturing, lighting, animation, and story I have presented. Although code is just a means to an end I still find it deeply enjoyable, yet I do not have the patience for c++ from scratch development just for my silly horror game.
@JasonChampionGamedev
@JasonChampionGamedev 2 күн бұрын
Thank you for the reminder. I really enjoy Unity and Unreal, but some things are overcomplicated. Before making games I worked professionally in C++ and this is a great reminder that a certain 2D project I'd ike to do but dread doing in an engine would be FAR simpler to build with C++ and SDL.
@cweasegaming2692
@cweasegaming2692 3 күн бұрын
Here's the problem I am facing. I like C++, AND I want to make games for a living one day. I don't like game engines like unity, godot or unreal (I've given each a fair shot), but I worry I may spend too much time reinventing the wheel (also, I don't like raylib either lol).
@insentia8424
@insentia8424 3 күн бұрын
Try looking up handmade hero. He shows how to do stuff, from the ground up without using any libraries at all. It might help you reinvent the wheel quicker. As for your worries spending too much time reinventing the wheel: As long as you are not reinventing algorithms for well established problems, you aren't spending too much time. You are investing time going slowly at first to go quick later. And on the case you are reinventing algorithms... that will be valuable experience for once you encounter a problem the common solution don't work for, because some nuanced condition makes them not viable. Basically, spend the time you spend worrying about it by doing more work on/thinking on how to advance your project(s) instead. Because that time... is definitely being wasted.
@alexale5488
@alexale5488 3 күн бұрын
How can you not like Raylib what ?
@cweasegaming2692
@cweasegaming2692 3 күн бұрын
@@alexale5488 Simple: I don't like it
@giovand6354
@giovand6354 3 күн бұрын
Raw dog OpenGL my guy
@AliceErishech
@AliceErishech 3 күн бұрын
@@cweasegaming2692 I think they were hoping for an explanation of why you don't like it rather than you simply repeating what you already said. If you were to explain why you don't like it, you might just give someone else an important insight into something that they hadn't considered before.
@C_Corpze
@C_Corpze Күн бұрын
As someone who does use game engines, hearing that "not using a engine limits your learning potential" blew me away because even I know that making things from scratch makes you learn a lot. I stick to engines typically because I want to focus on game making and not re-invent the wheel but I've entertained (and tried) doing graphics rendering in different languages. I didn't succeed but I did learn a lot from it.
@maroofshah3276
@maroofshah3276 3 күн бұрын
This is a reassuring video. I decided to focus my learning efforts in C programming because I'm interested in low level programming but was worried about if I should be spending my learning time on other things, but I'm sure now that I want to focus on C and then eventually move on to C++
@clray123
@clray123 Күн бұрын
Learning for fun is usually different from learning to obtain a marketable skill. For example, I learn game programming for fun, and I earn my living with enterprise databases. It is important not to confuse what the market demands with what you find amusing to learn.
@maroofshah3276
@maroofshah3276 Күн бұрын
@@clray123 Yeah youre right. The main reason I was worried is that, as how I have just begun my course, im still far away from a job, so its not like I have any stable income or anything yet. But going to continue down this path for fun while doing my best on my degree
@AzureBeornYT
@AzureBeornYT 3 күн бұрын
I use zig for my, still very early in development engine but I 100% have to agree, the skills you learn will help you learn a lot more than just running Unity or Godot since you also learn how each engine feature works under the hood, it helps that engine dev is also pretty fun
@DoctorMandible
@DoctorMandible 15 сағат бұрын
<a href="#" class="seekto" data-time="34">0:34</a> point of order, web dev can also be from scratch game development. You can write your own engine to use with html canvas or WebGL and this way you already have native networking and browser support.
@AlexMG54
@AlexMG54 3 күн бұрын
I think the stigma against making your own engine is dying off now that people really saw the danger of being a slave to a commercial engine's license terms. And C++ is now easier to use than ever, and there's a ton a very useful open source libraries for every game system that can get you running in a day with a good amount of those having friendly licenses (not all for sure). Also having access to the full source is so useful, I've worked Unity jobs for many years and it always came to trying to hack around the black box trying to get it to do something custom.
@anispinner
@anispinner 3 күн бұрын
Making games isn't hard. Finishing a game and more over making reasonable profit off of it is where the legends are made.
@deadshot9640
@deadshot9640 3 күн бұрын
omg tysm for this video i need it soo much
@eth7928
@eth7928 2 күн бұрын
A wise developer once said: "Every game engine is sh*t". Whether you use Unreal, Unity or others, each of these engines have their own quirks. While making your own is fun and all if you really want to open up a business in the gaming space, you better use an existing engine. This way you get easier access to developer and artists to build the game your company wants to build. The current trend is moving away from custom game engines, especially in larger teams.
@zoeherriot
@zoeherriot 2 күн бұрын
AAA Game engine dev here. In all seriousness, if you want a job in the games industry - you need C++ and you need to have a pretty decent idea of how to write game engine code. Make a portfolio of projects, games, renderers, audio engines etc. Whatever it is - but make just make it. Do use engines - you need to understand the problems they solve. But custom engines are still a (big) thing in the games industry - and even if a studio isn't using a custom engine, I've seen studios rewrite Unity's renderer, and I know most UE studios will eventually have to add features / plugins or fix engine bugs in UE. If anyone tells you not to use C++ - ignore them.
@lowlevelgamedev9330
@lowlevelgamedev9330 2 күн бұрын
thank you for the comment bro 💪
@mjfortnite9243
@mjfortnite9243 Күн бұрын
Currently I'm learning and using ue5 for my graduation project after that I'll go deep with C++ and making low level stuff, thanks for your advice!
@sledgex9
@sledgex9 3 күн бұрын
For the video I gather that you're simply a C++ masochist. Welcome to the club.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
😂😂 lmao It's not even hard to code in cpp
@sledgex9
@sledgex9 3 күн бұрын
@@lowlevelgamedev9330 That's what a C++ dev would say! lol PS: I had taken ~2 weeks break from C++ and I coded in another language entirely. When I came back, C++ syntax horrors hit me like a brick wall.
@olszabpo
@olszabpo 3 күн бұрын
@@lowlevelgamedev9330 sounds like something that C++ masochist would say
@black_crest
@black_crest 3 күн бұрын
​@@lowlevelgamedev9330 You probably have this perspective because of years of coding in C++. Imagine the people who just discovered for loops in python and try to learn what a class is in C++ lol.
@hadeftn
@hadeftn 3 күн бұрын
Good video as always! I have a question do you use Object oriented C++ or do you code in a C way but using C++ ?
@DynestiGTI
@DynestiGTI 21 сағат бұрын
Currently learning OpenGL (GLFW) in VSCode, finally able to render TrueType text using a texture atlas to display an FPS counter, moving an object with the keyboard and making input independent of frame rate, V-sync, and screen recording with FFmpeg. Just this seemingly basic stuff took so long to implement, the learning was a massive uphill battle, getting all the dependencies, header files and static library files linked was a nightmare, and the debugging was painful, but in the end it feels much more useful and I feel I’ve learnt way more than had I used an engine.
@Picolinu1
@Picolinu1 2 күн бұрын
I loved your channel's Logo 👏👏
@UrFada
@UrFada 3 күн бұрын
Personally don't want a job, I am a very young Entrepreneur, I really love learning complicated things so it is a challenge on whether to make using C++ or zig than just an engine cause from a perspective of earning money, an engine is easily better. So it is more complicated for me as I have to decide on going for knowledge or productivity and when concerning a business the choice is kinda obvious.
@lorenzozapaton4031
@lorenzozapaton4031 3 күн бұрын
There is a difference between making game engines and making games. Both are fine, just do what you like and both can make you a lot of money (theoretically at least).
@stanleyparks
@stanleyparks 3 күн бұрын
I've made all my games from scratch and everything has worked out for me! Knowing how game engines work is invaluable and it isn't something you can learn through just slapping together pieces in Unity or Unreal. +1 to all solo engine makers!
@maximumeffort1689
@maximumeffort1689 3 күн бұрын
I kind of want to make my own game engine using c++ and opengl, i just think it would be a massive flex and really cool to make your own way of doing things.
@TheCommunistRabbit
@TheCommunistRabbit 3 күн бұрын
Instead of jumping in head first, you should first learn making a game using a regular graphics Library like raylib. Once you understand how it works you can make your own using opengl
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
yes that is true, but you should also make a game from scratch with it or make a game from scratch first as the other comment here says, because you will make a better engine like so
@maximumeffort1689
@maximumeffort1689 3 күн бұрын
I've spent the morning learning raylib, I'm making snake with it and I'm already making notes on how my engine will do rendering, once I've finished my game in raylib, I will try to make a basic engine that can make simple games like snake and pong.​@@lowlevelgamedev9330
@aswinaswin5672
@aswinaswin5672 3 күн бұрын
My intersect is also same as u. My plan for right now is to make 2d games using c++(custom engine). Iam very very sure that with enough experience we can easily able to match the commercial engines in 2d. As far as 3d is concern, i have no idea apart from the basics. But i really to go into 3d games. I guess that in future i will be able to go into 3d also.
@arcado5783
@arcado5783 3 күн бұрын
For me there is only one excuse why I still use Unity. Sometimes you want to protipe some abscure shit, like, for example, minecraft terraian generation but using cellural automatos and while you still have motivation to write this stuff it's better to spend your time on realising algorithm nether the setuping 3D scene using openGL. Also it's where cool to have posobility to inspect your game from other angles and tweak varibles in run time from editor. But, let's be honest, you need that stuff to balance and make your game fun, not to write it right
@ebx
@ebx 15 сағат бұрын
If you like programming and want to learn a lot of stuff, while also trying to make a game, working on your own engine is a great thing to do. If you wanna **just** make games, I wouldn't recommend it though. Remember, the user doesn't cares about how you make the game, but rather what you make.
@ramoncf7
@ramoncf7 3 күн бұрын
I agree that making a game engine is not a requirement to make a game, neither it will be better because of it, but as you've said, someone has to learn how to make a game engine in order to improve existing engines or creating new ones, and making a game from scratch is a good way to learn the basics, and there are dozens of libraries if you want to skip parts like the physics or networking.
@skygradient6248
@skygradient6248 2 күн бұрын
People will forever want to bring other people down to their level. As you pointed out, being able to understand the things that go into making something like Unreal Engine makes a person more valuable than just using Unreal Engine. We've already reached a point where things are so bloated it takes a PC space heater running on 800W of power to do what should be possible in 200W or less because everyone's just trying to make generic tools for people who have no technical background.
@Visnii
@Visnii 3 күн бұрын
I work fulltime as a webdev and I'm trying to be a fulltime indie dev, so its take a lot of my free time, unfortunately I have to use an engine to maximize my productivity and realease small games while I cant afford a bigger game, but I do mess around with a little cmake and c++ whenever I get more time, untimely I want to be onwer of inhouse products and making my engine is the way
@Calbac-Senbreak
@Calbac-Senbreak 3 күн бұрын
I've identified myself with your path. Good luck, bro! Also fulltime webdev, also have this dream.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
it is very hard to succeed in gamedev I'll tell you that but good luck bro 💪 also you should probably also do yt or something so people can see your games
@mimg2805dev
@mimg2805dev Күн бұрын
What's your opinion on frameworks? I'm a coder first and foremost and I gravitate more towards frameworks. I've used XNA, libgdx, and love2D, and I've learned to code in C#, Java, Kotlin and Lua as a result. I think it's a good middle of the road approach: I don't have to do everything from scratch, but it also doesn't hold my hand.
@lowlevelgamedev9330
@lowlevelgamedev9330 Күн бұрын
yess I agree with that, I made my own framework but it is the same thing as using a different one. Usually there os no need to do everything from scratch
@garlandJudy
@garlandJudy 22 сағат бұрын
What 3d enginer game base for c++ you will suggest?
@BobChess
@BobChess Күн бұрын
I love to deep down. I would love someday I could try to make a game in assembly.
@matthieu875
@matthieu875 14 сағат бұрын
c++ will never be replace and i would argue than if you a cs student c++ js python and java are the most important to learn
@madeautonomous
@madeautonomous 2 күн бұрын
I'm stuck in Python, but to advance my career in robotics I really need to brushup my C++ skills!
@blazerker1640
@blazerker1640 3 күн бұрын
Low level stuff just sails over my brain. I think that saying it's easy is kinda disingenuous. It may be a very valuable skill to make your own engine, but don't go around saying it's easy
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
I'm not saying it is easy to make an engine, but to make doodle jump in cpp I think anyone can do that 😎
@nedmurry
@nedmurry 3 күн бұрын
I agree with the idea at <a href="#" class="seekto" data-time="200">3:20</a>, but measuring a projects worth in lines of code isn't always indicative of it's learning value. For example, I'm working on a simple interpreter in Go which isn't even 500 lines yet, but I've still learned heaps and have a functioning project.
@hughjanes4883
@hughjanes4883 3 күн бұрын
I was literally trying to figure out how to make my first c++ project with glfw when i got hte notification for this, i was fighting for my life in visiual studio when i get this smug notification telling me it wasent hard. I started crying immediately of course. Genuine question though, do you still use libraries like GLFW or GLUT in your larger projects or do you swap it out for something else?
@pokemonfanmario7694
@pokemonfanmario7694 3 күн бұрын
Generally GLFW and GLUT are pretty good for any level of low-level game development. Sure, you may have those guys telling you "use VULKAN it's more performant" but honestly? If you get a good system in place, OpenGL can get you anywhere. Plus, it looks really damn good on any programming portfolio.
@Solar_Messenger
@Solar_Messenger 3 күн бұрын
The lack of clarity of some of these concepts online and YT is actually a slight blessing. It makes things harder but it also means less competition. The more "complicated" something is, the less the common, time wasters who want a good paying job rather than enjoying the field invade our market and saturate it. Spoon feeding and excessive abstractions have invited shortcut developers into our field. This is something low level game dev here doesnt do thankfully otherwise he could only be making Unreal Engine 5 videos and pulling many views for virtually nothing. If you're struggling just take time to find out what each function or concept does in the documentation. Maybe test it independantly in a small practice project rather than trying to use it in your main one.
@hughjanes4883
@hughjanes4883 3 күн бұрын
@@Solar_Messenger So true, ive been using blender for a long time and going from every tutorial being 90% nothing and 10% stuff i allready knew to, actual useful information? crazy
@roryedmonds9415
@roryedmonds9415 3 күн бұрын
can hard relate to the nightmare that was setting up my first glfw project haha, this channel has some cmake setup videos that are helpful and you can also find github repos that come with glfw and glew/glad already setup which saves a lot of time
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
yess I use glfw, glut isn't really used anymore. I have a video called something like I linked all the libraries for you, you might want to check that out ;)
@MrAlus3
@MrAlus3 3 күн бұрын
"it will be replaced by rust" People who are in the industry less that 10 yrs think that this is first Cpp killer. In next 10 yrs we barely will remember Rust.
@growwithanshuman
@growwithanshuman 3 күн бұрын
Maybe not, I think rust will be the future soon
@sledgex9
@sledgex9 3 күн бұрын
It's not about if it or if it isn't a cpp killer. Even if it is, there's so much C++ code out there that it will take a very very very long time to replace it (if ever). It hardly makes economic sense to re-write projects in another language if they already work with current language. Also new projects might stop using C++ altogether (unlikely) but old projects will not vanish into thin air either.
@What-he5pr
@What-he5pr 3 күн бұрын
C++ will just assimilate Rust like it has other languages.
@growwithanshuman
@growwithanshuman 3 күн бұрын
@What-he5pr yes I'm been watching over , maybe safety be coming soon in C++
@h3l_l
@h3l_l 3 күн бұрын
both c++ and rust have weakness points and strength points, there are always use cases where c++ will be better and the other time rust might be better. rust is just fresh and it doesnt make sense to guess if it's going to be better than a language born a lot earlier
@rift1067
@rift1067 3 күн бұрын
You mentioned that companies have an incentive (be it technical, monetary or something in between) to use their own engines. However, we are seeing a shift where giant publishers like CDPR are switching to Unreal for their future titles. I'd like to know what your opinion is on that. Personally, I feel like it's a double-edged sword. UE5 is definitely pushing the boundaries to what makes a good engine, but I feel that the games that have recently come out have not utilized the architecture to its full potential. It could be due to a need for shift in the philosophy of certain aspects of game development that would be needed to actually make use of these newer features. What's instead happening is that the developers are being very sloppy with their collective work. The end result is an unoptimized homogeneous experience. This needs to change. Either through developers fully embracing what UE5 has to offer, or by realizing that just slapping the Unreal tag isn't going to make their games automatically better - and that it would be more optimal for them to engineer a workflow that specializes in delivering the vision of the games in question. Both of those routes involve taking financial risks that most companies aren't willing to make. They're giving the general audience this fake perception of them pushing the limits by shifting to UE5, but behind that veil of false marketing it's all the same safe tried and tested traditional practices. It's a lose-lose.
@oatmeal1337
@oatmeal1337 2 күн бұрын
I started programming in rust before C++ but rust has like 10x the friction. I fell for the meme 💀. I love reinventing the wheel!!! And no one can stop me
@lowlevelgamedev9330
@lowlevelgamedev9330 2 күн бұрын
glad to have you on my team 💪
@constantitus
@constantitus 3 күн бұрын
Learning how to write the game from scratch is definitely the way to go if you care about the programming aspect of game dev more than the design aspect. But C++ isn't really the best way to do it, imo. During the little time I spent doing c++, I tried my best not to do what people nowadays call "modern c++" (extensive use of templates, embracing oop and the rest of the mess that is c++). You could say I mostly did C with just a few some C++ features. I think some of the new "data-oriented" systems programming languages that emerged during the past decade (no, not rust) would be much better suited (tens of times more pleasant to work it, after all, the joy of programming is the main reason we do this in the first place).
@charlesabju907
@charlesabju907 3 күн бұрын
<a href="#" class="seekto" data-time="52">0:52</a> and that is why we should not respect opinions. People pull those kind of statements out of their behinds.
@luigiistratescu2756
@luigiistratescu2756 2 күн бұрын
Making a 2D terraria-like game is by no means easy. The AABB collision requires a lot of tuning. It's not the usual "if maxX > minX and ... etc.", you have to take into account the last position, and then you have to take into account jumping near a wall, if you jump diagonally and you hit the edge of a wall, you must disable last position temporarily so that you avoid getting stuck, etc. There's a lot of tuning that goes into a 2D game. Calculating the radius to engage/disengage enemies, creating dynamic spells, etc. is easy conceptually or it might seem easy conceptually but in practice it requires a lot of thought and effort. I speak from experience.
@lowlevelgamedev9330
@lowlevelgamedev9330 2 күн бұрын
I agree with you but I think people cam start with such a project and solve this big problems one by one eventually 💪
@luigiistratescu2756
@luigiistratescu2756 2 күн бұрын
@@lowlevelgamedev9330 That's true, low level programming as opposed to using an engine is more straight forward as it forces you to be aware of all details and build everything from the ground up. With an engine however things can get harder as you have to glue your code to the engine's functionality/editor and that takes a long time to learn. Nice vid.
@rodrigoetoobe2536
@rodrigoetoobe2536 3 күн бұрын
Have you checked at Handmade Hero videos? You will levelup your c++ gamedev skills considerably.
@Nathaniel-d3i
@Nathaniel-d3i 3 күн бұрын
I'm kinda doing this too, except with Rust. I wanna make a game, but also want to learn Rust for my career, and figured, why not do both? Learn Rust and make a terminal game to start. Then go from there.
@iasonmax3473
@iasonmax3473 21 сағат бұрын
this is a great video. But the music in the backround is a bit too much.
@causalguide
@causalguide Күн бұрын
bro idk but is there any tutorial for cpp game for mobile??
@clray123
@clray123 Күн бұрын
This is not about games. Systems programming (using language like C/++ or Rust) is a different discipline than application programming (using a high-level language, or in case of games, a game engine). Most people who do system programming are not all that interested in applications. Most people who do applications are not at all skilled in systems programming. It does not hurt to know a bit of both, especially to know how engine works under the hood for troubleshooting of application issues, but realistically you focus on one area or another. And if you set out to write applications using a systems programming language, sooner or later you will find yourself implementing your OWN engine, thus wasting effort and potentially quality compared to what dedicated engines are already capable of.
@vycdev
@vycdev Күн бұрын
I'd say that it really matters what your goal is, if you want to make a game engine in C++, you're better off not doing it if it's not for the right reasons. I think there is a clip from Pirate Software on the same topic.
@lowlevelgamedev9330
@lowlevelgamedev9330 Күн бұрын
good points bro 💪
@rodolfolorote9059
@rodolfolorote9059 3 күн бұрын
"Quality in a service or product is not what you put into it. It's what the customer gets out of it." - Peter Drucker I have far more respect for someone who has actually released something on Steam than for someone who spends their time creating low-level tech demos and claims superiority because of it.
@Vivi-xn9iz
@Vivi-xn9iz 2 күн бұрын
you're missing the bigger picture
@rodolfolorote9059
@rodolfolorote9059 2 күн бұрын
@Vivi-xn9iz how so?
@aleksandrk.5818
@aleksandrk.5818 3 күн бұрын
Hello! Friend, tell me you have not worked with UWP start menu start. I wanted to try to integrate my game or application. so that it starts together with the start window. Do you know how to do this?
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
yo never did things like this but it has to do with registers probably and maybe install kits can help but Inever used any. Search the web and also chat gpt might actually know how to do things like this 💪
@clray123
@clray123 Күн бұрын
Would you like to become a race car driver or a race car mechanic?
@connor43057
@connor43057 18 сағат бұрын
I never liked game engines. They feel like a "black box" where every time I *drag and drop* I feel like I'm copy-pasting 1+ million lines into my script which I barely understand. Sure there's documentation, but there's also way too many hidden rules. As John Blow once said, "You don't need a 10 million line game engine to make a 5000 line game"
@thesuperfluousone2537
@thesuperfluousone2537 Күн бұрын
Google: Playstation and Xbox are using C++. Me: What can I learn on KZbin, then? KZbin: Is C++ a dead language?
@lowlevelgamedev9330
@lowlevelgamedev9330 Күн бұрын
😂😂
@zoeherriot
@zoeherriot Күн бұрын
Hah hah, well, it's no longer the best/most popular language for applications (desktop applications shifted to languages like C# then essentially died as web apps become more popular). But in games, finance, systems programming - C++ is still king.
@netking767
@netking767 16 сағат бұрын
saw you mentioned midnight arrow...so i went and bought it (it's on sale 70% off though)
@lowlevelgamedev9330
@lowlevelgamedev9330 16 сағат бұрын
thanks bro I hope you like it 💪
@noname-zt2zk
@noname-zt2zk 3 күн бұрын
You should take a jab at implementing the mono C# vm
@h3l_l
@h3l_l 3 күн бұрын
don't take someone who's inexperienced in your field's opinions about it. the most stupid thing i heard is someone disliking a game because it wasn't made using an engine and that limits your knowledge, every single person in the gamedev industry knows it's the exact opposite
@Cactusman-e1d
@Cactusman-e1d 2 күн бұрын
For me learning how to make an engine, for me is for the challange and learning etc. That and because I get full control and do not owe fees towards companies or have to worry about them all the suden droping support or what have you. Plus to me building your own engine is what i feel like is what makes yoru game stand out from the TWO monoplostic engines out there..... aka unity and unreal that ALL the tripple AAA games are doing...... instead of making it unique by making there own engines..... etc. That and the experncince you get from it allows you to work in higher postions or work for your self over time.
@alihene2225
@alihene2225 3 күн бұрын
There is no way my guy said not using an engine is limiting your learning 😭 dawg was jealous or smth lmao
@sachahjkl
@sachahjkl 3 күн бұрын
tldr: start from the middle out, not top to bottom
@legendcat8913
@legendcat8913 3 күн бұрын
I want to learn all this…. But in rust!
@XanthumS
@XanthumS 3 күн бұрын
if someone is going to show me a game they made and they open visual studio I would be impressed as f, that is not a easy task to do.
@applenine991
@applenine991 3 күн бұрын
It's hard if u do it in Unreal 🤕... As a Beginner the absence of documentation makes Harder than it should be 😵‍💫
@heliumcloudgaming182
@heliumcloudgaming182 3 күн бұрын
<a href="#" class="seekto" data-time="56">0:56</a> average python kid advice (Learning hard is Waste of time)
@cheesepop7175
@cheesepop7175 3 күн бұрын
C++ and Easy should not be used in the same sentance.
@arl-t8d
@arl-t8d 3 күн бұрын
L judge
@rayujohnson1302
@rayujohnson1302 Күн бұрын
I built a game in two weeks using c++ for my final project, no libraries except the graphics.h (some deprecated graphics library with very limited functionality).
@lowlevelgamedev9330
@lowlevelgamedev9330 Күн бұрын
I have no idea how you managed to make graphics.h work because I also tried but props to you good stuff, I like the simplicity of it 💪💪
@Seacat17
@Seacat17 2 күн бұрын
It's hard to make games in anything other than Scratch
@dailydoseofeverything7141
@dailydoseofeverything7141 3 күн бұрын
Bro your warehouse has a watermark on it
@siskavard
@siskavard 3 күн бұрын
Yes it is.
@sahinerdem5496
@sahinerdem5496 Күн бұрын
More than this i will create a CPU and GPU then will create a Code Language for my CPU and GPU then will make my game...I want to eat a pizza; i will learn agriculture, then cerate wheat, Before agriculture i will study learn all Botanics, Botanics isn't enough because animals bugs birds eat seeded agriculture for that i will learn to create anti-bug for my farm, for that i will learn all chemistry then i will produce my anti-bug poisons, this is not enough, for that i will learn to create anti-bug poisons not to affect humans, i wll seed my farm then will get flavour, oh here for making flavour i must learn to make machines for tons of wheat, For that i will learn machine engineering etc. etc...
@Dr.W.Krueger
@Dr.W.Krueger 20 сағат бұрын
It's not, but it's hard to make anything worthwhile.
@sakul_the_one4821
@sakul_the_one4821 3 күн бұрын
Me, who is using C for my Calculator. Are actually this good projects? Like f.e. I go to an Interview and they ask: "what have you done?" And I answer then: "I made a 3D libary for my Calculator". Like is this even good?
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
I honestly think it is cool so yes 💪
@dragonalong6860
@dragonalong6860 3 күн бұрын
Rust isn't even a contender to replace C++. Zig and Odin are.
@zoeherriot
@zoeherriot Күн бұрын
Not sure about that. The thing is, MS is rewriting a lot of core systems in Rust. If they ever get around to rewriting DirectX it will likely be in Rust, which will be a push in that direction. Otherwise, I don't see Zig and Odin getting much traction in game dev outside hobbyists because of the closed nature of most platforms. Odin is pretty cool though.
@dragonalong6860
@dragonalong6860 Күн бұрын
@@zoeherriot Do research on Rust build times. There is NO WAY that Rust is replacing C++. Just not happening. I wanted to love Rust, but upon deeper dive it just isn't the language. I agree with you, Odin is super cool.
@zoeherriot
@zoeherriot Күн бұрын
@ I work with rust. Rust is already being used in AAA gaming in tool chains, we are aware of build times. You should try doing an UE build if a large project sometime. One hour of code, 8 hours of cook time… really gets up there. ;)
@ultrasquid579
@ultrasquid579 Күн бұрын
@@dragonalong6860 I don't need to do research on Rust build times, I've experienced them myself. The extra time spent building (which is *not that long*, by the way) is more than worth the runtime errors that are avoided by ensuring safety at compile time.
@dragonalong6860
@dragonalong6860 12 сағат бұрын
@@ultrasquid579 People more experienced than me will say that the safety features are easily avoidable once you do it long enough or design your code effectively. I've seen people compile Rust projects for relatively simple projects, and they took a long time. There's also no way to EVER optimize the front end of the compiler (even if you do optimize the back end of the compiler), so you're stuck with slow build times. Jonathan Blow (whom I despise politically), Ginger Bill, and Ryan Fleury have all talked about Rust not being ideal for game dev.
@zipiro8942
@zipiro8942 3 күн бұрын
making a graphic engine in the console
@zipiro8942
@zipiro8942 3 күн бұрын
using cpp
@Cinarbayramic
@Cinarbayramic 3 күн бұрын
@@zipiro8942 hey i have a question i tried to do that once but how do you clear or go to the start of the console?
@zipiro8942
@zipiro8942 3 күн бұрын
​So, there are some codes for the console, " \033[H " this puts the cursor of the console (the white flickering line) to top left corner (resetting it). Now this works for window terminal, because there is the plain old cmd and I think it's another code you can ask ChatGPT. With that code you type cout
@zipiro8942
@zipiro8942 3 күн бұрын
I have the code on github, If you want I will give you the link
@zipiro8942
@zipiro8942 3 күн бұрын
Forgot to say that I std::cout
@fantomass47
@fantomass47 3 күн бұрын
BASED! =D
@SweplaysYT
@SweplaysYT 3 күн бұрын
<a href="#" class="seekto" data-time="138">2:18</a> They should just ditch theyre shit os alltogether
@furuthebat
@furuthebat 2 күн бұрын
Always learn Data Structures and Algorithms, learn the tools to solve problems.
@lowlevelgamedev9330
@lowlevelgamedev9330 2 күн бұрын
idk what to say, I kinda never used anything more than sort maps bfd dfs lists queues trees very very rarely and that's about it, but it is good to know things exist for sure
@furuthebat
@furuthebat 2 күн бұрын
@@lowlevelgamedev9330 I mean you should know how to struct your (game, components) data and know what functions you can use on it ... most of the time I just use std::vector or std::array, maybe a map or a set, everything else is goes through filter, find, sort or transform.
@EXAML
@EXAML 3 күн бұрын
Why bro's accent is very much same to Indian ?😭
@PankajDoharey
@PankajDoharey 3 күн бұрын
C++ is too big that is the problem.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
that's why I only use only some things from it, I write cpp like it is c 99% of my time
@oussama7132
@oussama7132 3 күн бұрын
you can make games with c# without a game engine, there are c# libraries for that
@toddmartin7030
@toddmartin7030 3 күн бұрын
That is true, and with any language. But on a big enough project with a managed language like C# or Java, you’ll hit performance issues because of the garbage collector. Now if you’re making a small to maybe medium 2D game, it’s probably not gonna be an issue and it’s more important to learn that to worry about the GC. But on a large project with much larger memory requirements and such, you’ll hit a wall with performance because of the GC and stop the world pauses. This is the “stop the world” moments. But like I said, for a smaller project, don’t worry about it and go with C#. It’s more important to get stuff done and learn the algorithms and patterns. But you arnt exactly gonna be able to write a performant game on the scale of Witcher 3 with C# alone.
@WizardofWestmarch
@WizardofWestmarch 3 күн бұрын
The entire gamedev conversation seems dominated by people who's only interest is pumping out games to make money. And if that is what they want to do there is nothing wrong with it. But they need to stop acting like there are no other reasons to get into gamedev. Engines are wonderful, but they have to make tradeoffs that don't work for every use case. I enjoy using Godot but holy crap people refuse to acknowledge the existence of any other point of view.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
Godot is also fairly new, if the guy that made it was like this people there wouldn't be a Godot today lol
@WizardofWestmarch
@WizardofWestmarch 3 күн бұрын
@@lowlevelgamedev9330 Kinda new, I think it was early 2000s and like early 2010s when it became open source, but your point stands. If Juan and co had not decided to build an engine we wouldn't have an open source 2d+3d competitor for Unity which was dearly needed when Unity went full stupid last year. And I've been dabbling in going lower level of late for a change of pace because it really is fun sometimes to either start from nothing or even just bolt a bunch of low level libraries together and see what comes of it (like I've got a project with lua + raylib + EnTT bolted together that's been interesting to play with).
@AlexTsaava
@AlexTsaava 3 күн бұрын
?>Z
@milkmeapollo9048
@milkmeapollo9048 3 күн бұрын
"Teach a man to make a game engine and he'll never make a game in his life"
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
lmao so true 😂😂😂😂
@barry5
@barry5 3 күн бұрын
Clearly, php is the optimal language to write games in.
@921Ether
@921Ether 3 күн бұрын
use some of that youtube money to buy a better webcam and some lighting equipment
@barry5
@barry5 3 күн бұрын
Dude, he has like 39k subs, i doubt he's making tons of money from this
@georgiosdoumas2446
@georgiosdoumas2446 3 күн бұрын
His biggest problem is his accent/pronunciation, not the camera or the lighting. I find it hard to understand his words, and it demotivates me to watch more of his videos.
@lowlevelgamedev9330
@lowlevelgamedev9330 3 күн бұрын
I've actually already did that, it was kinda expensive something like 3 moths of youtube money but I think it will be worth it 💪
Draw to your C++ WIN API window! WIN API for Game Developers, day 15.
6:38
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 29 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 16 МЛН
Noodles Eating Challenge, So Magical! So Much Fun#Funnyfamily #Partygames #Funny
00:33
Как Я Брата ОБМАНУЛ (смешное видео, прикол, юмор, поржать)
00:59
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 44 М.
I Paid Devs on Fiverr to Make an Open World Game
8:33
Minimunch
Рет қаралды 441 М.
Why we can't focus.
12:45
Jared Henderson
Рет қаралды 10 М.
NOOOOOO, THIS HAS GOTTA STOOOOOOOPP.
6:38
Phoenix SC
Рет қаралды 521 М.
What I do to never have to worry about memory leaks!
8:03
Low Level Game Dev
Рет қаралды 43 М.
Can I remake those SH*TTY mobile games in 1 HOUR?
23:13
Code Bullet
Рет қаралды 2,2 МЛН
The Problem With Procedural Generation
17:57
Acerola
Рет қаралды 128 М.
Video Game Cities Are Weird
22:49
Razbuten
Рет қаралды 693 М.
Blender is Changing Animation Forever
11:11
Smeaf
Рет қаралды 107 М.
What The Heck Is a PLAYJAM GAMESTICK?!
22:56
James Channel
Рет қаралды 218 М.
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 29 МЛН