Game Development Community

Vertical scrolling background...

by algrn912005 · in Torque X 2D · 09/30/2009 (4:10 pm) · 4 replies

How would I go about implementing a vertical scrolling background? If you could provide some code samples that would be greatly appreciated...

#1
10/02/2009 (6:12 pm)
Are you trying to scroll the background independently from the camera?
#2
10/02/2009 (11:34 pm)
Yes the scrolling background should be independent from the camera. The camera is suppose to stay in a static position and I just want the background to simulate flying over an ocean...
#3
10/02/2009 (11:48 pm)
The easiest solution is to add a T2DScroller to the scene's background, Layer 31. You can do this in code or via XML using the Torque X 2D Builder.

John K.
www.envygames.com
#4
10/03/2009 (11:49 am)
Scratch that...Thanks for the help