Hex tiles??
Blitz3D Forums/Blitz3D Beginners Area/Hex tiles??
| ||
Hello all, I'm wondering if anyone here knows how to create a hexagonal tile based game in blitzplus? I've only been using blitz for about two weeks now, so I'm sure the answer is right in front of me! However, any tips, or source code examples would be most welcome. |
| ||
I think mappy (tile map editor) has blitz ready code for displaying hex tile maps. |
| ||
Damn that was fast! It looks like just what I need, thankyou. |
| ||
I've been fighting with hex tiles for 10 years... I decided to go with square ones. Displaying them was never an issue. Only with selecting them. :) |
| ||
Sounds like I've got my work cut out for me...damn those hexagons:P |
| ||
a useful hex link: http://www-cs-students.stanford.edu/~amitp/Articles/Hexagon1.html |
| ||
been there... read that... my eyes look at it but my brain refuses to. :) |
| ||
Knocked this up, I hope it helps :) |
| ||
another link I just found: http://www.pixelate.co.za/issues/9/articles/hex/article.html |
| ||
Check out this free map editor: www.blitzbase.de/_mapeditor I believe that it will be available soon. (I am currently helping translate the website and help docs to english.) |
| ||
I've done quite a few tile-engines, but Hex tiles is the most difficult one to create. Mostly because of the odd coordinate system which is a little difficult to convert to normal array lookups and such.. Its mainly the way you think about the system, but if you write wrapper functions, you can easier continue with it and use regular square map thinking :) Mouse-tile coordinates isn't that difficult to do, just ask me if you need any help. |
| ||
I wrangled together a hex tile system for selecting and shading hex tiles. Man, was that ever nasty to figure out! A hex tiling system would definitely be a great idea. |