Oddly shaped movement spaces on 2d player map. Need Java solution.

J

jodasi

I've seen a number of game programs that when you click a state, the
boarder around the state highlights. Risk is a good example of this
happening.

I want to re-do an old board multi player boards game, with a complex
map of about a hundred countries. This will be done in java on a 2
dimentional board.

The only way I can think of doing it is to create each state out of
really small straight lines, thus creating a really complex polygon.
then I would draw each polygon separately. I know of a function in java
called point in polygon to detect clicks in the states. I dont think I
have the patience to do that.

Maybe there is a tool currently available that would help me plot out
the map and export a string of x,y points for me to story for the
polys?

Do you know any other way for me to do to it?

Suggestions? Sites with similar solutions? Insights?

Joel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,219
Latest member
KristieKoh

Latest Threads

Top