Game Development Community

Vertical scrolling background...

by algrn912005 · in Torque X 2D · 09/30/2009 (11: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/03/2009 (1:12 am)
Are you trying to scroll the background independently from the camera?
#2
10/03/2009 (6:34 am)
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/03/2009 (6:48 am)
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 (6:49 pm)
Scratch that...Thanks for the help