SFML 2.4 For Beginners - 6: Mouse Input.
Вставка
- Опубліковано 6 лют 2025
- In this episode I will explain how to get Mouse Input in SFML 2.4.
Watch the full playlist: www.youtube.co....
I thank you for watching this video!
If you want to support me, you can buy me a coffee over here: ko-fi.com/A6138PH
Such short but effective tutorials man. So much better than the long-ass tutorials that go on for about an hour but with only 5 minutes of actual learning in it. Thank you
You sir are not only good looking but blessed with knowledge. Learned a lot. Thanks
wdym ni**a my bro is handsome
seriously man, i watched a !#$ load of tutorials...ALOT, and urs is by far the best to follow. please keep it up, you are what makes youtube great
ty bro. 7 years later and your video helped me.
Dude this is the best tutorial on SFML ever.
thank you for this playlist you are explaining this in a very simple way, unlike most of others do
Very elegant tutorial.
I appreciate how to the point these are. No 'whats up guys! Blah Blah Blah ect... '. Also how you do just enough examples, like with the move command you only did one direction of movement and explained the coordinate system quickly. Perfect.
Thank you for these tutorials! Very helpful. Much appreciated.
Awesome, as usual, thanks!
Right now i am on this part tutorial and i am very happy, genuine question are you still alive after these 8 years 😅 and if you are do you have an advanced playlist for SFML
look's like his alive😆
Very clear and usefull !
Please keep the tutorial videos coming
THANK U I LOVE U
the goat
thanx, just keep making this videos or else!!, :), great more videos please.
how do you configured the color theme of sfml code? Mine is simple one and doesn't look good .Is there any package for that ?
when i do the mouse stuff, when i resize the window, the cursor is offset, how can i fix that?
Hello Hilze! I am working on checkers for my semester project. I have implemented the pieces on the board using arrays. Can you please help me or make a video on how to move those pieces stored in arrays?
hey man, what is the difference between this sfml and openGL?
OpenGL is much more down to hardware than SFML, which still does some things for you.
when i full screen the game window it messes up the proportions of the box and the screen
does it tell me how to fix this in later tutorials?
how do you add a textfield(box) to take user input?
+eth swe that's a good question. The way that you do that is by using the textentered event (or similarly named). You can check for that at the same location that you check for the windowclosed event. You then append what you got from the event to your textfields string.
Can someone tell me how change the colors so they're the same color that this guy has plz? I'm using visual studio 2015
Hey, quick question. Isn't it slightly safer to use the SFML function to cast the Vector2i to Vector2f? It's even longer than the safe way you mentioned, but at least you keep everything in the SFML style.
i.e.
Vector2f mousepos = Vector2f_from_Vector2i(sf::Mouse::getPosition(window));
error: 'class sf::RectangleShape' has no member named 'setOrigin'
Did you find a solution?
@@christiancarter255 It's been 4 years. I don't even remember what the problem was.
THIS IS NOT A CUBE THIS IS A SQUARE !
Hi! How can I make a button?
check when a mouse button is clicked if the cursor is in the rectangle of your button
man you probably need a new microphone