Also, install visual studio, but not visual studio, then install cmake and git and write your code with clion. In other words, how to develop on windows without developing on windows ;-)
@makeandbreakgames17912 ай бұрын
As someone who just switched from chrome to Firefox, i approve!
@himanshubakshi56802 ай бұрын
Pezza, bro this was all I was struglling on and you helped me out, I cant be more appreciative
@PezzzasWork2 ай бұрын
You're welcome :)
@segganew2 ай бұрын
*Opens Edge* *Installs Firefox*
@nikkosstorychannel2 ай бұрын
Babe wake up, pezza just uploaded
@naezith2 ай бұрын
I made and released the game "Remnants of Naezith" using SFML, between 2014 - 2018 so this is incredibly nostalgic for me ♥
@PezzzasWork2 ай бұрын
I didn't know about your game, I just checked the Steam page and it truly looks amazing! Very impressive work
@naezith2 ай бұрын
@@PezzzasWork Thank you, I watched nearly all your videos, super inspiring stuff
@PezzzasWork2 ай бұрын
Thank you :) !
@PatrickHoodDanielАй бұрын
Sucha wonderful tutorial. Thank you for sharing!! Your (and Sebastial Lague's) videos are the ones I get really excited about when they appear on my feed. Love the ending.
@TunedThrust2 ай бұрын
This is what i have been waiting for from you!!
@scienceboy9082 ай бұрын
Same
@Kynatosh2 ай бұрын
Wow you do really try to explain everything, I thought this would be more about SFML but you show the whole IDE and compiler installation process, this is awesome for beginners
@nolram2 ай бұрын
As far as I am aware, the C++/CLI option isn‘t about commend line tools - those are always installed with the compiler - but rather a mode of interop with the .NET framework called C++/CLI (common language interface)
@shailist2 ай бұрын
You are correct. It also says that when hovering over the option. Ticking the extra option is unnecessary. The Developer Command Prompt is installed automatically when you install the C++ Desktop Development workload.
@Rumplestiltzchen2 ай бұрын
I love that you get a clean machine and literally the first thing you do is install firefox
@nyzss2 ай бұрын
got a bit burnt out of cpp due to a school project (which is making a webserver in cpp std++98 lol) and i've been coding again for 3 hours since initially watching this video. finally got back my will to code, thank you
@kajij2 ай бұрын
That is insane. I was always wondering what to use for physics simulation rendering and did my research to decide for SFML. Very convenient to have a guide here!
@ro0n6552 ай бұрын
the fact that you used an virtual machine just to make it easier to follow along is awesome.
@EduCoderPL29 күн бұрын
22:06 Bro, let me tell you that we very appreciate your creativity in ending screens that have always reference to project taht you do :)
@Lombardio2 ай бұрын
I get excited every time I see your channel in my notifications. Keep'em coming!
@martonadi852 ай бұрын
I usually don't comment on anything, but in this case I have to say that this channel is one of the best and I can't wait for a video to be uploaded. All the best and keep up with the awesome projects. Thank you!
@Seedx2 ай бұрын
Perfect Timing, was just learning SFML for a school project and this vid showed up 🙏
@PezzzasWork2 ай бұрын
I hope it will help :)
@Seedx2 ай бұрын
@PezzzasWork it did, finished coding minesweeper for my final project, thank you 👍
@2_Elliot2 ай бұрын
Wow! This is one of the best tutorials I’ve found so far. Definitely keep making them!
@codedeus2 ай бұрын
Can't wait for the GUI video!
@joe-rios2 ай бұрын
This kind of videos, where you show "how to", are so useful. Thank you very much!
@codedeus2 ай бұрын
Again such quality, even as this is not your usual kind of video
@ike__2 ай бұрын
even though i dont need this, i do appreciate you starting from a clean vm. amazing stuff.
@StevenJAckerman2 ай бұрын
Very nice. Thank you for taking the time to document this process and for sharing !
@honda_lawnmower_694202 ай бұрын
Je savais pas que t'étais français, j'adore tes vidéos, elle m'ont toujours donnés pleins d'idées de projet perso pendant mes études, merci beaucoup ❤️
@hennadiikolesnikov52662 ай бұрын
Well that is just a masterpiece. Never seen such easy-to-watch tutorial. Watched it not cause need it, but just enjoyed my time
@redoxee2 ай бұрын
This is a stellar introduction to a bunch of topics!
@totoooenf52 ай бұрын
- Starts from a blank VM - First thing he does is to install firefox Based
@nin3_2 ай бұрын
Im so excited about the graphical interfaces, i really cant wait!
@CatwaiiYT2 ай бұрын
Amazing work. Please keep sfml videos coming!
@lukasf98872 ай бұрын
great video, looking foreward for your Graphical User Interfaces Video :D I realy love projects where you can see visual whats happening in simulations, like charts graphs and the simulation itself
@higgsboson62742 ай бұрын
amazed of how you optimized the code using vertex array . Also i like the your looping method where you initialized the variable using curly bracket instead of =
@_MrNoob2 ай бұрын
Amazing! I've been wondering the process you go through since the Predator Vs. Prey experiment, and it's nice to get an answer. Thank you for the video.
@larryfromspace7 күн бұрын
idk how, but this helped me do the cloth simulation project. thanks! :)
@tobisdev2 ай бұрын
I love your videos! You made my c++ journey much easier❤
@monke22202 ай бұрын
great video as always
@Console.Log012 ай бұрын
I'm been using SFML for almost a year now and I love it. I'm currently working on a terraria remake with online multiplayer and (maybe) lua moddability.
@CatwaiiYT2 ай бұрын
Woah that sounds sick! Will it be open source?
@Console.Log012 ай бұрын
@@CatwaiiYT probably not, but I'm hoping the lua modding will make it customizable enough. My code is bad enough that I don't think anyone should use it as an example/base.
@CatwaiiYT2 ай бұрын
@@Console.Log01 ah, it's okay. Well, good luck with your project! Reply to this comment if you ever release it so I get to play it!
@TheRainHarvester2 ай бұрын
Why use sfml instead of openGL or DirectX? Just curious
@CatwaiiYT2 ай бұрын
@@TheRainHarvester maybe cause sfml provides some goodies like input handling and stuff, but idk I haven't dipped my toes in it
@VoidKnightGames2 ай бұрын
I'm currently working on a bullethell sfml game and that method of optimization for drawing lots of objects is huge
@thatprogramer2 ай бұрын
Thank you so much Pezzza! I have really wanted to make games and songs a lot better!
@simonciott2 ай бұрын
great video! can't wait to see the next tutorials
@mcmontagesrekatron42292 ай бұрын
Such a good video! Commenting just for the algorithmus 😊
@PezzzasWork2 ай бұрын
Thank you :)
@nuybbyun2686Ай бұрын
Really great explanations, please do those next videos (also more videos in general D:)
@luke.perkin.inventor2 ай бұрын
Nice. You'd only see the little cross on the stars if you're using a reflecting telescope that creates diffraction spikes from the struts!
@octaveplaz98762 ай бұрын
That's exactly what i needed, thanks a lot!
@vishwa_randunu2 ай бұрын
Amazing.... I hope next video soon....
@Mateusz-yp3wq2 ай бұрын
you're magician, bro
@DeadStorm192 ай бұрын
très cool hâte de voir la suite
@HiHi-iu8gf6 күн бұрын
really sweet tutorial, cheers
@PezzzasWork5 күн бұрын
Thanks :)
@luigidabro2 ай бұрын
I would really like to see how you render these fancy lines from your previous video!
@zarkha_2 ай бұрын
Très très bonne idée de vidéo !
@Kynatosh2 ай бұрын
Woohoo I was waiting for this one
@sahlikh18292 ай бұрын
Thank you Mr Pezzza
@MooImABunny13 күн бұрын
of course YT didn't bother showing me this video T_T btw a small nitpick about the final visuals - the crossing streaks you get when photographic a star are a result of the optical apparatus, and they don't shrink with distance, only fade. Once a star is close enough though, when it's actual size takes up more than a pixel on your screen, then the streaks become a convolution of the 1 pixel streaks and the star's on-screen shape. Now at that point the project becomes a bit of a nightmare, so you could just decide that the stars are never close enough for that to happen, which is really quite reasonable
@AmineGM732 ай бұрын
Thank you very much, I always get lost when I try to visualize somethings in c++, even when installing the modules
@pik9102 ай бұрын
raylib is a good alternative. Its focus is on ease of use. It probably does batch drawing automagically.
@preguica_netАй бұрын
I am working with Unity Hub, it is C#. I haven't used Windows for several years. I thought about developing animations in Qt, but I'd have to do everything from scratch with OpenGL, so I gave up. At the moment perfomace isn't my problem, but since Unity is C# I hope I can delve into performance with ease with C++.
@tiloiam2 ай бұрын
Also, git and cmake are both available in the Visual Studio installer
@code_8712 ай бұрын
I really love the video. keep it up bro... 💖💖💖
@cloudy7722 ай бұрын
Cool stuff, you ever thought about digging into graphics programming with a GPU API such as OpenGL/DX11?
@simexpo2 ай бұрын
Very cool! Just wondering, would you ever consider moving to Rust & Bevy?
@MathsSciencePhilosophy2 ай бұрын
I used python to make animated videos but from now onwards, I will also use c++
@Home-ro6cu2 ай бұрын
wish i had this when i just started out
@__81202 ай бұрын
I've been using SFML for years and I somehow never knew there was a "window.setFramerate" function lol. I'd just been using a timer and checking it inside the while loop
@MagePure2 ай бұрын
Amazing! 💡
@cewla33482 ай бұрын
so this is how you develop in windows. No `sudo pacman -S visual-studio-code-bin git gcc`, you have to run installers and open a browser.
@cemmy410Ай бұрын
It's barbaric, isn't it? My current job requires using visual studio on windows and I hate it 😩
@EduCoderPL29 күн бұрын
I can`t believe that I screwed up recreating yout simulations in C++ only because I tried to do this using CodeBlocks instead of Visual Studio :D
@konstantin22962 ай бұрын
15:00 isnt it easier to setup a projection matrix with perspective and enable depth testing?
@Pyrografpl2 ай бұрын
Thank you😊
@emblink272 ай бұрын
Super!
@TannerJ072 ай бұрын
Now I have an excuse to learn c++
@goutgueule91972 ай бұрын
I think you're talking about me at the start of the video
@abuk952 ай бұрын
Isn't SDL better than SFML? I truly don't know, just wondering. Have you tried SDL?
@Lordlose12312 күн бұрын
Don't you destroy your z ordering by drawing with a single vertex array? Is there a way to tell sfml to draw the vertices with respect to the z coordinate?
@doolee57042 ай бұрын
more please
@aleksszukovskis20742 ай бұрын
i think there are too few videos on motionblur. i would hope to see that specifically
@TheRainHarvester2 ай бұрын
Just wondering...if you want different OS support, why not use openGL instead of sfml?
@PezzzasWork2 ай бұрын
SFML is already multi platform and overall makes things much easier. You can draw things within minutes with it, which is not the same with OpenGL for example.
@TheRainHarvester2 ай бұрын
@@PezzzasWork does it have lots of fonts/text support?
@PezzzasWork2 ай бұрын
It uses Freetype so it supports a lot of things
@monoastro2 ай бұрын
shouldn't the i variable start from count - 1 at 15:11 ?
@PezzzasWork2 ай бұрын
It is not needed because the next instruction "i--" will directly decrease it.
@monoastro2 ай бұрын
@@PezzzasWork I had not encountered such a way of iterating down in my uni courses so far. Thank you.
@nxthingbutv0id958Ай бұрын
4:52 I already have CLion installed yet I do not have the option "Open folder as CLion Project" Is there a setting in CLion to enable that feature?
@PezzzasWork29 күн бұрын
It is an option to enable during the installation process, if you didn’t do it you can still add an entry to the contextual menu through the register on windows
@manuelsuarez75212 ай бұрын
cool video
@TORMENTUMM2 ай бұрын
Can I do it in vscode instead of visual studio?
@moonyl5341Ай бұрын
yes
@suborbitalmelon88222 ай бұрын
Yay
@GuildOfCalamity2 ай бұрын
This is a fantastic tutorial! However, starting with VS and then switching to a paid-for IDE was not great IMO.
@lucbloom2 ай бұрын
Engagement comment
@spenceabeen2 ай бұрын
Gonk :]
@motbus32 ай бұрын
I was quite surprised to find you only used sfml for that. The visuals are amazing. (They quite don't work on Mac because of resolution shenanigans but I didn't have time to check and try to fix yet)
@PezzzasWork2 ай бұрын
Thank you! On Mac I think the fullscreen mode makes the program crash, but it should work windowed.
@motbus32 ай бұрын
@@PezzzasWork I haven't tried with this current code but I tried the balancing one sometime ago. When windows it got too big. I was able to work around changing fee variables but I didn't do the proper work to find the values automatically 😅 sorry about that.
@DendeZepek2 ай бұрын
omg finally
@Surfingnet2 ай бұрын
Bravo
@StarFury22 ай бұрын
MSI afterburner resource monitoring and affinity for 144Hz framerates? I Love when awesome programmer is also a gamer 😀
@youtubehandlesux2 ай бұрын
Afterburner more like bluescreenburner Real gamers use throttlestop
@anmjubin51072 ай бұрын
5:12AM!!
@SLURPZZZ4461Ай бұрын
is sfml better than raylib for this
@Zakzinon.m5 күн бұрын
100 video 🎉
@DavidRutten2 ай бұрын
Anyone who looks at these steps and isn't revolted at the state of programming in 2024 is part of the problem. This is not a critique of Pezza, he's just showing what one needs to do... But for crying out loud Microsoft; get your shit together and make it painless for people to start programming on Windows in Visual Studio.
@moonyl5341Ай бұрын
i understand what you mean but why not use something else
@DavidRuttenАй бұрын
@@moonyl5341 It should not be my job as a user to figure out what I need to install, or what community to join, or what system to adopt. The operating system should make programming as easy as creating a new text file.
@Landee2 ай бұрын
Le boss
@noxabellus2 ай бұрын
I wouldn't call using sfml "from scratch" but good video anyhow
@iamdozerq2 ай бұрын
Using opengl, vulkan or directx in this case will lead to make something like sfml and will generate a Great Ton Of Boilerplate anyways.
@monsieuralexandergulbu36782 ай бұрын
It hurts me, why not just install msys....
@mr.hashundredsofprivatepla37112 ай бұрын
> “how do rendering using C++ from ZERO” > uses SFML
@BalazsFuleki2 ай бұрын
It's like pygame but faster
@mghemke2 ай бұрын
SDL is pygame but faster (Pygame is just a python wrapper of SDL)
@joemama85162 ай бұрын
Pezza have you ever looked at raylib for c++ graphics if you have what are your thoughts
@monoastro2 ай бұрын
it's pronounced clion? i always called it klyon
@Cantcancelmelol25 күн бұрын
🎎🎎🎎🎎🎎🎎🎎🎎
@teenspirit12 ай бұрын
Wow sfml? Considering the user interfaces you've programmed so far, the visual clues led me to think that you've used imgui and raylib.
@dot322 ай бұрын
His user interfaces look nothing like imgui
@iamdozerq2 ай бұрын
And raylib is kinda will do nothing special in this case.