Game Development Community

Tile-Map Bug for wrapping tile-layers...

by Melv May · in Torque Game Builder · 03/21/2005 (4:19 am) · 1 replies

Just thought I'd report a problem you may encounter if you're using tile-layers that wrap. If you configure a tile-layer that wraps but also ends up wrapping the same tile within the tile-layer window, only one of each tile will be processed for collisions and/or show when showing collision-polygons (debug BIT#5).

You may also encounter problems with ghost-collisions being detected on edge-tiles (tiles surrounding the window). This has been partially fixed but a full fix is dependant upon other changes that need to be done first.

This is an unlikely set of circumstances but can be confusing so I thought I'd post my findings here.

Just to be clear, you can happily use wrap mode but unless you end up with the same tile appearing more than once within the tile-layer window (as defined by "setSize()"), you won't encounter this problem.

I'll be addressing this issue at a later date.

- Melv.

#1
04/25/2010 (9:13 pm)
Melv,

This problem still occurs in the latest build of TGB (1.7.4, osx).

I've been trying to figure out what I'm doing wrong for the better part of two hours, then came to this post of yours saying it's a known bug?

But this post is from five years ago!

Will you be fixing this issue soon?

-Ryan