This is a very good example for non programmer people to make em understand and appreciate just how ridiculously complicated games we take for granted nowadays really are
tbh even with game engines that make your life easier i still kinda find it hard to make games with unity (prob me not really having much experience in game making) but still, making big games isn't easy :)
@@ianboyer2224 is the second one gdscript? I know the first one is one of the C languages(that could be any of them lmao), but i'm not sure what the second one is other than GDscript. Is it python?
@@ianboyer2224 yes, i only learned java but already worked with python for backend, c# and c++ in game dev, dart for multiplatform application. Language is almost never an issue. I only had to take a look at pointers for c++ and then i was good to go
I'm glad you made this video, I am currently going through no scratch press' c++ crash course book to refresh my c++ knowledge that I got at university. So seeing games being developed directly in c++ is a welcome change
This is fantastic work! Learning C++ can be very frustrating but when you've got a cool project like this it's easy to focus. 4:36 looks awesome. I feel there is a game in something like this.
This is great! Almost wished you went more in-depth, but definitely made me want to try my hand at doing a game without Unity! Thanks for the motivation 👌
I made the same game, though I had alot of problems regarding making the astroids spawn in random coordinate... Yet at last it was great, even my siblings liked it :3
sfml also has vector classes but its great for all sorts of things... multiple camera systems and all its modules are explained on their website... i loved it to program some c++
Recently did something very similar, made a neat ascii physics animation from c++ without ever using it. Big jump from knowing just Python and Java lol
I'm trying to get into a game dev program for uni and there's an intake assignment that asks to do exactly that: make a small game using C++ with SFML and no game engine. If this was the hardest challenge you've done yet, I feel like this is gonna be fun-
Yea, it feels weird hearing the biggest struggle was physics and the display as I’ve never touched engines like unity and had to alway do all this usually
@@the8bittoaster103 The only hard part about physics that would typically be encountered are collisions (and SFML actually does have a bit of a rudimentary 2D engine, it makes loading sprites easy and give things like bounding boxes to make 2D collisions easy... as long as you don't need pixel level collisions where transparent pixels don't collide, or something like that). Collisions aren't really too difficult until you need to run them between many objects... then you may need to use an octree (or quadtree in 2D). The physics is learn once, apply everywhere, I like it. Game engines tend to be either 1) super limiting or 2) require a bunch of learning you will never apply anywhere except that engine (and that might be obsolete on their next major update as well). Special knowledge about the sequence of GUI boxes to check to some tile generation thing... really seems like memorizing some sort of ritual.
wait wait wait wait wait ... while this is SUPER impressive and like really, I mean that! You did great here and showed me stuff I need to learn as I'm just starting out with basics on C++ and i know a bit of VBA. It looks like you missed a couple things, does you ship blow up? can it occupy the same space as an asteroid? also looks like your bullets keep going after they hit an asteroid. Well done, like I said. Those things would kind of annoy me. Maybe that's something I need to learn, that close enough is good enough and if it works dont muck with it. is there a way to get this code so that when i'm ready i can play with it because i feel like you quickly solved some tiring physics issues.
I would have loved to do this, I was a little fed up toward the end of this project so I didn't polish it quite up right. I hope you enjoyed regardless :)
"This time since last frame was really easy to implement." Let's say this louder to Bethesda can hear it lol For those of you who don't know, some actions in Bethesda's game engine are linked to frame rate, so running the game at a frame rate higher than 60fps makes actions such as lock picking in Fall Out 4 run much, much faster to the point that they aren't playable. This actually cause major issues (as if there weren't enough already on release) with Fall Out 76. Players with higher end PCs were able to perform actions faster than those tied to 60 fps. I think it was as bad as them even being able to move faster. Being a multiplayer game, this was not a good thing to say the least. I think they fixed it eventually, but I still find it hilarious.
Not tying actions to frame rate is bad enough but a multiplayer game... yeah that’s not the best lmao. It frustrates me seeing as how easy of a fix it is.
It's just an entity with n numerical values, with n being the dimension of the vector. It's just like an array but it's treated differently from an array because of the different operations you can do with it like the dot product, cross product, etc. I wrote this comment for beginners who may not know what a vector is.
If you already know a programming language, then you already know 90% of programming languages. Only thing hard with C and C++ is understanding and mastering memory management.
I mainly just used the documentation for SFML as well as some of my C# knowledge to make this game. It was not the neatest code in the world if I'm honest. I'd say TheCherno C++ series is probably one of the best for you to learn :)
Why do you punish yourself, I remember making a vector Space Shooter in Java 19 years ago for College and that was a massive headache, anyway great job.
Become a member to access cool perks (Free unlimited muffins) ua-cam.com/channels/z3l6nyODzXLzTxIkARZ8rw.htmljoin
your next step is C then Rust then Assembly :)
@@IamPyu-vand then pure binary
no
This is a very good example for non programmer people to make em understand and appreciate just how ridiculously complicated games we take for granted nowadays really are
tbh even with game engines that make your life easier i still kinda find it hard to make games with unity (prob me not really having much experience in game making) but still, making big games isn't easy :)
@@crazyksp8344 Yeah, and big AAA games are rarely made without modifying the game engine
@@awwastor or they make they own engine
@@guitarplayer1495 mostly Epic Games have Unreal , Rockstar have their own idk the name
@@yashrawat9409 EA has Frostbite, CDPR as RedEngine. Most big companies have their own engine, but Unreal is the most prevalent one
-reads title
-clicks video
-sees it's 5 minutes long
somethings wrong I can feel it
my volume was all the way up because the videos sound is so low, then i hear PEW PEW PEW PEW
lol sorry about that.
@@barj you're good hahaha 😆
😂
"making a game with no experience" proceeds to show us how to code google.
with c++
@@ianboyer2224 is the second one gdscript? I know the first one is one of the C languages(that could be any of them lmao), but i'm not sure what the second one is other than GDscript. Is it python?
@@ianboyer2224 ayyy i guessed right!
@@ianboyer2224 yes, i only learned java but already worked with python for backend, c# and c++ in game dev, dart for multiplatform application. Language is almost never an issue. I only had to take a look at pointers for c++ and then i was good to go
@@kuchukboromdebbarma2117 Ayo, a quick look at pointers isn't enough if you work with the heap. That's how bugs are created
I'm glad you made this video, I am currently going through no scratch press' c++ crash course book to refresh my c++ knowledge that I got at university. So seeing games being developed directly in c++ is a welcome change
This is fantastic work! Learning C++ can be very frustrating but when you've got a cool project like this it's easy to focus.
4:36 looks awesome. I feel there is a game in something like this.
It's called line rider
Just reading the title I thought this was some kind of suicide trip but it actually is amazing! Keep it up!!
This is great! Almost wished you went more in-depth, but definitely made me want to try my hand at doing a game without Unity! Thanks for the motivation 👌
That's really dope! looking forward to replicate the same one by myself!
Keep me posted!
Sounds about right 👍 Anything you learned, or should have learned in highschool and college will help you in your c++ journey.
Awesome video! My first dabbling into game dev was making an Asteroids clone using LibGDX, so this hit me right in the nostalgia :)
I made the same game, though I had alot of problems regarding making the astroids spawn in random coordinate... Yet at last it was great, even my siblings liked it :3
Hey bro, can I add you, can you teach me how to make the game? 👀🙏
4:33 Ahhh yes the friend to all glitch masters. *SPAGHETTI CODE!*
How does this channel only have 1.75k subs, doesn"t make sense the video quality is so good
Thanks Peter, means a lot :)
because of this video title
@@rodolforp4200 Because channel has too few videos and rarely upload
Such a quality video, you deserve more subs
I appreciate that!
C++ Takes months to learns and years to master.
me 1 week with C++: hello world
him 1 week with C++: I CODED THE ENTIRE MILKY WAY GALAXY AND THIS HOW!
It's called ctrl c + ctrl v.
I just started learning c++, I'll if I can copy this from scratch once I'm confident enough
Keep me updated :0
sfml makes this incredibly easy lmao
trying to implement openGL or vulkan when you have no idea what you're doing also isn't the easiest thing in the world lmao
Damn. Who hurt you piggy
@@barj glfw :(
sfml also has vector classes but its great for all sorts of things... multiple camera systems and all its modules are explained on their website... i loved it to program some c++
Discord be like : Playing Visual Studio Code
pog vid btw
Reminds me of the old joke, "I took a speed reading course, and I was able to read 'War and Peace' in 20 minutes. It's about Russia."
I don't get it, can someone explain for me?
How does this only have 70 views?
This is a very good example! Thanks much
such a good video my man, i started sfml a long time ago and i needed to stop doing my game because i needed to study, this inspired me so mcuh!!!!!!
Thanks man, that means a lot :)
@@barj your videos are so amazing, I love the way you explain stuff like delta time and everything, keep it up!!
Recently did something very similar, made a neat ascii physics animation from c++ without ever using it. Big jump from knowing just Python and Java lol
For sure. The game isn't too hard to make, it's the jump from a managed language that gets you :)
I took "with no experience" and assumed you meant not knowing anything. I was going to change careers if that were the case and you were successful.
And I'm over here still trying to center this damn div
You can thank dani because I clicked on your videos after recognizing your profile picture from his muck video (btw great name lol)
Let’s gooo
BRO! You have done a job though. I liked it. You have got yourself a new new subscriber man.
Thank you :)
aren't you the guy who told dani to name his game muck lmfao, great tutorial btw
Bob.
Very good content, not too long but still holds everything :D
what is that awsome sprite editor
This is insane! Good job.
How do you make your visual studio look so nice? o_O
@@hermes6910 thanks a lot!
I'm trying to get into a game dev program for uni and there's an intake assignment that asks to do exactly that: make a small game using C++ with SFML and no game engine. If this was the hardest challenge you've done yet, I feel like this is gonna be fun-
Yea, it feels weird hearing the biggest struggle was physics and the display as I’ve never touched engines like unity and had to alway do all this usually
@@the8bittoaster103 The only hard part about physics that would typically be encountered are collisions (and SFML actually does have a bit of a rudimentary 2D engine, it makes loading sprites easy and give things like bounding boxes to make 2D collisions easy... as long as you don't need pixel level collisions where transparent pixels don't collide, or something like that). Collisions aren't really too difficult until you need to run them between many objects... then you may need to use an octree (or quadtree in 2D).
The physics is learn once, apply everywhere, I like it. Game engines tend to be either 1) super limiting or 2) require a bunch of learning you will never apply anywhere except that engine (and that might be obsolete on their next major update as well). Special knowledge about the sequence of GUI boxes to check to some tile generation thing... really seems like memorizing some sort of ritual.
Javidx9 has a nice video on the same thing. Not to takeaway from yours but he covers the maths really well.
Gamemaker user : oh that game
Bloody great man thank you!
yeah right. "no experience" good one
"With no experience" oh yeah sure sure okay.
This is wonderful, thanks for doing this
respect you man
cool video i subbed
Exelent vídeo new subs
Welcome aboard!
wait wait wait wait wait ... while this is SUPER impressive and like really, I mean that! You did great here and showed me stuff I need to learn as I'm just starting out with basics on C++ and i know a bit of VBA. It looks like you missed a couple things, does you ship blow up? can it occupy the same space as an asteroid? also looks like your bullets keep going after they hit an asteroid. Well done, like I said. Those things would kind of annoy me. Maybe that's something I need to learn, that close enough is good enough and if it works dont muck with it. is there a way to get this code so that when i'm ready i can play with it because i feel like you quickly solved some tiring physics issues.
Great vid, very well executed
Awesome video
so amazing video bro
Super Cool!
Amazing! I'm just learning c++ :)
4:40 accidentally created a thruster haha
Good work! If only we could add scatter functionality to the destroyed asteroids which inturn could act as bullets causing a domino...
I would have loved to do this, I was a little fed up toward the end of this project so I didn't polish it quite up right. I hope you enjoyed regardless :)
Really nice job ! Could you please tell me which is the font that you're using in this video ?
good shit bro intresting to watch as well
wow thats insane i really gotta start learning cpp
Thanks For The Physics Source Code xD
8k subs now still underrated
That's not a lot of trigonometry lol, cool video anyway
haha lol
Nobody
Pac man: wakka wakka
"This time since last frame was really easy to implement."
Let's say this louder to Bethesda can hear it lol
For those of you who don't know, some actions in Bethesda's game engine are linked to frame rate, so running the game at a frame rate higher than 60fps makes actions such as lock picking in Fall Out 4 run much, much faster to the point that they aren't playable. This actually cause major issues (as if there weren't enough already on release) with Fall Out 76. Players with higher end PCs were able to perform actions faster than those tied to 60 fps. I think it was as bad as them even being able to move faster. Being a multiplayer game, this was not a good thing to say the least. I think they fixed it eventually, but I still find it hilarious.
Not tying actions to frame rate is bad enough but a multiplayer game... yeah that’s not the best lmao. It frustrates me seeing as how easy of a fix it is.
this guy can make a game and i cant even properly understand vector in 1 day ...
It's just an entity with n numerical values, with n being the dimension of the vector. It's just like an array but it's treated differently from an array because of the different operations you can do with it like the dot product, cross product, etc. I wrote this comment for beginners who may not know what a vector is.
You should contact these guys called STORROR. They are looking for a game developer with a background in C++ .
Thanks :)
the title is me using unity in a nutshell
what is the destruction game you play i saw a clip at 0:30
This makes me want to pick up C++
So cool!
I'm curious as to how your VS looks so clean and simple. How'd you do that?
how did you learn C++ in a week? and from where and how
If you already know a programming language, then you already know 90% of programming languages. Only thing hard with C and C++ is understanding and mastering memory management.
Wondering the name of the theme you are using in VS code. Thanks!
How did you apply that illustrator work in c++?
this is really cool
Thank you :)
wow man
thats so sick!
You made a triangle in illustrator instead of rendering it in code? Noob
Jk very interesting video, I’m learning C++ myself and this is inspiring
What's the background music? It's super chill.
Giggity giggity goo
Awesome, but can I ask, why didn't you use hpp files instead of h, is there a reason?
what are some good sources for code libraries? what are some examples of other libraries other than physics?
You did a great job! Can you please share the sources that helped you the most to learn C++?
There are millions of tutorials on YT
I mainly just used the documentation for SFML as well as some of my C# knowledge to make this game. It was not the neatest code in the world if I'm honest. I'd say TheCherno C++ series is probably one of the best for you to learn :)
@@barj true the cherno is the best
@@barj Thank you
@@computerprogrammer7942 I know there are lots of materials, I just curious about which sources he just used.
Which theme are u using for ur vscode??
bro this is so similar to the gamemaker studio 2 space rocks tutorial
Noice
I'm pretty sure asteroids doesn't use an image instead generates some vectors so each asteroid looks different
Correct.
Why do you punish yourself, I remember making a vector Space Shooter in Java 19 years ago for College and that was a massive headache, anyway great job.
Nice one. Now without SFML
3:45 how make games in visual studio code?
wow
when mushy update?
pew pew pew
i would appreciate if you make a tutorial for this sfml project. just the bubble sort visualization is fine, but witht the asteroids if yo can.
how did u make ur mac look like windows?
Poggers
may I control C and control V your hard work!!! I'm trying out coding, and I don't understand like everyone else when they see code lmao
This video really exploded! What was your previous Cpp experience? Like and suscribed Barji!
Non-existent 😳
@@barj Ooh so it was true! Wow!!
@@barj It surprised me! Of course, you had C# experience, but what you did is amazing!!
Sfml I am not good with that can u do with sorcers
what vscode theme is that
Do you recommend c++ or unity to make games?
Hey, I got a quick question on how you managed to do the delta time. I still cant seem to find out....
what are those cursors?