S
steve
Hi, I'll pose my problem and the best solution I can think of.
Perhaps there is a better way?
Problem: I am developing a thin-client web application (strategy game)
that needs a map of a very large geographical area divided into
hexagons, called a 'hexmap'. The map typically will be larger than a
single screen, and will consist of hundreds or even thousands of
hexagons.
The user will be able to click on a particular hex to go to a screen
showing more detailed information about that region, and also use the
map to process unit commands (move a unit from this hex to that hex)
Solution: the best I can come up with is to make the map an image map
within a frame. I believe when a server-side image map is used, the
coordinates of the click will be sent as parameters to the server, so
I can programatically work out which hex was clicked, and act
appropriately.
For the game itself, I propose to use sun studio creator and java
server faces. I dont know much about html or jsp and I dont want to
know! Im not sure if JSF can help me with this problem or not...
Can anyone come up with a better solution?
Perhaps there is a better way?
Problem: I am developing a thin-client web application (strategy game)
that needs a map of a very large geographical area divided into
hexagons, called a 'hexmap'. The map typically will be larger than a
single screen, and will consist of hundreds or even thousands of
hexagons.
The user will be able to click on a particular hex to go to a screen
showing more detailed information about that region, and also use the
map to process unit commands (move a unit from this hex to that hex)
Solution: the best I can come up with is to make the map an image map
within a frame. I believe when a server-side image map is used, the
coordinates of the click will be sent as parameters to the server, so
I can programatically work out which hex was clicked, and act
appropriately.
For the game itself, I propose to use sun studio creator and java
server faces. I dont know much about html or jsp and I dont want to
know! Im not sure if JSF can help me with this problem or not...
Can anyone come up with a better solution?