Learning C++ by making a Game... in 1 Week?!
HTML-код
- Опубликовано: 8 фев 2025
- 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 to 3D Model i...
❗️The Udemy Course❗️
tidd.ly/3HvwkFn
Learn C++ with an interactive and fun course!
❗️The Game Demo❗️
flokydev.itch....
❗️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
people who doesnt code cant understand how impressive this is. this guy is a genius
@@acdc7331 Kind words but I wouldn't call myself a genius, I mostly followed courses and tried to make stuff work for the game I wanted to make 😁
@@Floky humble king. keep it up
straight facts
It’s not that impressive, tbh. I also would be interested in reading the code, as well as comparing it with the provided examples in the course.
What language you speaking?
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!
Thank you for helping with the Thumbnail ;)
Google ain't got nothing on this game.
Yeah let's hope they don't make me cease to exist XD
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
How's your c++ now?
@@Max-he3ji pretty amazing i'd say, currently working on a 3D game engine, it's a really huge undertaking but the main problems i'm running into are basically a bit of lack of knowledge on game engine architecture as well as graphics programming, but the C++ issues i did get, i've fixed them all, and if i don't understand them 100%, i google and ask ChatGPT for some pointers on that. About the game engine: i've got windowing, logging, multi-threading, an event system already setup, currently trying to implement my platform agnostic render api which is probably gonna be one of the hardest tasks i'll have to tackle, but later i would also like to implement a JSON abstraction (i'm planning to make my architecture pretty JSON based), some scripting languages as well as an ECS with support for native scripting too.
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!
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
really nice video love the content youve been creating keep it up man
Okay, I have to admit this guy's good. I admire his perseverance. Cause while doable most people give up and try something else when they hit a roadblock only to come back to what they left, thus wasting time. His experience as a game designer helped a little and having a defined goal helped making it achievable. I entered coding without knowing even the word coding. When I started learning JavaScript, I saw some videos advising me to set proper goals but I didn't get the Idea and I set goals like master JavaScript and six months later I was just understanding even now after 2 years into it I'm still learning JavaScript. Thanks a lot you showed me it's possible to make whatever you want with whatever tool by focusing on the project not the tool
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!
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!
Surprising that you learn C++ that fast, I'm still a new student of my class that is interested in Coding but you learned that so fast, especially to a language that I heard that has a very steep learning curve than C.
I cannot tell u how impressed i am for a new coder. I have been under study in coding for 2 years and still cant write a proper code
I am the same, learning C# and Unity currently, it really takes time and its really hard but its not impossible, I wish you much success!
I initially started out with a Local Community College Basic Programming 101 which taught me Modular Structured Programming using Quick Basic v4.5 - next up C++, but I just sourced a College Book.
Common mistake. After the initial period of learning basics, learning coding is just input. You build stuff and learn by building. And you will learn FAST.
@@TorttuLIT Hi, I know it's been a month since you wrote this reply but can you tell me which course you followed to learn the basics. If you like used one. I am currently thinking about using codcademy but I'm not sure if it's a great one
@@caklitli_pankeyk I am in vocational training
Damn! I've started coding around 2-3 weeks ago in Python and i'm a bit stuck at some basics function ^^' you are a real programmer now dude
Funny that you say that I'm a real programmer, since I mostly use blueprints to code I often feel like a fake 🤣
Thats an amazing guide, thanks man!
Np, have fun! 👍😉
Great video. I am in the process of learning C right now.
Nice! Good luck!
Don't believe everything from social media. He must have already learned it and told us I've learned it in a week
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!
that loot boxes joke especially was funny
yes but floky needs to add loot boxes to reinforce gambling habits onto small children
If this guy made a game using c++ , i can also make my own basic personal AI 💪
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)
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!
This is an awesome channel, glad I found it!
Glad to have have you! 😁
DUDE UR A LEGEND. Imma sub to u!! U did a really great job man!
@@ZerlonBD thanks!
"come on do it click" got me, you earned a sub😂
@@Vulcan_09 I'm surprised someone actually watched till the very end 🤣
@@FlokyI am subscribing right now by seeing your comment 😊
I love your storytelling
As a person who's doing a 3rd year with C++ ( driven by game development ), I can honestly say that this is AMAZING. In 1 week. Man.
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?
Im actually doing the sane with java, but im in highschool, in a new school, just moved, and chose the pair of the hardest... (i think its callded, choosable classes?...) physics, and computer scuence, where they decided to force us to not only learn java, wich is fine, but qlong side of that, learn. ASSEMBLLY!!! So im kinda cooked, and have about 40 minutes to code on a weekday😢. I respect u so much!
@@cosmic_fox8058 damn dude! That sounds rough, but you got this!! 👍
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
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
I'm a second year cs student and this is incredible
I'm First year school student and I've made tic tac toe using python recently as floky have.....😊
I like the video! Watched it with no skips
Glad to hear 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 😭
It's really fun! Give it a try!
@@Floky Let me give it a try fs
As someone who's currently in this exact position, except making my game for Steam over a month and a half. I'm feeling regrets about not learning the basics before I started, I did Javascript in the past though...
😂😂😂😂
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 😅😅
i can barely get karel to do stuff on javascript, this guy is insane
@@Crxsp.0 no u! ❤️
His collision detection for the circle is the death of me. IT IS FOR A RECTANGLE!!!
Yes, but do I need anything more complex for the use case I've shown in the game? XD
Just stumbled across your channel this video inspired me to continue learning C++ (I was kinda bored cause I could write basic if statements and work with intergers and vectors etc. and I would usually only work with the serial monitor and not another window outside of VS code ). Now I want to try and do something similar as you since I think that would be more fun than the normal coding I was doing. Amazing video!
@@jimmagas3500 glad to hear it! Programming can be really fun!
2:43 visual studio code is just a text editor with coding features, like error reading, debuggers, a terminal, extensions. and color highlight, you should say, in pure c++ instead.
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
Are you from poland ;3?
Also great job on the video man, its soo high quality. Keep it up and you will go to places
cheers
I live in Poland but I'm not polish! I love it here but I really need to learn the language, it's so hard!
Also thank you very much! I'm working on a game right now so I don't have time to make more videos but I will 100% make more once I have more time :P
Thanks for this nice vid, man. Did you feel that this make you a better Unreal engine dev or is just a funny experiences? I got really interested in that course :D
I think the improvement in unreal weren't really noticeable, I did gain a deeper understanding of how things work but it didn't significantly change my skill set in unreal.
However it did give me the confidence to start working within UE c++ instead of blueprints 😁
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
meanwhile me failing in school while learning coding for a year... this guy does it in 1 week?
Don't discredit yourself! I've basically just followed a few tutorials and courses, and even if I made something cool that I'm proud of, realistically 80% of the code is just copy paste from the course with a few changes I made along with some creativity!
You probably still have extensively deeper knowledge overall 😉
This video was not meant to discourage but encourage ❤️
@@Flokyyou're absolutely right 😊.....
another cool stuff :D
Thanks!! :D
Well I love you video it gave me some motivation but dude how a person can learn all fundamental of c++ or even a human-friendly code languages in 1 day or 3 days that's impossible but here you manage to create a window GUI and make a ball with collision detect and game over in 1 day but there is a tricky thing happen if you know other code languages maybe you know how programm work and you just learn a syntax and librarys!
I love you it's just my feedback not a big deal just want answers❤
@@kurdeye5037 the only experience I have was blueprints from Unreal engine
I used raylib to help me too, and I followed a course that tought me all the things I showed :D
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!
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 🤣
thanks for your sharing :D
what your learnt creating functions on just day4 of coding? holy shit this dude is genius
watched it til the end: holy shit dude im fkin impressed, im coding in c++ from like 2017 and I am honestly very impressed
@@spsc07 thanks but I was doing visual scripting for like a month at that point and I was helped a lot from a course I was doing!
But thank you very much for the compliments!
@@Floky your video motivated me to undertake the biggest project in my professional career, I will be making a Game Engine in C++ from scratch, might take me a 18-24months but I will work!!
@@spsc07 This has been one of my dev goals too, making a game engine will teach you soooo much! Good luck!
Join the discord, I would love to see the progress!
Really cool video, neat storytelling, however one mistake is that Visual Studio Code is not a game engine it’s a text editor.
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 🤣
I am two weeks into learning to code and 99% of the problems I hit is I accidentally capitalized something or I didn't put a colon where I needed to. It is INFURIATING
100%
Yeah, coding is frustrating.
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 😁
i love you floky !!!!!11!!
I love you too!!!! No Homo
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 😅
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!
Omg 😂😂 this video was really great
Glad you like it 😁
I did this but in 24 days 🙂 you are just genius
Jedwabisty film bratku
You also couldve added a collectable That Gives You an Extra Life/Heart
Just subbed out of respect
Great bro 🥳
Love the content. Commenting to bump those engagement numbers. Hope you have a good day!
Hell yeah! Thank you!
As i programmer i must say NIGAH YOU LIYEN LIKE HELL
I pride myself in being truthful and authentic with my content, I even share the names of the courses I follow, so no, I promise, I'm not lying 😁
But I will take this as a big compliment 👍
Now we know why dinosaurs got extinct.... flying axes and lack of yellow watermelons....
That's exactly how it happened.
Super robota ;), great job ;)
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 😂
Well done 🥰👍👍❤️💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕💕
Thanks!
Nice job, keep going on
the way you said jsfxr is quite unique
XD
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 👍
So cool!
great mod, everything works, thanks
My pleasure :)
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
Learning c++ syntax takes one week, learning c++ compilers, ides and libraries takes a life.
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
6:36 pretty much sums up the life of a programmer
i was studying c++ for 2 years but don't know how to make this stuff
@@geojunior7428 game code is more visual and requires a slightly different way of thinking, but if you give it a try I'm sure you'd lurn 3times faster than me considering your experience 😉
I subscribed
Thanks :D
red window was funny
XD
[6:35] i hear that a lot from programmers
All source code in one file hhh
Hahaha, yeah not the best xD
I recognize this course 😂
Yeah, it's quite good and really fun!
Love The Videos!
Glad you like them!
It's called raylib 😉
As a second language it’s possiable I guess. But in parallel they should learn CS theory gaps for better understanding.
OMG where can I buy this game?!
It's free, link in the description 👍
😂😂😂
I create my own C++ problems, and sometimes they take a week just to track down the issue... rofl
@@jeffcummings3842 yeah same... The worst ones are the ones that aren't easily replicated. Pain.
How much level of C++ I need? Elite or basic?
Basic 👍
you could do that if blue hit red it would be game over :)
not to make so many thing
You should try to learn making videogame music in a week next
It's planned, for next month 😉
take a minute to realize that this guy just hearted every comment
@@pythonuser-f7t I appreciate every comment and enjoy reading them! Hahaha
@@FlokyO that's very nice thing ❤😊
@@FlokyI'm also doing that right now 😅
What did you use to make your graphics? SDL? OpenGL?
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!”
@@dt3688 ai isnt everything bro
❤😍
Yo que estoy apenas estoy entendiendo como complicar una ventana hecha nativamente de Windows usando c++ 🗿
Better than the real one
:D
6:38 First rule of programming, if it works don't touch it😅
@@niranjanpradeep6950 ohh Yeah! 🤣
what monster decided to feed html as "programming" to the drawing ai
Ehhh... What?