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

Author Topic: SFML Mouse position and sprite position problem  (Read 2724 times)

0 Members and 1 Guest are viewing this topic.

AK47_GOD

  • Newbie
  • *
  • Posts: 1
    • View Profile
SFML Mouse position and sprite position problem
« on: December 13, 2021, 09:25:37 am »
OK i figured it out that the sprite's top left corners coordinate is equal to my mouse's cursor's coordinates. Any
idea how to make the sprite's center coordinates to equal with mouse's coordinates?


OK ok sorry forgot about set origin.
« Last Edit: December 13, 2021, 12:04:09 pm by AK47_GOD »