Game Development Community

Circumnavigable tile map world

by Jason McIntosh · in Torque Game Builder · 04/11/2005 (3:41 am) · 2 replies

This was probably mentioned in a thread before the forum was split, but is it possible to have tile maps that "wrap" and continuously scroll any direction? Ie, when you reach the top edge, the bottom edge appears connected seamlessly and it never stops scrolling, creating a big endless map. :)

#1
04/11/2005 (3:52 am)
Sure, just use setWrap(wrapX?, wrapY?) on the fxTileLayer2D.
Personally, I'd like to see some kind of "ping-pong" wrapping in addition to the regular wrapping.
#2
04/11/2005 (3:57 am)
Really? Wow, cool. :) Thanks for the reply, Hans!