Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
View and sprites scaling
Print
Pages: [
1
]
Author
Topic: View and sprites scaling (Read 1100 times)
0 Members and 1 Guest are viewing this topic.
ilgamer
Newbie
Posts: 2
View and sprites scaling
«
on:
June 27, 2013, 10:51:46 am »
Hi everyone. I have a situation when needs to draw a sprite which doesn't need to be scaled when I use view.
I have an idea with scaling the texture, but hope that there is more easiest solution.
Hope you will help me to find it.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: View and sprites scaling
«
Reply #1 on:
June 27, 2013, 11:17:56 am »
I'm not sure if I understood your problem. If you're working on one view (zooming/rotating/etc) and want an object that stays static, you can simply use another unchanged view. The official tutorial explains this quite nicely.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
ilgamer
Newbie
Posts: 2
Re: View and sprites scaling
«
Reply #2 on:
June 27, 2013, 03:50:43 pm »
So, I can set not changed view while drawing a sprite and the set the main view, right?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: View and sprites scaling
«
Reply #3 on:
June 27, 2013, 04:17:55 pm »
Yes, just read the tutorisl!
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
»
Graphics
»
View and sprites scaling