Jump to content

Game.Input.ActivePointer


Langerz82
 Share

Recommended Posts

Hello,

I got a game im extending on. I've scaled the game renderer and the HUD displayed off the screen due to the zoom so I re-positioned it. Now the mouse can only hover over the buttons when the cursor is positioned at a certain place in the worldmap. How do I correct it so the cursor can select the buttons when the cursor is correctly over them?

I also note that to get the cursor to work with the scaled world I had to use massive equations which is not quite correct.

See the relevant code:

The offending code

 

 

Clipboard11.jpg

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...