Game Development Community

Hex(agon) tilemap instead of squares

by Niels · in Torque Game Builder · 12/28/2008 (6:05 am) · 3 replies

I've downloaded the TGB demo to test some stuff for a game idea I have. This idea includes a game board which consists out of hexagon's (a six sided figure), but for as far is i know TGB only allows a tilemap with squares.

Is there a way to create a tilemap thats different from one with only squares?

thanks for your reply's!

*Edit: typo

#1
12/31/2008 (4:51 pm)
I don't think so. If it's a game board you can probably use sprites with a hexagon collision poly.
#2
01/02/2009 (10:31 am)
I'm not sure I understand you correctly. Is it like, I create an image of 1 hexagon (or a full board, like the checkers game) and I paste a poly per hexagon on top of them?

Can you explain a bit more please?
#3
01/02/2009 (10:51 am)
Check out: www.garagegames.com/mg/forums/result.thread.php?qt=31876

That should allow you to do what you want via script and still be able to use the Builder to make your maps. You could probably do everything procedurally as well if you wanted to do it 100% in script. Other than that, I'm would think it would require engine modification.