Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Picking objects with mouse
Print
Pages: [
1
]
Author
Topic: Picking objects with mouse (Read 2519 times)
0 Members and 1 Guest are viewing this topic.
Akatray
Newbie
Posts: 12
Picking objects with mouse
«
on:
August 26, 2013, 05:17:24 pm »
How to pick rectangle object when view moves and rotates.
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
Re: Picking objects with mouse
«
Reply #1 on:
August 26, 2013, 05:38:18 pm »
Given the minimal question, here goes a minimal answer:
Official view tutorial
window.mapToPixelCoords()
window.mapCoordToPixel()
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Akatray
Newbie
Posts: 12
Re: Picking objects with mouse
«
Reply #2 on:
August 26, 2013, 05:57:04 pm »
Thanks. I somewhat overviewed that in tutorial.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Picking objects with mouse