Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Thu Jul 31, 2014 7:22 am

All times are UTC




Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Thu Jun 10, 2004 12:37 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Thu Aug 28, 2003 9:38 am
Posts: 3311
Heh...Hexxagon squares. :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 30, 2004 7:44 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 333
Location: Copenhagen, Denmark
I'm not sure, but wouldn't a triangle-based map be just as flexible, if not more, than a hexagon-based map, while possibly being simpler to use? An example of a game using triangles would be Settlers 2, where it works pretty well.

As for rail-building tools, something where you just click start and endpoint (like in simu) could work well in most cases, but still allow for manual construction, maybe a bit like XFig (eg. no holding-and-dragging.) I don't have an idea how landscaping would be done the easiest, though... but maybe RCT does have a good idea there :)

_________________
Ex-tycooner. I'm no longer playing TT or watching this board.
Aegisub - if you're serious about making subtitles


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 01, 2004 3:13 am 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Wed Oct 08, 2003 2:07 pm
Posts: 322
G4S wrote:
I'm not sure, but wouldn't a triangle-based map be just as flexible, if not more, than a hexagon-based map, while possibly being simpler to use? An example of a game using triangles would be Settlers 2, where it works pretty well.


Having been thinking about this and trying to come up with the best approach, I always end up working with triangles and would have to agree that a triangle based map would be the way forward.

Although to maintain the extra directional advantage we got with hexfields you'll need an additional trick or two, but I'm still working on a proposal.

_________________
Open source tycoon games
--
Free Gamer - open source and Free Software games
FreeGameDev forums - open source game development community


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 03, 2004 10:01 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Wed Jan 08, 2003 11:09 pm
Posts: 333
Location: Copenhagen, Denmark
If you use a triangle grid you need to allow one end of a track-piece to be on a corner of the triangle, but not both ends on a corner (that would be too messy, I think.) Also, you have to be careful on restricting how close together tracks can be laid, as well as how sharp turns trains can take. Maybe introduce proper curved tracks, as in RCT.

Finally, I'm completely sure landscaping where you manipulate single corners of land will always work for triangle-based maps. Refer to how a triangle can only have one normal calculated from its points/vectors.

_________________
Ex-tycooner. I'm no longer playing TT or watching this board.
Aegisub - if you're serious about making subtitles


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 2:26 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun May 04, 2003 11:00 am
Posts: 2720
Location: Torquay, England
charlieg wrote:
Although to maintain the extra directional advantage we got with hexfields you'll need an additional trick or two


You could, of course, just build track in a straight line from any side of any triangle to a side of another triangle... would allow very flexible track building, but I'm not sure how it would be stored... :|

_________________
<!-- End Of Post !-->
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 20, 2004 11:36 pm 
Offline
Transport Coordinator
Transport Coordinator
User avatar

Joined: Wed Oct 08, 2003 2:07 pm
Posts: 322
BobXP wrote:
You could, of course, just build track in a straight line from any side of any triangle to a side of another triangle... would allow very flexible track building, but I'm not sure how it would be stored... :|


Or from any triangle to any other triangle (similar effect).

_________________
Open source tycoon games
--
Free Gamer - open source and Free Software games
FreeGameDev forums - open source game development community


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 21, 2004 1:35 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Sun May 04, 2003 11:00 am
Posts: 2720
Location: Torquay, England
yes, but then the line would go from center to center, which is not what we want.

_________________
<!-- End Of Post !-->
Image


Top
 Profile  
 
 Post subject: Triangles vs. Hexagons
PostPosted: Sat Aug 07, 2004 9:52 pm 
Offline
Engineer
Engineer

Joined: Sat Aug 07, 2004 7:48 pm
Posts: 1
A triangle map is merely the "dual" of a hexagon map. Draw a hexagon map. Connect the centers. You get a triangle map. The triangle vertices correspond to hexagon centers, and hexagon vertices correspond to triangle centers. You can use either as the primary -- think of Go vs. Chess, or Chinese Checkers vs. Checkers. (I wonder if Eastern cultures use the vertices and Western cultures use the centers?)

What I tried to do with my game was to use a hexagon map for the objects (roads, trees, etc.) but use a triangle map for the terrain (mainly because 3D cards like triangle strips, and it rendered much faster, but also because you avoid some of the issues with hexagons being "bent" in the middle).

Hexagons are slightly simpler to use for the map objects because: (a) they are "round" so you can put a good sized object in a single tile, (b) hexagons are all oriented the same way (whereas every other triangle is upside down), (c) more neighbors gives you more directions for movement. But triangles are easier and faster to render. If you try using both, you will end up with hexagons that have three different slopes. To deal with that you'll want to put your objects on stilts or have graphics that allow the objects to be built in the hillside (I have no experience with this, so I don't know if this works out in practice).

Unfortunately, a few years ago I found TTD (in the bargain bin at Best Buy). I've been spending time playing that instead of working on my game...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000-2013 phpBB Group

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2013.
Hosted by Zernebok Hosting.