SFML community forums

Help => General => Topic started by: JasonMcG on September 20, 2017, 10:36:09 pm

Title: Scaling
Post by: JasonMcG on September 20, 2017, 10:36:09 pm
How do I scale an object?

I have an object at the edge of the screen. As it moves towards the center, how do I scale it down in size?

Tried
Code: [Select]
setScale and
Code: [Select]
scale in my move function and update function but did not work.
Title: Re: Scaling
Post by: eXpl0it3r on September 21, 2017, 01:23:34 am
"did not work" is not a problem description.

What object are you talking about?
What was the expected result? What was the result you got?
What did your debugger tell about the values and why they don't match your expectation?