Stop Scroller Image
by David Ledesma Camacho · in Torque Game Builder · 06/29/2011 (11:44 am) · 1 replies
Hi Guys
I know this might be a very basic thing but I'm kind of relearning TGB after a long time, and I'm creating a Top to Down Scroller, but I can't seem to figure how to stop my scroller background once it has reached the end of the image, could somebody help me with that? I would really appreciate it.
Thanks
I know this might be a very basic thing but I'm kind of relearning TGB after a long time, and I'm creating a Top to Down Scroller, but I can't seem to figure how to stop my scroller background once it has reached the end of the image, could somebody help me with that? I would really appreciate it.
Thanks
Torque Owner Kevin James
tdn.garagegames.com/wiki/TGB/Reference:_t2dScroller
There's almost always a scripting solution. So unfortunately, there's no callbacks for scrollers. You could script a listener to check the "scrollerPosition" every so often and stop it.