Quantcast
Channel: hexagonal map > matrix
Browsing latest articles
Browse All 14 View Live

hexagonal map > matrix

so i need help turning a hexagonal map into a matrix to keep track of player positions and walls and such stuff

View Article



Re: hexagonal map > matrix

What kind of game is this used for? If I am not mistaken (which I probably am mistaken), can't you use the matrix just the same? Because the hexagonal map just shifts every other row over by .5 spaces.

View Article

Re: hexagonal map > matrix

ya it does. i am making a strategy game similar to risk, except the countries are divided into hexagons, making choke points harder to maintain as they can be attack from multiple areas and one troop...

View Article

Re: hexagonal map > matrix

the map of a square against a hexagon is different. http://www.xnaresources.com/images/tutorialimages/multitile/HexGridLayout.png a square has 4 cardinal directions. however a hexagon as 6 directions....

View Article

Re: hexagonal map > matrix

Yes. I understand that the maps are different. However, since it is a hexagon, then isn't it basically like every other row is shifted over by half a column?

View Article


Re: hexagonal map > matrix

essentially, yes

View Article

Re: hexagonal map > matrix

How large is a tile, in pixels?

View Article

Re: hexagonal map > matrix

it follows a 5 tall and 9 wide hexagon

View Article


Re: hexagonal map > matrix

Then could you tell the calculator to start each even row at 4-5 pixels to the right?

View Article


Re: hexagonal map > matrix

yes

View Article

Re: hexagonal map > matrix

So isn't this problem solved?

View Article

Re: hexagonal map > matrix

i was talking about creating a code to "traverse" the matrix

View Article

Re: hexagonal map > matrix

???

View Article


Re: hexagonal map > matrix

nvm

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images