Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Is it good if I set center of Sprite? (SFML1.6)
Print
Pages: [
1
]
Author
Topic: Is it good if I set center of Sprite? (SFML1.6) (Read 1069 times)
0 Members and 1 Guest are viewing this topic.
PoundXI
Newbie
Posts: 1
Is it good if I set center of Sprite? (SFML1.6)
«
on:
September 21, 2012, 06:58:39 am »
Normal Sprite Vs. Sprite with SetCenter (Sprite::SetCenter())
Which way is the best or good way to manage sprite? and Why?
PS.Sorry for my poor English.
Logged
Sorry for my poor English.
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: Is it good if I set center of Sprite? (SFML1.6)
«
Reply #1 on:
September 21, 2012, 07:04:13 am »
There's no such thing as the 'best way'.
Both are equal and it only depends on how your game logic works and what seems to be easier in your situation.
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
»
Is it good if I set center of Sprite? (SFML1.6)