I finally finished this video! I'm soooo tired right now! So if you liked the video, please press the like button and subscribe for more content like this. It costs you nothing, but you'll be doing me a huge favor! Also, consider supporting this channel on Patreon for exclusive content as well as early access to future videos and projects: www.patreon.com/Kofybrek
best c++ plus sfml video ever, funny and informative at the same time. explaining what a memory leak is and how to fix it, also the polymorphism. great job!
You videos are always entertaining! One small tip which might save your sanity later, when printing stuff to the screen, the text is buffered, so if you print "Beep ", if the program crashes it might not show it even if the line is executed. To fix that use std::endl instead of " ", as std::endl flushes the buffer.
For compatibility you should probably use the uint32_t for unsigned int, uint16_t for unsigned shorts, etc. This is so your variables will have the same size no matter what platform your on. Also sorry if I sound condescending or rude.
My gosh! Yoy using raw pointers! Yeah, I know how it fels after using c++ after 20 years. Raw pointers is a powerful tool to use if you use them right. But in time I discover that smart pointer as shared and unique pointer are poweful. They do the cleaning for you. Free? Naa, i am not sure about that, norhing is free in this days.😁
bro I made chess game, but whenever I try to open it without IDE (direct open with .exe) then its shows some 0xc000007 error. can you tell me what is the problem here?
No hate but You know mario cant be taller than his brother luigi look up the nes mario sprites and you forgot to add fireflower another power up that allows mario to throw fireballs at enemies and super star can allow mario to kill enemies without fireballs since he goes rainbow look
I created this project in VS Code, and it cant find the SFML graphics.hpp file. I created all the directories as follows; Super-Mario-Bros/Source/*.CPP, Super-Mario-Bros/Source/Headers/*.HPP, Super-Mario-Bros/Source/Resources/Images/*.PNG All my SFML files were copied from; SFML-2.5.1/include/SFML/*.* into the project folder @ Super-Mario-Bros/Source/SFML/** My directory path is correct for SFML in the c_cpp_properties.json as [include path] "SFML/**" (this gives no errors) Why do I get " not found" error?
Hey, can you tell me which compiler version you use for this project and which version of SFML you use? I get an error when trying to execute. "the procedure entry _ZNSt15basic_streambuflcSt11char_traitsIcEE7seekposESt4fpos liESt13_los_Openmode could not be located in the dynamic link library sfml-system-2.dll"
I finally finished this video! I'm soooo tired right now! So if you liked the video, please press the like button and subscribe for more content like this. It costs you nothing, but you'll be doing me a huge favor!
Also, consider supporting this channel on Patreon for exclusive content as well as early access to future videos and projects: www.patreon.com/Kofybrek
@@Logicatube >:((( i eat pasta :)
@@Logicatube Nice bro i just woke up
Which software u use for creat art plzzzzz answer
I am making an OPERATING SYSTEM!!!
incredibler job!
I love the fact that this videos are so funny but you still can use it as tutorials and to learn how those games works
The walking animation killed me lmao
Good video as always man!
7:00 my exact reaction to seeing raw pointers being used lol, too accurate.
Also my reaction when he crossed the "unique_ptr" and said he was only going to focus on "shared_ptr".
That walking animation was hilarious! Nice video!
best c++ plus sfml video ever, funny and informative at the same time. explaining what a memory leak is and how to fix it, also the polymorphism. great job!
Dude i thought you had like over million subscribers but you got only 5k, i see this channel bloom in near future, love your style BTW.
Smart variables and inheritance. Congrats on graduating from Beginner C++
ahaha, that was hilarious. Wasn't expecting to laugh that much through that, well done. I've subbed~!
Your content is just amazing. Came for the sfml stayed for the content 👌
Thoroughly enjoyed all your videos so far! Much more entertaining and informative than a lot of other game dev channels. Keep up the awesome work!!
Nobody mentioned how funny you are. Really entertaining and good watch
You are the reason I can laugh in the mornings.
In the original Mario game, the mushroom always starts moving in the direction that Mario is facing when he hits the block.
You videos are always entertaining!
One small tip which might save your sanity later, when printing stuff to the screen, the text is buffered, so if you print "Beep
", if the program crashes it might not show it even if the line is executed.
To fix that use std::endl instead of "
", as std::endl flushes the buffer.
I readed the pause text, it was worth it
You won my like and sub on the "Big Mario". Lol'd hard. Nice work man!
Just found the channel, loving the content
this is amazing. i really want to play with it, good job
this is looking pretty awesome!
Its a dedicating project right there kofy
Really cool job and that 7:00 part was funny even though l didn't understand much heheh
Big fan of content. Keep it up.
COOOL VIDEO DUDE :D
Found my new favorite game devlogs haha
For compatibility you should probably use the uint32_t for unsigned int, uint16_t for unsigned shorts, etc. This is so your variables will have the same size no matter what platform your on. Also sorry if I sound condescending or rude.
Thanks for the advice!
@@Kofybrek they are in the stdint.h header file btw (for clang atleast)
first comment for my favorite language and I think that I saw you but in circle *Zzzzoder*
Here's how Super Mario 2022 looks like, sounds cool!
Pretty cool! Hope Nintendo doesn't sue you 😬
11:17 I THOUGHT IT WAS ONLY ME WHO DID THAT
That big Mario walking animation 🤣🤣
In that particular case it's just easier if you use an unique pointer instead of shared pointer.
Спасибо! thanks
Hey @Kofybrek Could you explain how to create a game using C++ and SFML please. I want to know how to do it. And you're so funny
Please remember me before you get famous lol.
Thank you for the heart.
New sub❤
Love you much
My gosh! Yoy using raw pointers! Yeah, I know how it fels after using c++ after 20 years. Raw pointers is a powerful tool to use if you use them right.
But in time I discover that smart pointer as shared and unique pointer are poweful. They do the cleaning for you. Free? Naa, i am not sure about that, norhing is free in this days.😁
Can you make a game about booble puzzle game? Like within the next 10 days?
You forgot to make fireflower and super star and koopa cant have glasses
How does one even set up SFML on VScode? Mac?
is this guy zzzzoder bc that guy showed up on my recommended and sounds identical to him and has super similar editing lol
Can you make a raycasting game for Adobe AIR with AS3 using VSCode as IDE? (Note: I will develop it with you)
+1 sub
Hey! Just wondering what you think about Rust, love your videos bro
The only thing I know about Rust is that it's a programming language. I don't know its syntax. I don't know where it's used.
@@Kofybrek It's kinda nice, if you can look into it sometime
that color palette...
I like watching your video although I don't use c++ for my project
bro I made chess game, but whenever I try to open it without IDE (direct open with .exe) then its shows some 0xc000007 error. can you tell me what is the problem here?
I think you put the wrong dll files. Make sure that your game and the dll files are of the same bit-type (32-bit or 64-bit).
6:47 It seems like dereferencing is not needed here
How use sfml?
Very cool video, but why do you write '0 == variable' instead of 'variable == 0'?
It's more readable for me.
to avoid change == for =
if you try to do 0 = variable you will produce an error
No hate but You know mario cant be taller than his brother luigi look up the nes mario sprites and you forgot to add fireflower another power up that allows mario to throw fireballs at enemies and super star can allow mario to kill enemies without fireballs since he goes rainbow look
Which software u use for creat art plzzzzz answer
Aseprite.
And koopas don't have glasses
You need to youse guard cloues in you're code pls
Make a tutorial about using shaders in SFML 🙁
What do you use to make the animation?
Aseprite
I created this project in VS Code, and it cant find the SFML graphics.hpp file. I created all the directories as follows;
Super-Mario-Bros/Source/*.CPP, Super-Mario-Bros/Source/Headers/*.HPP, Super-Mario-Bros/Source/Resources/Images/*.PNG
All my SFML files were copied from; SFML-2.5.1/include/SFML/*.* into the project folder @ Super-Mario-Bros/Source/SFML/**
My directory path is correct for SFML in the c_cpp_properties.json as [include path] "SFML/**" (this gives no errors)
Why do I get " not found" error?
Try writing "SFML/Graphics.hpp" instead of . I don't use VS Code so I can't really help you out here.
@@Kofybrek I tried that already.
@@Kofybrek I've had little success in getting my code to accept SFML dependencies, even in CODE::BLOCKS
Hey, can you tell me which compiler version you use for this project and which version of SFML you use? I get an error when trying to execute. "the procedure entry _ZNSt15basic_streambuflcSt11char_traitsIcEE7seekposESt4fpos liESt13_los_Openmode could not be located in the dynamic link library sfml-system-2.dll"
SFML 2.5.1 I think. And I used Visual Studio Community 2019 (don't know the compiler name).
@@Kofybrek thanks i solved my problem
Why did I read this cursed text?
When mario eat mushroom he gets his leg long! In acutal mario game He just grows big rather than having long legs
I think Mario with long legs looks way better.
I think big mario without tall legs by the way
You forgot the fireflower and superstar
if I run the code in an IDE, will the console run with the graphs?
You need to include SFML.
@@Kofybrek thanks! it worked after downloading the package
4:29 this relemeber werido Mario from Mario maker
so whats next are you gonna finish it with 1-3 and 1-4 or a new project?
To be honest, I don't know. I'll probably get back to Mario at some point but right now I wanna do other things.
@@Kofybrek poggers, also big mario gave me nightmares
Are you accepting commits to your repo?
I usually don't but if the commit is good I accept it.
@@Kofybrek Sweet! Let's work together and make good code!
How are you not working for EA?
I work for myself.
@@Kofybrek give me your programing knowledge.
This video will taken down by nintendo...
And the pointing system???🤨🤨🤨🤨🤨🤨 Nah I'm just joking
Wait do long
Blah blah u know wat hope no dissapointment