i have absolutely nothing but respect for people like you. thank you. i’m not exactly a beginner to programming/software engineering, but wanted to pick up c++ (because most of my experience is in garbage collected languages). i’ve been learning c++ for the past 8 months (solving problems on leetcode and making small projects like a word spell checker cli, tcp client echo server.) now i stumbled upon this video when i wanted to make a small gui project. imma start with your tutorials. thanks again
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)_
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 😂💪
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.
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)
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.
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.
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.
@@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.
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
Nice video! It motivated me to start learning c++. one thing that game up when I downloaded initial commit and tried to run it I get errors for incompatible pointers in files in /thirdparty/raudio. Seems like I need to find a way to make it run with Linux or set up a windows VM
well you already know some stuff if you are here so continue making some big projects from now and don't focus that much on the language itself, all the things you saw in that video are like 99% of what I use. If you want more cpp gamedev also search javidx9 on youtube and handmade hero 💪
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?
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. 💪
@@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?
hello, love your work but I believe a bit of documentation on the classes, methods e.t.c. would be helpful so I don't have to reverse engineer your library to find out all its functionality let a lone how to use them
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.
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 💪
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.
I have a very naiive question but given that I am starting out with making games from scratch (I have been using unity for 6-7 years), so should I invest time in learning C++ or something like RUST which is new and upcoming? Thanks a lot for your videos btw.
I personally don't think rust is that good for gamedev, and with cpp it will be clearly easier since there are many pleaces to learn it and do game dev with it, but ultimatelly it also matters which one you like more 💪
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
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)
running into a problem when building. Apparently windows 8.1 sdk needs to be installed to build, but going to visual studio installer and searching for it yields no results
yeah that problem is common and it is wierd. You need to make sure that the right cpp comonents are installed, like the desktop cpp dev component. And if it still doesn't work you might need to try to reinstall visual studio and cmake (make sure you add the global path thing to the cmake) also tag me on discord if it doesn't work
Cant get it to open with VS and when I just clone the repository its not correct. Tried joining the discord but i get stuck in a loop of it needing my email to verify so I need to login but when I try to login it says my email is already verified and it doesn't do anything else! Very annoying, Im sure its something im not doing correctly but Idk how to fix that!
it's kinda hard to tell what is the problem without being able to see some details. Just try to redo the steps that I do there, and if it's not working try to fix the discord and message me or tag me there
Да это неплохо разбираться в низкоуровневых веща. Но если вы хотите делать игры, то на мой взгляд, проще и быстрее это делать на движках. Но в любом случае за видео! ♥️
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
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 ❤❤
i have absolutely nothing but respect for people like you. thank you.
i’m not exactly a beginner to programming/software engineering, but wanted to pick up c++ (because most of my experience is in garbage collected languages). i’ve been learning c++ for the past 8 months (solving problems on leetcode and making small projects like a word spell checker cli, tcp client echo server.)
now i stumbled upon this video when i wanted to make a small gui project.
imma start with your tutorials.
thanks again
I glad I could help you 💪💪
thank you so much! This video was very practical for me by showing exactly everything at least briefly instead of just saying them
I'm glad you liked it 💪💪
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)_
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 😂💪
Lvl 80 content detected
true
Paladins unite and fight
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.
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)
Am learning cpp it's come to my recommendation❤
I hope it helps 💪💪
Interesting and useful tutorial. Well done!
3:40 I had no idea that "birght colors" exist! thanks :)
😂😂
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.
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.
@@PixelThorn I will try that thanks
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.
@@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.
your solution lies in understanding the C Language @@4F6D
Could you do a video on cleaning code in c++?
Thanks comrade! Interesting to see how make load screan and progress bar
fantastic stuff, keep going
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
Nice video! It motivated me to start learning c++. one thing that game up when I downloaded initial commit and tried to run it I get errors for incompatible pointers in files in /thirdparty/raudio. Seems like I need to find a way to make it run with Linux or set up a windows VM
you can just remove the audio library as an alternative
im actually recreating this exact game but with raylib because i want to learn c++ but also try and stop myself from copying someone elses code.
very good idea 💪
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?
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
👌👌👌👌
What's the website mentioned at 0:47 ? Code what?
code wars
@lowlevelgamedev9330 Oh wow, thanks! Wasn't expecting a reply from the man himself 😁
Can't believe I caught the meme at 1:40 in that split second without even pausing. I need to touch grass.
What resources did you use to get your game engine up and running and learn game dev?
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 💪
Great video thanks, I got it working! I'm studying a C++ course too at university, do you have some tips for how I can learn C++?
well you already know some stuff if you are here so continue making some big projects from now and don't focus that much on the language itself, all the things you saw in that video are like 99% of what I use. If you want more cpp gamedev also search javidx9 on youtube and handmade hero 💪
Which graphic library do you use?
I have my own (it is called gl2d) but you can use whatever you want like sfml after you complete the tutorial, because you will get the idea
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?
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. 💪
@@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?
Amazing video
great video my friend!!!
thank youu 💪
hello, love your work but I believe a bit of documentation on the classes, methods e.t.c. would be helpful so I don't have to reverse engineer your library to find out all its functionality let a lone how to use them
yo my 2d library has documentation, search github meemknight/gl2d wiki
What is the application you using to run the code???
visual studio
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.
yes that is true, thanks for the nice comment 💪💪
Can you use Visual Studio Community Edition to create and compile your game for commercial use and sell?
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 💪
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.
Actually build games without classes may be harder than usual. But whatever you need for fun, ofc
@@anywaylose3999 Yeah. Inheritance is goated fr.
Can we convert this to the website
Unfortunately I wasn't able to make it work on my linux system. I am definitely missing something.
I have a very naiive question but given that I am starting out with making games from scratch (I have been using unity for 6-7 years), so should I invest time in learning C++ or something like RUST which is new and upcoming?
Thanks a lot for your videos btw.
I personally don't think rust is that good for gamedev, and with cpp it will be clearly easier since there are many pleaces to learn it and do game dev with it, but ultimatelly it also matters which one you like more 💪
have you solved the problem of scaling the aspect ratio?
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
So I can’t open the file with visual studio and it is starting to upset me… which visual studio do you use??
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)
Gonna follow this but in Odin!
nice, I hope it will work for you 💪💪
Amazing video! Thanks for sharing bro!
As a Mac/Linux user, I prefer VS Code.
Am I missing to much by not using Visual Studio?
depends, it has some very usefull things but I wouldn't say it is the end of the world
Can you give tutorials on the Pika Engine with it's modeling and C++ scripting
i wish to develop rts game like warcraft,command and conquer and supreme commander
Would be nice to implement an npc in your minecraft clone
yess I'll do that later, also nice profile picture 😂
Well do we need laptop with GPU to run this project?
nope, potato laptop works 💪
is gld2 better than stb-image for loading textures?
good question, it's as good because I use exactly stb image in gl2d to load images😂😂😂😂
the spaceGame.exe file was not there
pls add timecodes to video
for some reason i cant get the spacegame.exe to show up could you help me with that
yo, you probably have some cmake errors, tag me on discord so we can fix it
running into a problem when building. Apparently windows 8.1 sdk needs to be installed to build, but going to visual studio installer and searching for it yields no results
also space game.exe is not appearing in the startup dropdown
yeah that problem is common and it is wierd. You need to make sure that the right cpp comonents are installed, like the desktop cpp dev component. And if it still doesn't work you might need to try to reinstall visual studio and cmake (make sure you add the global path thing to the cmake) also tag me on discord if it doesn't work
@@lowlevelgamedev9330 yeahhh at some point in time i must have removed components of desktop dev and now added the standard components back. It works
Cant get it to open with VS and when I just clone the repository its not correct. Tried joining the discord but i get stuck in a loop of it needing my email to verify so I need to login but when I try to login it says my email is already verified and it doesn't do anything else! Very annoying, Im sure its something im not doing correctly but Idk how to fix that!
it's kinda hard to tell what is the problem without being able to see some details. Just try to redo the steps that I do there, and if it's not working try to fix the discord and message me or tag me there
The player sprite is flipped...
you can add a +180 degrees offset and it will be fine :D
@@Darxad-po4fwIts flipped in the video
cool video)
ur deff romanian, not gonna lie
😂😂🇷🇴
this tut not it gng the map doesn't even load and i did all of your steps multiple times
hm, you probably have the paths wrong, that is the most common error. You can try to copy the code from my github and see what you did wrong
So c++ is easiest than unreal engeal 🤔 😮😮😮
yes 💪😎
"then right click inside the folder" WICH FUCKING FOLDER DUDE 😭😭(edit: nvm im stupid)
Да это неплохо разбираться в низкоуровневых веща. Но если вы хотите делать игры, то на мой взгляд, проще и быстрее это делать на движках.
Но в любом случае за видео! ♥️
Definitely not a beginner friendly
tu esti roman
poate
I think bro is from russia
Is there anyway I can test my game using only visual studio code?
I'm new into this....Can't run this project in vs code🥲 plsssssss help
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
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 ❤❤
I'm thinking of making many tutorials so yes but it will take some time tho