Skip to main content
gamedev.net
🔒 Locked

Need help before I start

Started by csshelton70 Oct 22, 2001 at 11:17 PM 0 replies 300+ views
Original Post
csshelton70
csshelton70
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.
Andrew Russell
Andrew Russell
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.