Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
SFML Mouse position and sprite position problem
Print
Pages: [
1
]
Author
Topic: SFML Mouse position and sprite position problem (Read 2722 times)
0 Members and 1 Guest are viewing this topic.
AK47_GOD
Newbie
Posts: 1
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
»
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
SFML Mouse position and sprite position problem