Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Is it good if I set center of Sprite? (SFML1.6)  (Read 1068 times)

0 Members and 1 Guest are viewing this topic.

PoundXI

  • Newbie
  • *
  • Posts: 1
    • View Profile
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.
Sorry for my poor English.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11032
    • View Profile
    • development blog
    • Email
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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything