SFML community forums
Help => Graphics => Topic started by: enderboy768 on June 06, 2017, 07:23:44 pm
-
I have made a little Pong project. I wanted to put a heads up display using sf::Text to it but it turns out the ball (not really, it's a rectangle from sf::RectangleShape) will get stuck when it went through the text. And apparently, the paddle got stuck too! Is there anyway I can make the HUD/the text kind of 'invisible' to the ball and the paddle? Thank you in advance!
-
That's weird...can you show us the code?
-
Oops, my bad! The ball didn't get stuck to the HUD. It actually got stuck to the paddle when it was right behind the HUD (noob error!).
-
Ok,I'm glad you figured it all by yourself ;D
-
Hehe thanks ;D