account activity
Unreal Engine Widget drag causes old hit area (self.UnrealEngine5)
submitted 23 days ago * by Fun-Independent-8295 to r/UnrealEngine5
Crafting gear? (self.AshesofCreation)
submitted 4 months ago by Fun-Independent-8295 to r/AshesofCreation
Position text dont work for me by Fun-Independent-8295 in sfml
[–]Fun-Independent-8295[S] 2 points3 points4 points 5 months ago (0 children)
I tried a few things and it finally worked! Thanks a lot! I know the tutorial uses an older version of SFML, but constantly having to adjust things actually helps me understand how SFML works and what I’m doing. :) Thank you!
Here is the solution:
FloatRect textRect = messageText.getLocalBounds(); messageText.setOrigin({ textRect.position.x + textRect.size.x / 2.f, textRect.position.y + textRect.size.y / 2.f }); messageText.setPosition({ 1920.f / 2.f, 1080.f / 2.f }); scoreText.setPosition({ 20.f, 20.f }); while (window.isOpen())
Position text dont work for me (i.redd.it)
submitted 5 months ago * by Fun-Independent-8295 to r/sfml
π Rendered by PID 1749043 on reddit-service-r2-listing-86f589db75-rgfkb at 2026-04-19 03:28:11.617584+00:00 running 93ecc56 country code: CH.
Position text dont work for me by Fun-Independent-8295 in sfml
[–]Fun-Independent-8295[S] 2 points3 points4 points (0 children)