Hex tiles??

Blitz3D Forums/Blitz3D Beginners Area/Hex tiles??

Squid(Posted 2004) [#1]
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.


Nebula(Posted 2004) [#2]
I think mappy (tile map editor) has blitz ready code for displaying hex tile maps.


Squid(Posted 2004) [#3]
Damn that was fast! It looks like just what I need, thankyou.


Kanati(Posted 2004) [#4]
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. :)


Squid(Posted 2004) [#5]
Sounds like I've got my work cut out for me...damn those hexagons:P


Perturbatio(Posted 2004) [#6]
a useful hex link:
http://www-cs-students.stanford.edu/~amitp/Articles/Hexagon1.html


Kanati(Posted 2004) [#7]
been there... read that... my eyes look at it but my brain refuses to. :)


eBusiness(Posted 2004) [#8]
Knocked this up, I hope it helps :)


Perturbatio(Posted 2004) [#9]
another link I just found:
http://www.pixelate.co.za/issues/9/articles/hex/article.html


WolRon(Posted 2004) [#10]
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.)


ashmantle(Posted 2004) [#11]
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.


Sir Gak(Posted 2004) [#12]
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.