PHP Hex Map Generation Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Remix919
Forum Newbie
Posts: 4
Joined: Mon Jan 16, 2006 9:37 am

PHP Hex Map Generation Help

Post by Remix919 »

Hey, I'm trying to generate a hex-based map by getting the information from a mysql database.

The link to the map page is at http://war3online.com/game.php?view=localmap

My mysql table is just simple x,y columns all the way down. The main problem I can't figure out is how to make it automatically generate the x.png image at the beginning of the line and end of the first line on the map which gives it the hex look to it.

Any comments or suggestions are highly appreciated, thanks in advance! :)
Post Reply