Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
How to make a resolution independant program in SFML?
Print
Pages: [
1
]
Author
Topic: How to make a resolution independant program in SFML? (Read 1211 times)
0 Members and 1 Guest are viewing this topic.
reethok
Newbie
Posts: 23
How to make a resolution independant program in SFML?
«
on:
February 17, 2015, 11:03:17 pm »
Hi!
I'm wondering if there is a straightfoward way to scale / calculate positions of the sprites showed on screen depending on the resolution selected, or do I have to manually code it?
Any ideas on how can I do it?
Thank you
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: How to make a resolution independant program in SFML?
«
Reply #1 on:
February 17, 2015, 11:23:39 pm »
Use a view
or do it by hand. I mean SFML can't mind read how you think a sprite should look like give a resolution.
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
»
How to make a resolution independant program in SFML?