Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
scaling with absolute values
Print
Pages: [
1
]
Author
Topic: scaling with absolute values (Read 1620 times)
0 Members and 1 Guest are viewing this topic.
Mitmischer 1703
Newbie
Posts: 8
scaling with absolute values
«
on:
May 03, 2011, 10:19:14 pm »
hi!
How can I set the scale of a sprite in absolute values? I want to have a sprite which is always 400x400, no matter the original size.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
scaling with absolute values
«
Reply #1 on:
May 03, 2011, 10:29:07 pm »
Hi!
Please:
1- the forum has many sections to help categorizing the topics, use them; I'm really unhappy that a lot of users just throw their message in the "general discussions" forum
2- read the doc / tutorials:
Code:
[Select]
sprite.Resize(400, 400);
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
scaling with absolute values
anything