Archived

This topic is now archived and is closed to further replies.

Need help before I start

This topic is 5900 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I want to develop a GUI interface for a small PBEM game that I''m playing in...and want to use more than the standard Delphi components for the graphics. While I don''t want this to become a DirectX vs. OpenGL debate, I do need to ask which API would be best suited to do what I want: The main interface is of the globe, with the landmasses split into small regions or countries. I need to know how I can split these regions/countries so that I could detect MouseOver/MouseClick events inside each region. If I was using the windows API, I would define the areas as Regions ( or TRegion in Delphi ) so that I could detect PointInRegion. In the future more maps with different landmass would be added so I also need this to be a generic solution, and one that I can change the actions of the map with a data file. Any thoughts/Views are greatly appreciated.

Share this post


Link to post
Share on other sites
It can be done in either

Go with whatever you are using for the actual game.

Check out NeHe''s tutorial on picking for more info


ANDREW RUSSELL STUDIOS
Looking for my webpage? Funny that... Me too!
Resist nes8bit :: Bow Down to Linux Communisum

Share this post


Link to post
Share on other sites