How to organize main() and folder structure for C++ GAMEDEV, WIN API for Game Developers, day 14.

  Рет қаралды 6,524

Low Level Game Dev

Low Level Game Dev

2 ай бұрын

This video will show you how I configure my CPP projects!
In this tutorial series, I aim to help you learn the Windows API. By the end, you will be able to make a basic game, using no libraries except Windows.h
Playlist 😤:
• WIN API for Game Devel...
#cpp #gamedev #programming #windows
code: github.com/meemknight/windows...
Build System Tips Video 🙀:
• A better way of using ...
join my Discord!
/ discord
Wishlist My Steam Game!
store.steampowered.com/app/23...
Join this channel if you want to support me 😻:
/ @lowlevelgamedev9330
Do you want to learn some more stuff from me?
• Make a C++ game FULL G...
Music:
Evan King - Everything is Okay
/ contextsensitive
contextsensitive.bandcamp.com/
Minecraft soundtrack: C418 - Aria Math

Пікірлер: 39
@cedric6941
@cedric6941 Ай бұрын
You make great videos and I hope you reach 100k very soon!
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
thanks bro 💪 me too!
@tomiibarrientos9440
@tomiibarrientos9440 21 күн бұрын
Thank you so much for this!
@lowlevelgamedev9330
@lowlevelgamedev9330 21 күн бұрын
you're wellcome 💪💪
@that404nerd
@that404nerd Ай бұрын
Hey man! Thanks for the video. I am looking forward to some engine related topics (for 2D and 3D). Cheers
@notdeus3834
@notdeus3834 Ай бұрын
you know, one wish I have is for you to have a dedicated course. When I start working I'd like to purchase it so that : 1. Support you as thanks for transforming me from uniformed noob to a more informed noob 2. Support your efforts directly since you are smaller than other tubers. I understand it might be a hobby but I can't in good consience leave you alone, unpaid when you make really good stuff, imo (I am someone who researches a lot. was stuck in beginners hell until recently cuz of you. thanks) so I'd like to buy somethin, even if it's like 2 years from now thanks a lot. I really appreciate your videos🙏🏻🙏🏻 please keep it up
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
thanks bro, actually I want to make a private community so it's like courses + my help, if you are interested in joining and would like to help you can message me on discord and we can talk about it because I haven't planned all the details and I would love some feedback from people that would be interested in something like this 💪
@notdeus3834
@notdeus3834 Ай бұрын
@@lowlevelgamedev9330 Alright, thank you. I'll be sur to pop in later. My internet is very slow so I don't have time to wait for discord to downoad so I'll leave it downloading in the background 🙏🏻
@theintjengineer
@theintjengineer Ай бұрын
Same.
@Console.Log01
@Console.Log01 Ай бұрын
Thanks for publishing this video after my making 40+ different files (.cpp and .h) for my game I'll keep this in my watch later if I ever restart though!
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
😂😂 you just have to move some file around and determine which ones should be in platform it's not much work hopefully 💪
@DillyzThe1
@DillyzThe1 Ай бұрын
random api management tip, but if you plan on making something like the "platform" folder reusable in other projects, i'd totally recommend keeping a solid yet short namespace on all of your classes/functions/variables. although, never nest things inside of a class when found unnecessary. it helps with organization and mitigates clashing with other apis heavily, especially with generic symbol names.
@TheSelfUnemployed
@TheSelfUnemployed Ай бұрын
I was just about to refactor my code for a game and reorganize some folders. I was taking a break from coding and this video pops up! I am new to programming and this channel is a gold mine. thank you so much broski keep up the great work
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
thanks bro 💪
@sledgex9
@sledgex9 Ай бұрын
For things local in a .cpp try wrapping them inside an anonymous namespace instead of using the "static" keyword.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
hmm what would be the advantage to this?
@sledgex9
@sledgex9 Ай бұрын
@@lowlevelgamedev9330 1. Readability: Local stuff are visually encapsulated in the same container namespace 2. Less typing: No need to type the static keyword for every declared function/var. 3. You can also declare local classes/structs. This can't be done with static. 4. Probably see what else StackOverflow says about this. FYI, in C++ parlance this "local" is called internal linkage. In case you want to research more on this.
@Master120
@Master120 Ай бұрын
I'm currently learning OpenGL (with C) and graphics programming isn't the career i want, so idk if I'm wasting time or not is it worth it anyways?
@alexale5488
@alexale5488 Ай бұрын
Depends. If you want to make a game, yes. If you want to learn, no.
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
good question, even without a graphics career it isn't useless because you will understand a lot of stuff and you can also make your own 2D library and other cool things. You will also get better at math. It is very hard however so my advice is to do it as long as you find it enjoyable 💪
@sweettea-hv1ls
@sweettea-hv1ls Ай бұрын
Most of the engines are designed in a way that suits basic genres like shooters, platformers, adventure games and etc. But some genres like rts, rhythm games and more other exotic genres are not suited with proper instrumentaries in most of the engines (or they have paid plugins in asset stores) and will stand in your way to develop them or it won't even depend on the engines. Paid plugins are risky way to make games because they can shut it down in any moment and eventually drop their reputations but it doesn't help you
@sweettea-hv1ls
@sweettea-hv1ls Ай бұрын
There are a lot of developers who make games using their rendering system like ThinMatrix, lowlevelgamedev, tokyospliff, jdh, the cherno, ZygerGFX and etc. Making general purpose game engines is very hard endeveor and I believe it's something that can not be accomplished.
@Master120
@Master120 Ай бұрын
@@alexale5488 i mean, making a game engine was a childhood dream so idk e-e
@SakshamSingh-wh6ie
@SakshamSingh-wh6ie Ай бұрын
Can you please tell where you learnt all these things
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
Handmade hero on youtube is one, on my discord server I have some channels where I only post good resources I think you might want to take a look there there are a lot of cool links 💪
@SakshamSingh-wh6ie
@SakshamSingh-wh6ie Ай бұрын
@@lowlevelgamedev9330 thank you so much. I really love your content.
@LTMDS
@LTMDS Ай бұрын
dariu?
@darkfllame
@darkfllame Ай бұрын
no views but 3 likes, man you're so popular lmao
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
yes I'm better than the youtube algorithm 💪😂
@FoXcodeZ
@FoXcodeZ Ай бұрын
Maybe there are more people like me who, when they watch a proven KZfaqr's video, hit the like button at the start of watching (YT still don't count it, if you just start watching).
@marks_shot
@marks_shot Ай бұрын
Cccmmmaake
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
well yes but actually no 😂
@doodocina
@doodocina Ай бұрын
2:00 worst functions name i've ever seen 😂😂😂
@Qohist
@Qohist Ай бұрын
DONT USE INHERITANCE
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
that's the spirit let's goo 💪💪💪💪
@Felix-att
@Felix-att Ай бұрын
Understand C++ Compile and Linker Errors!
8:59
Low Level Game Dev
Рет қаралды 3,9 М.
Jonathan Blow on why C++ is a bad language for games
13:45
Jonathan Blow Highlights
Рет қаралды 48 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 67 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 42 МЛН
Vivaan  Tanya once again pranked Papa 🤣😇🤣
00:10
seema lamba
Рет қаралды 34 МЛН
Finally understand Pointers! FULL GUIDE!
20:48
Low Level Game Dev
Рет қаралды 12 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 691 М.
So you want to make a Game Engine!? (WATCH THIS before you start)
14:39
Giant Sloth Games
Рет қаралды 274 М.
The Internet Played My Game (and it did not go well)
9:27
advancenine
Рет қаралды 207 М.
Factorio teaches you software engineering, seriously.
21:27
Tony Zhu
Рет қаралды 1,4 МЛН
why do header files even exist?
10:53
Low Level Learning
Рет қаралды 376 М.
5 Solo Game Dev Mistakes You MUST Avoid (My Experience!)
10:41
Thomas Brush
Рет қаралды 104 М.
reverse engineering makes you a better programmer (let’s try it out)
13:12
Low Level Learning
Рет қаралды 166 М.
Incredible magic 🤯✨
00:53
America's Got Talent
Рет қаралды 67 МЛН