Make a C++ game FULL GUIDE!

  Рет қаралды 121,040

Low Level Game Dev

Low Level Game Dev

5 ай бұрын

In this video, I will show you guide you through
all the steps to making a game in C++ from scratch!
#cpp #gameprogramming #indiegame #indiedev
Join my Discord:
/ discord
Wishlist Midnight Arrow:
store.steampowered.com/app/23...
Join this channel if you want to support me 😻:
/ @lowlevelgamedev9330
Part2 Menu:
• Menus and UI for Your ...
Game repo:
github.com/meemknight/game-in...
Itch.io link:
lowlevelgamedev.itch.io/make-...
Art for the game:
deep-fold.itch.io/space-backg...
wolf-viciox.itch.io/health-bar
lowich.itch.io/free-spaceship...
Thanks, @anicaromotion for the new intro 💪
Music: Evan King - Booty Shake Robot
Music: Evan King - Everything is Okay
Music: Evan King - Pocket Universe
Music: Evan King - Spicy Boom
Music: Evan King - Invisible Walls
/ contextsensitive
contextsensitive.bandcamp.com/
Minecraft soundtrack: C418 - Danny
Minecraft soundtrack: C418 - Minecraft
Minecraft soundtrack: C418 - Haggstrom

Пікірлер: 76
@mrtitanhearted3832
@mrtitanhearted3832 5 ай бұрын
thank you so much! This video was very practical for me by showing exactly everything at least briefly instead of just saying them
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
I'm glad you liked it 💪💪
@frostnz6996
@frostnz6996 5 ай бұрын
This is exactly what i've been looking for :)
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
glad I can help 💪
@RiccardoBocci
@RiccardoBocci Ай бұрын
fantastic stuff, keep going
@FuIbion
@FuIbion 5 ай бұрын
Thank you so much! You explained clearly how to use your library (I wonder if it's not a tutorial for getting started with it), you explained theorical aspect of making a game before actually showing code, and that's perfect!! _(btw im famous cuz u showed my "hi youtube" on da discord)_
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
well in a way it is a tutorial for using my library and framework and in a way I just wanted people to make their first game and after that use whatever they want. Glad you liked it and glad you became famous 😂💪
@Desotterro
@Desotterro 5 ай бұрын
Thanks comrade! Interesting to see how make load screan and progress bar
@rmt3589
@rmt3589 5 ай бұрын
This is amazing! Also, the thing you used, frames, is exactly what I've been looking for! Gonna go research that now. Do you have any tutorials on it? If not, would you make one in the future? I'm planning to use it for a website simulator, and some other things.
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
well that thing is just part of my ui library, I haven't inspired myself from any other resource but it is nothing fancy, you can find some more info on the glui repo woki or in my last video (the one about ui)
@vladi3784
@vladi3784 19 күн бұрын
Amazing video
@venoenix
@venoenix 5 ай бұрын
Could you do a video on cleaning code in c++?
@rssszz7208
@rssszz7208 5 ай бұрын
Am learning cpp it's come to my recommendation❤
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
I hope it helps 💪💪
@saletheoverthinker
@saletheoverthinker 4 ай бұрын
Really nice video! I have a question not exactly related to this video, what do you think of Unreal Engine and do you use it?
@lowlevelgamedev9330
@lowlevelgamedev9330 4 ай бұрын
I don't use engines so I'm not the person to ask this but from what I have seem it seems tedious to work with so I would rather use unity
@cyanuranus6456
@cyanuranus6456 3 ай бұрын
Entity Component System. Either Can Be Player "Protagonist" and Main NPC That Destroys Player "Antagonist". Civilians and Victims are Miscellaneous. Assets as Atmosphere Design and More
@user-sh1px3tk2u
@user-sh1px3tk2u 3 ай бұрын
cool video)
@herrdingenz6295
@herrdingenz6295 5 ай бұрын
3:40 I had no idea that "birght colors" exist! thanks :)
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
😂😂
@friedrichmyers
@friedrichmyers 5 ай бұрын
This is the exact guide I needed. However, I don't like C++ so I will stick with C and try to develop things on my own. I like Mathematics and Physics so it will be easier for me.
@anywaylose3999
@anywaylose3999 5 ай бұрын
Actually build games without classes may be harder than usual. But whatever you need for fun, ofc
@friedrichmyers
@friedrichmyers 5 ай бұрын
@@anywaylose3999 Yeah. Inheritance is goated fr.
@4F6D
@4F6D 5 ай бұрын
Going through a C++ book rn to catch up on all the topics I skipped as a kid. For me the hardest thing is knowing how much is enough knowledge to start with opengl. I read a whole chapter about pointers and references, watched javidx9 videos, watched the cherno, but I still cant really grasp how to use pointers or why they are in the specific sections in the code like singeltons. This is all really frustrating and feels like I will never be able.
@PixelThorn
@PixelThorn 5 ай бұрын
Here's a pro tip: just don't use them at first, try and make a small game with just a few enemies without them. You can have global arrays with a set number of max enemies, items, etc and just access what you want with indexing instead of pointers. If you want to avoid copying, just use references. But in this early stage, just focus on getting a game done.
@4F6D
@4F6D 5 ай бұрын
@@PixelThorn I will try that thanks
@afterlife1578
@afterlife1578 5 ай бұрын
imo, watch the cherno videos again, they really helped me. Pointers are a difficult topic to first get around, but once you do, they are pretty simple, they're just integers holding values of addresses to variables. Try to do a simple addition program using pointers and references and you'll get the gist. It took me a while too.
@4F6D
@4F6D 5 ай бұрын
@@afterlife1578 I know how pointers work and how to use them, but once the program gets complicated these are a nightmare to understand. The Chernos videos are unfortunately too shallow for real world usage.
@and_I_am_Life_the_fixer_of_all
@and_I_am_Life_the_fixer_of_all 5 ай бұрын
your solution lies in understanding the C Language @@4F6D
@BasPower12
@BasPower12 5 ай бұрын
Can you give tutorials on the Pika Engine with it's modeling and C++ scripting
@neloth9874
@neloth9874 2 ай бұрын
Hi, I am new here by the way what's your C++ ide that you usually use to write your codes here, and also do I need to learn object-oriented programming in C++ to build games here?
@lowlevelgamedev9330
@lowlevelgamedev9330 2 ай бұрын
yo, I use visual studio (the purple one) I think that's your best option for cpp as long as you don't have a very old pc. Also oop is not needed, and many gamedevelopers including me actually stay away from it. 💪
@neloth9874
@neloth9874 2 ай бұрын
@@lowlevelgamedev9330 Oh! thanks mate, so I don't need to worry about oop for game development, well I do have i3-1220P CPU(laptop) with12 Gb ram with 512gb ssd(nvme), but I don't have external GPU only integrated (intel uhd graphics, which has only 128mb dedicated Vram and shared 6gb) one, is it enough to learn and create 2d games? or do I really need dedicated GPU with more Vram?
@muhammadnuralhafiz
@muhammadnuralhafiz 5 ай бұрын
i wish to develop rts game like warcraft,command and conquer and supreme commander
@VoyivodaFTW1
@VoyivodaFTW1 3 ай бұрын
What resources did you use to get your game engine up and running and learn game dev?
@lowlevelgamedev9330
@lowlevelgamedev9330 3 ай бұрын
Handmade hero on youtube is the best one, you can find a ton more on my Discord tho, I have special channels for resources only 💪
@bejn5619
@bejn5619 5 ай бұрын
Gonna follow this but in Odin!
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
nice, I hope it will work for you 💪💪
@eprst0
@eprst0 3 ай бұрын
Да это неплохо разбираться в низкоуровневых веща. Но если вы хотите делать игры, то на мой взгляд, проще и быстрее это делать на движках. Но в любом случае за видео! ♥️
@HuntDownErebus
@HuntDownErebus 5 ай бұрын
Lvl 80 content detected
@ScaredHelmet
@ScaredHelmet 17 күн бұрын
Can you use Visual Studio Community Edition to create and compile your game for commercial use and sell?
@lowlevelgamedev9330
@lowlevelgamedev9330 17 күн бұрын
online is says something like As long as your company does not meet the enterprise definition, and no more than five people use Visual Studio. you can sell your software but since you won't make that much money with your first project make it and if you ever become a milionare you can worry about that aspect than 💪
@gigpig5700
@gigpig5700 5 ай бұрын
Hey love your content mate but will you do a tutorial for making a 3D game engine I made a 2D game engine but I just cannot find good tutorials for making a 3D engine like yours thx ❤❤
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
I'm thinking of making many tutorials so yes but it will take some time tho
@kheops3101
@kheops3101 5 ай бұрын
Would be nice to implement an npc in your minecraft clone
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
yess I'll do that later, also nice profile picture 😂
@yds6268
@yds6268 5 ай бұрын
I enjoy your channel a lot, but I feel like most of your advice is relevant for any language, not just C++. I understand why you personally prefer C++, but other languages are great too, and people successfully develop commercial games with them. I tried C++ too, but I still prefer Rust, and it's growing more popular by the day.
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
yes that is true, thanks for the nice comment 💪💪
@_EnVyUs
@_EnVyUs 5 ай бұрын
have you solved the problem of scaling the aspect ratio?
@lowlevelgamedev9330
@lowlevelgamedev9330 5 ай бұрын
good question, I chose a game that doesn't have this problem because I wanted to make the video simple. If your game really needs a specific aspect ratio all you can do it resize the game and leave black portions or in full screen you can even request the monitor to use a specific aspect ratio
@jamesj738_
@jamesj738_ Ай бұрын
So I can’t open the file with visual studio and it is starting to upset me… which visual studio do you use??
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
visual studio the purple one, (you can also use vs code but I don't recommand) make sure you have the cpp component for desktop developement installed (the one that has cmake)
@xylvnking
@xylvnking 5 ай бұрын
Can't believe I caught the meme at 1:40 in that split second without even pausing. I need to touch grass.
@queenb3730
@queenb3730 2 ай бұрын
is gld2 better than stb-image for loading textures?
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
good question, it's as good because I use exactly stb image in gl2d to load images😂😂😂😂
@souravpandey5823
@souravpandey5823 4 ай бұрын
Well do we need laptop with GPU to run this project?
@lowlevelgamedev9330
@lowlevelgamedev9330 4 ай бұрын
nope, potato laptop works 💪
@4F6D
@4F6D 5 ай бұрын
The player sprite is flipped...
@Darxad-po4fw
@Darxad-po4fw 3 ай бұрын
you can add a +180 degrees offset and it will be fine :D
@4F6D
@4F6D 3 ай бұрын
@@Darxad-po4fwIts flipped in the video
@imedithh
@imedithh 4 ай бұрын
ur deff romanian, not gonna lie
@lowlevelgamedev9330
@lowlevelgamedev9330 4 ай бұрын
😂😂🇷🇴
@Agistar64
@Agistar64 4 ай бұрын
So c++ is easiest than unreal engeal 🤔 😮😮😮
@lowlevelgamedev9330
@lowlevelgamedev9330 4 ай бұрын
yes 💪😎
@Vlad-ho7ry
@Vlad-ho7ry Ай бұрын
tu esti roman
@lowlevelgamedev9330
@lowlevelgamedev9330 Ай бұрын
poate
@dimscrawl4910
@dimscrawl4910 4 күн бұрын
Nice tutorial shame you don't speak english
@nigggaman
@nigggaman 9 күн бұрын
Is there anyway I can test my game using only visual studio code?
@ayushrathaur
@ayushrathaur 2 ай бұрын
I'm new into this....Can't run this project in vs code🥲 plsssssss help
@lowlevelgamedev9330
@lowlevelgamedev9330 2 ай бұрын
I don't use vs code that often, I recomand using visual studio but if you can't, you need to install the cmake and the cpp extensions in vscode and there should be a similar way to open the folder and run the project
Learn To Code Like a GENIUS and Not Waste Time
9:41
The Coding Sloth
Рет қаралды 1,2 МЛН
9 DEVS Make a GAME without COMMUNICATING (Where did it go Wrong?)
21:33
Blackthornprod
Рет қаралды 1,1 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 18 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 37 МЛН
Why Do Video Game Studios Avoid Blender?
6:49
The Cantina
Рет қаралды 245 М.
How I made a 3D Level in a 2D Game
24:28
Spu7Nix
Рет қаралды 3,2 МЛН
2 Python Developers VS $1000
15:04
PolyMars
Рет қаралды 1,7 МЛН
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 403 М.
I Remade Minecraft But It is Optimized!
9:39
Low Level Game Dev
Рет қаралды 92 М.
1 Year of Learning Game Development In 6 Minutes
6:01
Giedzilla
Рет қаралды 2,4 МЛН
the TRUTH about C++ (is it worth your time?)
3:17
Low Level Learning
Рет қаралды 610 М.
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,1 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 3,6 МЛН
What does a Game Engine actually do?
16:45
Ellie Rasmussen
Рет қаралды 138 М.
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 18 МЛН