Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ranzini

Pages: [1]
1
Audio / Sound playing the moment the key is pressed
« on: March 13, 2023, 02:14:22 pm »
So i want a Sound to play, the moment the button is pressed.
With:

 if (Keyboard::isKeyPressed(Keyboard::Space))

the sound playes the moment i let go of the button.
Thanks in advance

2
Graphics / Give an Object a graphic
« on: September 28, 2022, 08:50:55 am »
So im new to SFML and im curious if there is a way to give an object, like a rectangle a graphic and make it move by moving the rectangle

Pages: [1]