|
|
|
|
|
December 3rd, 2006, 08:33 PM
|
First Lieutenant
|
|
Join Date: Oct 2000
Location: San Diego, CA, USA
Posts: 731
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEV: Taking me to the edge of sanity
Quote:
Imperator Fyron said:
Kooky theory? Geeze, sorry for hazarding a guess... Can you point out any mass-market (PC) games that used hexes? All I can think of use floating point or squares.
Anyways, this is all tangential to the point that hex grids don't necessarily require any more computational power than square grids...
|
Panzer General used a hex grid
|
December 3rd, 2006, 08:35 PM
|
First Lieutenant
|
|
Join Date: Oct 2000
Location: San Diego, CA, USA
Posts: 731
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEV: Taking me to the edge of sanity
OMG, I think Fyron might be about to lose an argument!
Quick, call the Guiness book!
|
December 3rd, 2006, 08:41 PM
|
|
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: SEV: Taking me to the edge of sanity
Eh? I just said I couldn't think of any; I didn't say there weren't any. The argument was about computational efficiency anyways...
|
December 3rd, 2006, 08:58 PM
|
First Lieutenant
|
|
Join Date: Oct 2000
Location: San Diego, CA, USA
Posts: 731
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEV: Taking me to the edge of sanity
Just teasing you, bro
I personally don't have a clue which uses more resources for pathing calculations. But my personal prejudice is strong.
To me, hexgrids look "right" and "professional"
To me, square grids look "cheap", "cheesy", amateurish", and just plain "wrong".
Hey, I said it was prejudice, didn't I?
|
December 3rd, 2006, 09:26 PM
|
First Lieutenant
|
|
Join Date: Jan 2005
Posts: 689
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEV: Taking me to the edge of sanity
I don't think it's necessarily the hexgrid that makes it slower. The problem seems to be that the game is recalculating the entire travel path each hex a ship move, instead of only doing it when encountering something that demands a path recalculation( i.e. an enemy ship blocking a warp point or occupying a hex in the middle of your travel route comes into sensor range, preventing your ship from moving further, therefor requiring recalculation of the path ).
|
December 3rd, 2006, 09:33 PM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: SEV: Taking me to the edge of sanity
Raapys is right - not to mention that fact it does it so much more as a ship can travel 10-15 hexes per turn.
|
December 3rd, 2006, 10:38 PM
|
General
|
|
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SEV: Taking me to the edge of sanity
Quote:
Imperator Fyron said:
Slick said:
Except that your incorrect opinion does not reflect reality. Hex grids do require more math overall when compared to square grids.
More math overall? How so? You can find adjacent hexes exactly equivalently to square grids; the constant offset x,y coordinate values are different, but it is the same amount of math (add an x value, add a y value). You can efficiently represent and parse both hexes and squares in 2d arrays, with not much difference in computational complexity. We discussed this on IRC yesterday; some important bits:
<Vornicus> a hex system is just a square system with two specific paths disabled
...
<Vornicus> If you're looking at the linked object model, a hex only has six links where a grid has eight (and an ortho grid has four); if you're looking at the array index object model, then grid rejects (0,0) as nonadjacent, hex rejects x == y as nonadjacent, and orthogrid rejects (x + y) & 1 == 0 as nonadjacent
<Vornicus> it was a bit technical
<Vornicus> But the point is that a 2-d array can describe a hex grid as well as it describes a square grid.
<Vornicus> Anyway, without obstructions, a path is found almost trivially
If hex grids provided more efficient pathing, then why aren't all 2D computer games coded for a hex grid?
Because they are weird-looking, and most games are designed for the masses?
|
I think that what MM is doing is a very fine-resolution absolute coordinate system (x,y) underneath the display, and then figuring out what hex the ship(s) fall into after doing the coordinate calculation. In the early betas there was a lot of 'stuttering' as ships tried to decide what hex they were gonna land in.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|