Game Development Community

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

About the author

Recent Threads


#1
06/30/2011 (5:07 pm)
It's currently hard to help you because I'm not sure why you would want a scroller to only scroll once then stop. You should reference TDN on t2dScroller. Login to TDN, then hit the link again.

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.