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
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