Learning C++ by making a Game... in 1 Week?!
Ойын-сауық
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
Пікірлер: 263
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
Great stuff as always Floky!
@Floky
Жыл бұрын
Thank you for helping with the Thumbnail ;)
really nice video love the content youve been creating keep it up man
Google ain't got nothing on this game.
@Floky
Жыл бұрын
Yeah let's hope they don't make me cease to exist XD
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
@Floky
Жыл бұрын
Hahaha!
Thats an amazing guide, thanks man!
@Floky
2 ай бұрын
Np, have fun! 👍😉
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
@Floky
Жыл бұрын
Raylib is really fun! I'm glad my video motivated you!
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 👍🏻
@Vav97
Жыл бұрын
🤣
@Floky
Жыл бұрын
I'm confused?
@Vav97
Жыл бұрын
@@Floky nvm dude, I just saw the same comment from 2 different people. Nice video, congrats ✌🏻
@Floky
Жыл бұрын
@@Vav97 I saw that too but that comment confuses me XD Thanks btw
@Sinbad1999
Жыл бұрын
@@Floky i wrote it as soon as the premiere started
Awesome video dude! Love the editing and storytelling!
@Floky
Жыл бұрын
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!
@DevBanana
Жыл бұрын
@@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!
@Floky
Жыл бұрын
@@DevBanana glad to hear it man!
This is an awesome channel, glad I found it!
@Floky
Жыл бұрын
Glad to have have you! 😁
Nice job, keep going on
Love the content. Commenting to bump those engagement numbers. Hope you have a good day!
@Floky
Жыл бұрын
Hell yeah! Thank 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 😅😅
This content is very cool and good quality and even though you are a small creator I love these videos
@Floky
Жыл бұрын
Glad you like my stuff!
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 ❤
@Floky
3 ай бұрын
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!
that loot boxes joke especially was funny
@Sspaceeee
Жыл бұрын
yes but floky needs to add loot boxes to reinforce gambling habits onto small children
thanks for your sharing :D
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 🙂
@Floky
Жыл бұрын
Ohhh, will try to fix that! Thanks for telling me! 😁
@Floky
Жыл бұрын
Should be fixed now :P Thanks again :D
Really good short film. Hahaha Maybe you should Radioactive your Logo. That would be really cool
@Floky
Жыл бұрын
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 😁
@HarnaiDigital
Жыл бұрын
@@Floky 🤣good luck. No Problem. I'll be waiting for the next one
I like the video! Watched it with no skips
@Floky
Жыл бұрын
Glad to hear it! 😁👍
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.
@Floky
Жыл бұрын
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... 😂
@ledira8539
Жыл бұрын
@@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!
@Floky
Жыл бұрын
@@ledira8539 very respectful goal! All the luck my friend! 😁
@rylanjohnson9049
3 ай бұрын
Have you started on that game yet or what are you up to now?
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
@Floky
Жыл бұрын
Nice, hope you progress nicely! It's such a fun course!
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
another cool stuff :D
@Floky
Жыл бұрын
Thanks!! :D
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.
@Floky
2 ай бұрын
That's something I'd like to do too some day, make a game engine for the fun of it
Bro I'm just a web dev using Python(Django), JavaScript and SQL etc, now you make me wana learn C++ and game dev 😭
@Floky
6 ай бұрын
It's really fun! Give it a try!
@firefuegomakes
6 ай бұрын
@@Floky Let me give it a try fs
Omg 😂😂 this video was really great
@Floky
Жыл бұрын
Glad you like it 😁
Really cool video, neat storytelling, however one mistake is that Visual Studio Code is not a game engine it’s a text editor.
You also couldve added a collectable That Gives You an Extra Life/Heart
Jedwabisty film bratku
great mod, everything works, thanks
@Floky
Жыл бұрын
My pleasure :)
So cool!
Well done 🥰👍👍❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕
@Floky
3 ай бұрын
Thanks!
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.
@Floky
Жыл бұрын
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 😁
good stuff
And I didn't even make it to bring C++ working on my PC.^^ That was my experience with C/C++ so far.^^ 🤣🤣🤣🤣🤣🤣
@Floky
2 ай бұрын
I know how you feel... It feels so complex and clunky at first
@ParalyticAngel
2 ай бұрын
@@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.
@Floky
2 ай бұрын
@@ParalyticAngel yep... I guess you should maybe try a well rated paid course maybe?
You should mention that you used raylib, as it‘s an awesome little open source library that made this whole video possible.
@Floky
3 ай бұрын
That is true! It's an awesome and fun library Tbf, at the time I wasn't even sure what raylib was 🤣
Polish currency? Its nice to see that our polando people get into game dev! And 54zł for a course? Not bad!
@Floky
14 күн бұрын
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!
i love you floky !!!!!11!!
@Floky
Жыл бұрын
I love you too!!!! No Homo
Love The Videos!
@Floky
Жыл бұрын
Glad you like them! It's called raylib 😉
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!
@Floky
Жыл бұрын
Indeed, unreal engine came a long way!
@gardendado1999
Жыл бұрын
Maybe knowing the concepts of game dev are what makes programming easier
@EnigmaticAesthetics
2 ай бұрын
@@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
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 ..😅
@Floky
3 ай бұрын
Yeah, for sure!
the way you said jsfxr is quite unique
@Floky
4 ай бұрын
XD
did you have any like previous fundamentals on computer science before or like ur just Like completely new??
@Floky
10 күн бұрын
I had about 1 month of Unreal Engine blueprint knowledge, so basically completly new :D
I recognize this course 😂
@Floky
4 ай бұрын
Yeah, it's quite good and really fun!
I subscribed
@Floky
14 күн бұрын
Thanks :D
Dude reinvented object pooling
@Floky
4 ай бұрын
Funny thing is that at the time of the making of this video I probably didn't even know what object pooling was XD
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
@Floky
Жыл бұрын
What... Really?
@Luke_DeFi
Жыл бұрын
That was more like sarcastic to me. Forgive that i said that
@Floky
Жыл бұрын
@@Luke_DeFi what are you talking about? 😂
@Luke_DeFi
Жыл бұрын
@@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)
Floky when will you return, you're my inspiration!
@Floky
29 күн бұрын
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 👍
Yooo the same video I learned from!!
@Floky
Жыл бұрын
Yeah! It's great 😁
As a C++ programmer it took me 4 months to make games like this lol
@Floky
Жыл бұрын
Really? O.o
@Luke_DeFi
Жыл бұрын
@@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
@Luke_DeFi
Жыл бұрын
@@Floky idk i lack unreal engine knowledge but thats what i think
red window was funny
@Floky
Жыл бұрын
XD
Weldone
@Floky
Жыл бұрын
Thanks!
🤣🤣🤣🤣 love the video
You should try to learn making videogame music in a week next
@Floky
Жыл бұрын
It's planned, for next month 😉
❤😍
bro learned a language I'm still trying to learn for the past 5 years, in 1 week.
@Floky
Ай бұрын
I mean, there is still so much I don't know and I've made this video 2 years ago 🤣
Am learning c++ and this pop up😂
@Floky
3 ай бұрын
Hang in there!
What's the name of the sound track used in your game?
@Floky
Жыл бұрын
It's a song called in the hall of the mountain king, but it's a "pixel" version :)
you're goat
@Floky
4 ай бұрын
Thanks! Unless you mean "goat" the animal, then I take my thank you back!
Better than the real one
@Floky
14 күн бұрын
:D
6:15 good joke👍
@Floky
Жыл бұрын
XD did you find your easter egg? (You're Mythenman no?)
Make hit boxes
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
@Floky
7 күн бұрын
Yeah, C# was really easy for me too
@throwaway6288
3 күн бұрын
You didn’t learn c# in one day. You just learned the basic syntax.
Me learning one day before exam 😂
@Floky
14 күн бұрын
I feel this xD
That/s some spaghet code.
@Floky
Жыл бұрын
Hey, be nice to my first c++ project! hahahaha
@digitalwastlelandgaming
Жыл бұрын
@@Floky I wasn't making fun, I was laughing because it reminds me of when my code was nothing but spaghet.
@digitalwastlelandgaming
Жыл бұрын
If you want a good read, something that will help improve the way you create code, I recommend the book "Clean Code"
@Floky
Жыл бұрын
@@digitalwastlelandgaming will look it up! Thanks 😁👍
How is it hard to add a ; after the line 457??!
@Floky
Күн бұрын
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 😂
That course is €84.99 now. Inflation hits hard, damn.
@Floky
Жыл бұрын
It goes on sale quite often 😉
what monster decided to feed html as "programming" to the drawing ai
@Floky
4 ай бұрын
Ehhh... What?
the "boring details" are why i clicked :/
@Floky
Жыл бұрын
Sorry man, I try my best to give enough details without getting boring :/
@SpazeOfficial
Жыл бұрын
@@Floky no worries, you probably aim to have a different type of fanbase than just pure coders
@Floky
Жыл бұрын
Yeah, trying to please everyone is impossible 😅
Bro chooses to meet his full potential.
@Floky
4 ай бұрын
I Always try 😊
If you start from C++ then you will be a great programmer in future
@Floky
3 ай бұрын
That was my thinking too... Haven't made too much progress for now XD
@beidouimpact4075
3 ай бұрын
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
@Floky
3 ай бұрын
@@beidouimpact4075 No, I followed a course by gamedev.tv 😉
@Floky
3 ай бұрын
@@beidouimpact4075 I show the exact course I used at 1:45
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💀🔥
@Floky
10 ай бұрын
Best of lucks!
@Destroymaster100
4 ай бұрын
everyting is for free on the internet.
@fsForward
4 ай бұрын
@@Destroymaster100 I know. But I like physical, also due to autism
1:46 youre from poland?
@Floky
14 күн бұрын
I live in Poland but I'm not from Poland :D
@geghost2211
14 күн бұрын
@@Floky oh ok
0:52 THIS WAS SUS MATE
@Floky
13 күн бұрын
Damn, I've been found out!
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
@Floky
10 ай бұрын
Hahaha! How? By doing C++ stuff every day for 8h a whole week XD It was fun though! Do you do any programming yourself?
@Hammish
10 ай бұрын
@@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
@Floky
10 ай бұрын
@@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!
@Floky
10 ай бұрын
PS: Just in case you are unaware, Blueprint is a Unreal Engine visual scripting language based on C++ ;)
lol ive done this c++ fundamentals course
@Floky
14 күн бұрын
It's good right!?
@AndyPipkinOfficial
14 күн бұрын
@@Floky yeah
what is this music name 9:50 ?
@Floky
14 күн бұрын
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 👍
wait are you from poland(same) currency 1:49
@Floky
Жыл бұрын
I live in Poland yes 😁
@Redeam.
Жыл бұрын
Pog same
My first thought was oh no...
@Floky
3 ай бұрын
Hahaha
Ahah)) nice))
can anyone tell what's that music on 4:22, please?
@Floky
14 күн бұрын
I'm a bit late but: It's called "Tiger Track" by Lexica
@aizekjon
14 күн бұрын
@@Flokythank you🙏
wait printf is not a c++ code in c++ you need to use cout
@Floky
Жыл бұрын
Indeed! but "printf" is more understandable and known... therefor better for thumbnails XD
@masterpat48
Жыл бұрын
@@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)
BALL
@Floky
Жыл бұрын
BALL
Make a game with c sharp
@Floky
2 ай бұрын
Like in unity? I did that in my latest video
I want this code if you comfortable
@Floky
Ай бұрын
It's linked in the description, I've shared the entite project source file on itch.io
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)
@Floky
3 ай бұрын
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 😉
Bro says C++ and works in C
1:47 Jesteś polakiem? Are you polish?
@Floky
Жыл бұрын
I live in poland but I'm not Polish and I also don't speak polish.... Trying to learn thought :D
@yoyo12345
Жыл бұрын
@@Floky if you live in Poland, then you are polish, aren't you? My teachers told me this
@Floky
Жыл бұрын
@@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
All source code in one file hhh
@Floky
Ай бұрын
Hahaha, yeah not the best xD
5:45, y should always make functions dont just make them to clean the code up code the functions direct
@Floky
Жыл бұрын
Is more optimised? Aren't functions to keep your code organized and structured?
@zitriphyer8429
Жыл бұрын
Your comment is unintelligible
@y4ni608
Жыл бұрын
@@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
whats the beat in 2 day
@Floky
Жыл бұрын
kzread.info/dash/bejne/pZhk0dpyZZu2g8o.html&ab_channel=EpidemicArcade
The Source Code??
@Floky
3 ай бұрын
It's in the description
Where is the source code?
@Floky
3 ай бұрын
The game demo in the description comes with the full source code 😁
1:09 that was a c not c++!!!!
@Floky
Жыл бұрын
What? 🤔
@GRATHRRAM
Жыл бұрын
@@Floky kzread.info/dash/bejne/h2eVurmiqqfIgZc.html
Coders these days complain that AABB collision is hard, we are doomed, hopefully AI takes over son
@Floky
27 күн бұрын
When have coders not complained about little things? 🤣
@540naja3
15 күн бұрын
Shut up cornball your doomed
@dt3688
12 күн бұрын
Coders these days also can’t spell, hopefully AI takes over soon
1:47 Złotówki???? Polska????
@Floky
4 ай бұрын
I live in Poland but I don't speak polish yet hahaha 😁
@Rexio-cg3gs
4 ай бұрын
@@Floky So where are you from?
@Floky
4 ай бұрын
@@Rexio-cg3gs I'm from Switzerland 🇨🇭
Im a Nugget
@Floky
Жыл бұрын
Hmmmm.... Never would have guessed :P
ball
@Floky
Жыл бұрын
BALL
Gotta say it’s weird watching programming videos from people who aren’t programmers.
@Floky
3 ай бұрын
What do you mean? 😂
@icankickflipok
3 ай бұрын
@@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.