SFML community forums
Help => Graphics => Topic started by: kuraigu on February 10, 2018, 08:44:49 am
-
So I have this issue...obviously I hate to get the sprite's current size. Whenever I resize the window, the scaling automatically happens, but the global bounds doesn't. How do I fix this, or are there any other ways to get the real time width/height of the sprite? Thanks.
-
Nevermind....I found what I was looking for.
-
Hi,
I'm having your same problem right now.
It might be useful if you can post how you fixed the problem.
Thank you
-
Global bounds is local bounds with the transform applied (rotation, translation/movement and scaling), they are both AABB (axis aligned bounding box) too. It has nothing to do with Window size. What do you want to do?