Game Development Community

Parallax background for platformer

by Neil Sardesai · in Torque Game Builder · 07/24/2012 (12:28 pm) · 2 replies

Hi, I'm a complete noob with Torque and I'm trying to make a platformer.
I want to have a parallax background and found this: http://tdn.garagegames.com/wiki/TGB/Behaviors/Parallax_Object
But I have no idea how to use it. I'm using this camera moving tutorial: http://tdn.garagegames.com/wiki/TGB/Tutorials/Platformer/Camera
How do I get background elements to move parallax style using the parallax object behavior and the platformer camera behavior?
Thanks.

About the author


#1
07/24/2012 (12:41 pm)
Woah. I just realized I needed to change the x and y speed and now it works :D
#2
07/24/2012 (12:49 pm)
But now I have a new problem. The camera's view limit goes outside the map, even though I set the scene object's world limit to the map's borders.