Game Development Community

TGB Adventure Kit Wall Types?

by Aaron Miller · in Torque Game Builder · 09/20/2008 (10:39 am) · 1 replies

Does the TGB Adventure Kit have any way of handling diagonal isometric walls? I only see horizontal and vertical in screenshots.

#1
09/20/2008 (10:48 am)
We have that diagonal fence segment. The trick with that is to push the collision far enough off the base of the fence/wall to avoid sorting issues.

We cover this trick at the end of the Collision section of the Building A Level doc page (including pictures of the issue and fix).

Edit: I guess you don't have access to the docs... so i'll explain it more here. We don't try to solve this issue perfectly.... you sometimes will get visual quirks from situations where Y sorting of the sprites does not work. We instead suggest you work around this by using the collision to keep the player out of the problem area. The technique works really well in practice and is never noticeable by players.