While googling for SFML code samples a few weeks ago, I found a sample that had examples of what I wanted to learn. I thought I bookmarked that webpage but evidently did not. Now I can't find that webpage anymore.
The code used C++ and SFML, and I believe it was for a game. It was just a few pages of tutorial and code, not very long. The code included:
A way to store the coordinates of areas on the screen (like buttons for instance) in a list. Then use a for or while loop to scan each area using an iterator see if a mouse click coordinates is within any of the areas. If yes, take the appropriate action.
I've been googling for hours and can't find that webpage again. Anyone happen to know of a webpage that has sample code like that?
Thanks,
Raptor