Game Development Community

Make an entire layer collidable(?)

by Daniel "_danada" De Sousa · in Torque Game Builder · 03/07/2009 (7:28 pm) · 1 replies

Hello there,

I'm making a platformer in TGB and am wondering if it is possible to make an entire layer of a tilemap collidable.

I already have a layer for my background which won't collide with my player. Is it possible to create a scene object that would automatically make an entire layer of tiles "solid"?

Thanks,
~dan

#1
03/09/2009 (9:49 pm)
I think so. Just select all the tiles and turn on "Collision" in the editor.

EDIT: Hmm... I guess that only works for tiles which have an image assigned to them.