Learning C++ by making a Game... in 1 Week?!
Vložit
- čas přidán 18. 06. 2022
- This week I challenged myself to Powerlearn C++ Programming in one week!
During this week I remade the classic chrome Dino Game BUT with a twist!
❗️Check out this next video!❗️
• Learning Blender in 7 ...
❗️The Udemy Course❗️
tidd.ly/3HvwkFn
Learn C++ with an interactive and fun course!
❗️The Game Demo❗️
flokydev.itch.io/glino
❗️Discord❗️
/ discord
Are you starting your journey in game dev? Are you looking to make some friends with the same interests as you to motivate and help each other out? Well... my discord is empty for now but I'll gladly be your company if you still decide to join! :D
#PowerlearningC++Programming #IndieDev #GameDev #UnrealEngine #floky #3DGames - Zábava
Great stuff as always Floky!
Thank you for helping with the Thumbnail ;)
Even if this video never get's off the ground or the content therein, it was funny. Made me laugh and gave good vibes. Loved it!
thank you
Google ain't got nothing on this game.
Yeah let's hope they don't make me cease to exist XD
really nice video love the content youve been creating keep it up man
One of the best videos i've ever seen in my entire life. I especially loved the fact that you did that one thing in the video than the other thing. 10/10 👍🏻
🤣
I'm confused?
@@Floky nvm dude, I just saw the same comment from 2 different people. Nice video, congrats ✌🏻
@@Vav97 I saw that too but that comment confuses me XD
Thanks btw
@@Floky i wrote it as soon as the premiere started
Thats an amazing guide, thanks man!
Np, have fun! 👍😉
Awesome video dude! Love the editing and storytelling!
Eyyyy, what a frikin amazing surprise seeing you in my comment section, been binge watching your stuff for a while now!
Great stuff aswell my man!
@@Floky Haha so cool to hear that you watch me too, I've watched pretty much all your videos and have liked them a lot!
@@DevBanana glad to hear it man!
ngl I love this video and rewatch it so many times, this video has motivated me to game develope using raylib, I also checked out that course lol
Raylib is really fun! I'm glad my video motivated you!
This cinematic masterpiece is by far one of the best short films iv seen, flokys acting easily compares to Jared Leto in the hit movie Morbius, the only movie to ever gross $69 morbillion dollars
Hahaha!
This is an awesome channel, glad I found it!
Glad to have have you! 😁
😂😂😂😂
This guy is good,! look, i will subscribe and follow you; not just because i want to learn cpp but because of how funny you create your contents 😅😅
Love the content. Commenting to bump those engagement numbers. Hope you have a good day!
Hell yeah! Thank you!
This content is very cool and good quality and even though you are a small creator I love these videos
Glad you like my stuff!
Nice job, keep going on
6:35 i don't believe you just changed random stuff to make collisions work !! i took almost a week to learn how to work with collisions on my own ! anyways amazing video ❤
Even 1 year later I'm still confused about it... Like it was working at one point, then it stopped working... I got frustrated a basically starting rewriting the code the exact same way, an then it worked 😂😂
Collisions are a real pain!
Thanks!
Really good short film. Hahaha Maybe you should Radioactive your Logo. That would be really cool
Hahaha thanks!!
I really like my logo colours way to much to change it 🤣
I'm sorry I couldn't fit your animations in this one! Maybe the next one 😁
@@Floky 🤣good luck. No Problem. I'll be waiting for the next one
Great video. I am in the process of learning C right now.
Nice! Good luck!
thanks for your sharing :D
I like the video! Watched it with no skips
Glad to hear it! 😁👍
that loot boxes joke especially was funny
yes but floky needs to add loot boxes to reinforce gambling habits onto small children
Well produced video mate!, Thanks for providing the source code :). There's a tiny bug (Out of bounds write to an array) at the start of your main function. You declare int WindowDimensions[1]; which causes the array to be of size 1, but then writing the window height into it WindowDimensions[1] = 720; at place 2 in the array causes undefined behaviour. Ran into this when trying to build it on my laptop 🙂
Ohhh, will try to fix that! Thanks for telling me! 😁
Should be fixed now :P
Thanks again :D
Now we know why dinosaurs got extinct.... flying axes and lack of yellow watermelons....
That's exactly how it happened.
I think you could have a state for the dinosaur and map the bounding box to it
So you can have a different bounding box for each state or even an array of bounding boxes for each state, as it is just a 2D game and not so many things happen at the same time it should not be a big deal in performance
Really cool video, neat storytelling, however one mistake is that Visual Studio Code is not a game engine it’s a text editor.
I recommend learning to program with raw code. My season is that you get insight and expertise you wouldn't ever get with the safety net that is game engines. You are thrown into a world and are given infinite possibilities, if you are dedicated. There are so many things you learn about games and how they work and I personally think the fact it can be as customisable as you want, makes a project feel a lot more personal and earned. I don't want to say I look down on game engines because they have provided us with amazing things and are great when it comes to introducing concepts of game development but they never gave me something raw coding didn't.
I do agree with everything you said, however I see game engines as a way to create fun games quite quickly, I'm not the kind of person that wants to work 7 years on 1 game, making my own game engine etc... 😂
@@Floky And I respect that opinion😃
I mean I agree with it 😅 but that is why I mentioned you have to be dedicated.
It takes a while but the feeling of satisfaction from coding a game from scratch is next level. I appreciate all the things you can do with a game engine though.
I personally want to make a game, alone or with 1 or 2 other people. As little people as possible and make sure it checks my standards before releasing it, kinda like how stardew valley was developed?
Wish me luck!
@@ledira8539 very respectful goal! All the luck my friend! 😁
Have you started on that game yet or what are you up to now?
another cool stuff :D
Thanks!! :D
Great video! Would you say the course teaches you enough so you can make a game like this on your own? I’m currently taking another Udemy course but it’s just c++ theory and want to build a game for fun.
Yeah, I would say that course def teaches you enough! I actually only did half of the course.
I personally couldn't have asked for a better introduction to coding 😁
Jedwabisty film bratku
You also couldve added a collectable That Gives You an Extra Life/Heart
Love The Videos!
Glad you like them!
It's called raylib 😉
Hey I stopped the video at the beginning to say that I'm currently doing the same course lol I just finished the axe game myself before binge watching all your videos
Nice, hope you progress nicely! It's such a fun course!
This is the exact same way i learnt C++, every single day i would force myself to work on an asteroids clone for a few hours, and when the game got finished, i learnt a lot, then i followed some C++ tutorials to learn some more advanced stuff, and here i am, i wouldn't call myself a master but i am attempting to start to write my own game engine.
That's something I'd like to do too some day, make a game engine for the fun of it
good stuff
You should mention that you used raylib, as it‘s an awesome little open source library that made this whole video possible.
That is true! It's an awesome and fun library
Tbf, at the time I wasn't even sure what raylib was 🤣
Omg 😂😂 this video was really great
Glad you like it 😁
So cool!
great mod, everything works, thanks
My pleasure :)
i love you floky !!!!!11!!
I love you too!!!! No Homo
Well done 🥰👍👍❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕
Thanks!
Bro I'm just a web dev using Python(Django), JavaScript and SQL etc, now you make me wana learn C++ and game dev 😭
It's really fun! Give it a try!
@@Floky Let me give it a try fs
did you have any like previous fundamentals on computer science before or like ur just Like completely new??
I had about 1 month of Unreal Engine blueprint knowledge, so basically completly new :D
Polish currency? Its nice to see that our polando people get into game dev! And 54zł for a course? Not bad!
I'm late, that course was really good for it's price!
Also, I'm sadly not polish, but I live in Poland and I love it!
the way you said jsfxr is quite unique
XD
Dude reinvented object pooling
Funny thing is that at the time of the making of this video I probably didn't even know what object pooling was XD
Yooo the same video I learned from!!
Yeah! It's great 😁
And I didn't even make it to bring C++ working on my PC.^^ That was my experience with C/C++ so far.^^ 🤣🤣🤣🤣🤣🤣
I know how you feel... It feels so complex and clunky at first
@@Floky For real mate. I am a informatics student and can't bringt it to run.^^ Or I have watched the wrong tutorials. I am happy with Java so far but especially when it comes to graphics, then C++ is the first choice, because you have the full control over the RAM. And as a student I really wanna test it out to have the full control you know.
@@ParalyticAngel yep... I guess you should maybe try a well rated paid course maybe?
I subscribed
Thanks :D
Floky when will you return, you're my inspiration!
I'm working on a game, I've been planning a video about the game for months but life is tough sometimes!
But I'll be back for sure!
Thank you 👍
6:38 bro this is the first rule of us,programmers....if our code is working and don't know how..then don't touch it ..😅
Yeah, for sure!
I recognize this course 😂
Yeah, it's quite good and really fun!
Floky I need to tell you this buddy… ducking through an axe swinging at you does not make you invincible. Just as a heads up if you ever find yourself in that position
What... Really?
That was more like sarcastic to me. Forgive that i said that
@@Luke_DeFi what are you talking about? 😂
@@Floky well i commented before watching the video i thought he was talking about the life kinda things but didnt knew it was dino of ur game (havent watched the whole video yet)
As a C++ programmer it took me 4 months to make games like this lol
Really? O.o
@@Floky well there is a thing that how hard the language is it makes it more unique and easy engine or languages are less unique cuz in hard languages the person has to do effort but we can make even bigger programs with more things to add
@@Floky idk i lack unreal engine knowledge but thats what i think
red window was funny
XD
I heard "C++ in one week" and in my mind there was a big fat "NO" :D
But i have to say that it is way easier to work with C++ in Unreal Engine. Epic Games made it as easy as possible. You just need to know the basic structures Epic uses to create certain objects. Then it's only about vectors, booleans and some variables. I think with a basic knowledge of C++ you can do a lot in Unreal Engine.
I'm impressed with how much you learned in just one week my friend! You seem to have what it takes to be a coder/game developer :) Keep going!
Indeed, unreal engine came a long way!
Maybe knowing the concepts of game dev are what makes programming easier
@@gardendado1999this too, but there's no "right" ways to deal with game development, and what others see as "right" is often just another way of learning and making
Just simply enjoying the process of analyzing and building your game, and experimenting with the properties and functionality is just great to me
What's the name of the sound track used in your game?
It's a song called in the hall of the mountain king, but it's a "pixel" version :)
You should try to learn making videogame music in a week next
It's planned, for next month 😉
Am learning c++ and this pop up😂
Hang in there!
Weldone
Thanks!
❤😍
what monster decided to feed html as "programming" to the drawing ai
Ehhh... What?
if u have already learned a oop language like java or c++,Learning a new lang becomes too easy. I learned c# within 1 day
Yeah, C# was really easy for me too
You didn’t learn c# in one day. You just learned the basic syntax.
Make hit boxes
6:15 good joke👍
XD did you find your easter egg? (You're Mythenman no?)
How is it hard to add a ; after the line 457??!
It's not hard, I was just laughing at the fact that the problem understood what the error was but didn't actually fix it 😂
🤣🤣🤣🤣 love the video
Me learning one day before exam 😂
I feel this xD
Better than the real one
:D
That course is €84.99 now. Inflation hits hard, damn.
It goes on sale quite often 😉
what is this music name 9:50 ?
I'm 1 month late but the song is called "In the hall of the mountain King" and it's the just dace remix version 👍
you're goat
Thanks! Unless you mean "goat" the animal, then I take my thank you back!
can anyone tell what's that music on 4:22, please?
I'm a bit late but: It's called "Tiger Track" by Lexica
@@Flokythank you🙏
If you start from C++ then you will be a great programmer in future
That was my thinking too... Haven't made too much progress for now XD
Hi so how did you learn c++? Did u just watch the 4 hour long video and then u started to create a game already? @@Floky
@@beidouimpact4075 No, I followed a course by gamedev.tv 😉
@@beidouimpact4075 I show the exact course I used at 1:45
My first thought was oh no...
Hahaha
bro learned a language I'm still trying to learn for the past 5 years, in 1 week.
I mean, there is still so much I don't know and I've made this video 2 years ago 🤣
That/s some spaghet code.
Hey, be nice to my first c++ project! hahahaha
@@Floky I wasn't making fun, I was laughing because it reminds me of when my code was nothing but spaghet.
If you want a good read, something that will help improve the way you create code, I recommend the book "Clean Code"
@@digitalwastlelandgaming will look it up! Thanks 😁👍
Bro says C++ and works in C
the "boring details" are why i clicked :/
Sorry man, I try my best to give enough details without getting boring :/
@@Floky no worries, you probably aim to have a different type of fanbase than just pure coders
Yeah, trying to please everyone is impossible 😅
I bought 10 books c++, math, and graphics math for game development.
it was like ₩1.418.130 $1000....I hope I get there as a game developer... Even tho My laptop cant run games💀🔥
Best of lucks!
everyting is for free on the internet.
@@Destroymaster100 I know. But I like physical, also due to autism
0:52 THIS WAS SUS MATE
Damn, I've been found out!
1:46 youre from poland?
I live in Poland but I'm not from Poland :D
@@Floky oh ok
lol ive done this c++ fundamentals course
It's good right!?
@@Floky yeah
wait printf is not a c++ code in c++ you need to use cout
Indeed! but "printf" is more understandable and known... therefor better for thumbnails XD
@@Floky but why when you let see the code there are printf and the file is c++?????????????(sorry if i'm so dumb i started learning c++ 3 days ago)
But a game engine will suck your money too (remember someone made it with code) that's why he's making money 😅 (looks win win)
I don't mind losing some money but having a lot of work done already... Also if you use godot you don't lose any money at all 😉
When I saw "can I learn C++ in one week" I thought "this guy must have some programming ability in a simpler language like Python or JavaScript, but no. I just watched someone make a game in C++ with no coding experience
How
Hahaha!
How?
By doing C++ stuff every day for 8h a whole week XD
It was fun though!
Do you do any programming yourself?
@@Floky I started learning python about 1.5 yrs ago and while I don't have very much study time, it took me about a month to make a (very simple) game
I was really shocked with your ability to just know programming concepts like loops, variables, functions, etc. It made me think you had some sort of outside experience with programming
I think knowing exactly what you want to get out of programming can help a lot with your learning process, I probably could have taken a page out of your book when I started, great video
@@Hammish Ahhh, I think I know where your confusion lies, I have been using blueprints in unreal engine for a while, so the logic and terminology was very similar!
So I might have never written any line of code but I did already have a fundamental understanding of how things work and what tools are at my disposal!
The hardest part was learning the syntax!
Also, spending my first day on theory helped a lot!
PS: Just in case you are unaware, Blueprint is a Unreal Engine visual scripting language based on C++ ;)
Bro chooses to meet his full potential.
I Always try 😊
wait are you from poland(same) currency 1:49
I live in Poland yes 😁
Pog same
I want this code if you comfortable
It's linked in the description, I've shared the entite project source file on itch.io
Make a game with c sharp
Like in unity? I did that in my latest video
BALL
BALL
whats the beat in 2 day
czcams.com/video/sd0ox958PSg/video.html&ab_channel=EpidemicArcade
1:47
Jesteś polakiem?
Are you polish?
I live in poland but I'm not Polish and I also don't speak polish.... Trying to learn thought :D
@@Floky if you live in Poland, then you are polish, aren't you?
My teachers told me this
@@yoyo12345 not really, I would argue that your nationality defines what you are... My nationality is Swiss... So I'm a Swiss guy living in Poland xD
Where is the source code?
The game demo in the description comes with the full source code 😁
5:45, y should always make functions dont just make them to clean the code up code the functions direct
Is more optimised? Aren't functions to keep your code organized and structured?
Your comment is unintelligible
@@Floky yes but I meant with this comment that you should always directly write a function and not yeeting all into the for example main method in the start write like a function for every feature
Coders these days complain that AABB collision is hard, we are doomed, hopefully AI takes over son
When have coders not complained about little things? 🤣
Shut up cornball your doomed
Coders these days also can’t spell, hopefully AI takes over soon
@@dt3688Nah, he really meant “SON!”
The Source Code??
It's in the description
All source code in one file hhh
Hahaha, yeah not the best xD
Im a Nugget
Hmmmm.... Never would have guessed :P
1:47 Złotówki???? Polska????
I live in Poland but I don't speak polish yet hahaha 😁
@@Floky So where are you from?
@@Rexio-cg3gs I'm from Switzerland 🇨🇭
Gotta say it’s weird watching programming videos from people who aren’t programmers.
What do you mean? 😂
@@Floky you spend a couple years doing it and the stuff that was hard at the start becomes easy and you forget how hard it is to learn when you don’t already know key concepts. It’s like watching a child learn to walk, you know? It’s amazing, but also weird because you don’t remember what it feels like to struggle with it.
polskie?