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

КОМЕНТАРІ • 35

  • @acegoat7573
    @acegoat7573 3 роки тому +8

    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

  • @53nat0r
    @53nat0r 5 місяців тому +1

    You sir are not only good looking but blessed with knowledge. Learned a lot. Thanks

  • @idedjoo8762
    @idedjoo8762 6 років тому +19

    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

  • @eckigod
    @eckigod 7 місяців тому +1

    ty bro. 7 years later and your video helped me.

  • @Vedranation
    @Vedranation Рік тому

    Dude this is the best tutorial on SFML ever.

  • @oussamakifo9915
    @oussamakifo9915 4 роки тому +1

    thank you for this playlist you are explaining this in a very simple way, unlike most of others do

  • @reygood1
    @reygood1 5 років тому +2

    Very elegant tutorial.

  • @euclid9492
    @euclid9492 4 роки тому +1

    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.

  • @asiszka
    @asiszka 7 років тому +2

    Thank you for these tutorials! Very helpful. Much appreciated.

  • @andreiasimov33
    @andreiasimov33 6 років тому +2

    Awesome, as usual, thanks!

  • @UnofficialXuno
    @UnofficialXuno 4 місяці тому

    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

  • @colorado34070
    @colorado34070 4 роки тому +1

    Very clear and usefull !

  • @koraykahraman9031
    @koraykahraman9031 2 роки тому +1

    Please keep the tutorial videos coming

  • @nikkicortez9558
    @nikkicortez9558 3 роки тому

    THANK U I LOVE U

  • @andresdallarizza1526
    @andresdallarizza1526 Рік тому

    the goat

  • @UltraAnalisis
    @UltraAnalisis 7 років тому +2

    thanx, just keep making this videos or else!!, :), great more videos please.

  • @rounabhsahu9024
    @rounabhsahu9024 7 років тому +2

    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 ?

  • @gamingoblin4710
    @gamingoblin4710 Рік тому

    when i do the mouse stuff, when i resize the window, the cursor is offset, how can i fix that?

  • @Tahamazari
    @Tahamazari 8 років тому

    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?

  • @NTC
    @NTC 3 роки тому +1

    hey man, what is the difference between this sfml and openGL?

    • @Neon64
      @Neon64 2 роки тому

      OpenGL is much more down to hardware than SFML, which still does some things for you.

  • @ravenmast3r334
    @ravenmast3r334 8 років тому

    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?

  • @Israel9068
    @Israel9068 7 років тому +1

    how do you add a textfield(box) to take user input?

    • @HilzeVonck
      @HilzeVonck  7 років тому +2

      +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.

  • @beetlejoose7656
    @beetlejoose7656 8 років тому

    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

  • @druyv
    @druyv 7 років тому +4

    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));

  • @vilkaskettu8765
    @vilkaskettu8765 6 років тому

    error: 'class sf::RectangleShape' has no member named 'setOrigin'

    • @christiancarter255
      @christiancarter255 2 роки тому

      Did you find a solution?

    • @vilkaskettu8765
      @vilkaskettu8765 2 роки тому +1

      @@christiancarter255 It's been 4 years. I don't even remember what the problem was.

  • @ramzi-sah
    @ramzi-sah 6 років тому +5

    THIS IS NOT A CUBE THIS IS A SQUARE !

  • @omergok5946
    @omergok5946 7 років тому

    Hi! How can I make a button?

    • @Mazered20
      @Mazered20 7 років тому

      check when a mouse button is clicked if the cursor is in the rectangle of your button

  • @PleaseWait...
    @PleaseWait... 4 роки тому

    man you probably need a new microphone