#### Archived

This topic is now archived and is closed to further replies.

# Hex Graphics

This topic is 5223 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hello, I have a quick question regarding hex-based graphics in a turn-based strategy game....the way I have my game board set up is that odd numbered rows are offset from even numbered rows, so that each hex is oriented like this: /\ | | \/ My question is how can a straight road going vertically on the board be represented accurately? If a road going horizontally across several hexes, everything is handled normally. However, if a road going across several tiles is vertical, the raod will alternate going over a single hex then over two side-by-side hexes. Graphically it is easy to do, but how would I place a unit properly on the correct tile, if parts of the road are actually split across two different tiles? Thanks for the help

##### Share on other sites
quote:
Original post by juggerp
...
My question is how can a straight road going vertically on the board be represented accurately?
...
Graphically it is easy to do, but how would I place a unit properly on the correct tile, if parts of the road are actually split across two different tiles?

Have you ever seen Fallout 1 or 2 ? There are no roads but still the problem is the same as yours: character couldn''t move straight vertically (or horisontally in your account), he just ran in zigzags. But AFAI noticed nobody gives so much attention to it even to spare the time for criticizing . IMHO there''s one solution to write the game hex''n''roads could not spoil ;D

##### Share on other sites
one possibility is instead of having your vertical roads be centered int the hex, have them offset to the left or right so that they pass through a definate hex and not between to.

for example (which i''ll do turned 90 degreed since it''s easier to draw):
     o--------o                o    /    ||    \              /   /     ||     \            /  /      ||      \          / o       ||       o--------o  \      ||      /          \   \     | =====/============\==    \    ||    /              \     o--------o                o    /    ||    \              /   /     ||     \            /  /      ||      \          / o       ||       o--------o

anyway, hope this helps in some way.

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
14
5. 5

• 14
• 9
• 23
• 9
• 32
• ### Forum Statistics

• Total Topics
632624
• Total Posts
3007505
• ### Who's Online (See full list)

There are no registered users currently online

×