Original Post
After hours of trying to figure this out on my own, I've given up... I need help.
I'm making a board game. All the "hard work" like graphics, gameplay, AI are done. The only thing that's in my way now are mouse events. I haven't been able to find a tutorial that gets to the point of what I'm trying to do.
How do I define the coordinates of a clickable area on a graphic (my board image)?
And how do I give the user control to put pieces in that area?
Your help would be greatly appreciated.
I'm making a board game. All the "hard work" like graphics, gameplay, AI are done. The only thing that's in my way now are mouse events. I haven't been able to find a tutorial that gets to the point of what I'm trying to do.
How do I define the coordinates of a clickable area on a graphic (my board image)?
And how do I give the user control to put pieces in that area?
Your help would be greatly appreciated.