Ideas for using a non-rectangular board
by Vijay · in Torque Game Builder · 11/27/2009 (9:09 pm) · 2 replies
Hi, are there any tricks or facilities to use non-rectangular boards? Preferably with tilemap but that's not a huge requirement. The idea is sort of like a chess game where players can move pieces but with a layout of the board that is not exactly rectangular. In this case, is it simply better to do all the "location" calculations myself or are there any builtin features that could be of help? Below is crude sample of the layout I'm looking for:
S-S-S
SS-S-S
SSS-S-S
SSSS-S-S
The "-" indicates "squares" where the user can move pieces to. Sorry if the picture is confusing. The post doesn't seem to handle special characters very well.
S-S-S
SS-S-S
SSS-S-S
SSSS-S-S
The "-" indicates "squares" where the user can move pieces to. Sorry if the picture is confusing. The post doesn't seem to handle special characters very well.
#2
12/01/2009 (2:42 am)
Thanks William! Unfortunately my squares do not align with such arrangement. But it's alright. I'm actually experimenting with triggers to act as locations where pieces can be dropped. It seems to work pretty good even though I'm a bit concerned with performance.
Associate William Lee Sims
Machine Code Games
If your game has very few tiles to render (say, a thousand), you can calculate the locations yourself.