0

I'm creating a board game in libgdx using a board of 3 x 3 buttons in a Group that's in a VerticalGroup.

I have problems because the mouse position I get is misplaced from the actual position in screen. I can click a button, but the button below is clicked instead.

I'm using text buttons, so this should be an internal issue of the Actor. Can I configure it in some way to avoid this behaviour?

I found no cause for this on any forum.

Can you help me? Am I forgetting something?

Josell
  • 1,924
  • 3
  • 13
  • 20
  • 3
    You'll need to show your code for setting up your stage and resizing its viewport. – Tenfour04 Feb 16 '15 at 04:39
  • Are you unprojecting your coords? http://stackoverflow.com/questions/18554126/using-unproject-correctly-in-java-libgdx – MilanG Feb 17 '15 at 20:37

0 Answers0