Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Scaling
Print
Pages: [
1
]
Author
Topic: Scaling (Read 1197 times)
0 Members and 1 Guest are viewing this topic.
JasonMcG
Newbie
Posts: 10
Scaling
«
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.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: Scaling
«
Reply #1 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?
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Scaling