Original Post
(This is a duplicate post of the same message on the Isometric/Hex/Land main forum... I figured i''d throw it here too so I can get the response from the local java trolls
)
Hey there -
I''m new to Gamedev.net, but based on the insane amount of substance here and the very responsive users in the forums (and my upcoming programming experiences), I plan to be much more frequent.
The game that me (and my co-partners) are working on is basically a war game/country simulation. For a map, we''ve decided (tenatively... we''re still kinda up in the air) about going with a hex map. We''ve thought of how this ties in to the game, and it seems to work. We''ve thought about coding (our language of practice will be JAVA for the purposes of this game). Implementing a hex map in Java has been problematic for us as of now. We''re still thinking rather high level, conceptual right now, but any suggestions are welcome.
How, exactly, does one implement a hex map in Java? OR in any other language, for that matter (although Java would be most pertinent and relative)? We thought of crazy things like an 6-linked list, the mother of all two/dimensional arrays with only certain element used...
Anyway, any help here woudl be really appreciated. I''m not asking for source code, of course, but a kick in the right direction (or maybe even an example) would be great. Thanks
-Brad