Mount object to scroller and make it scroll along
by Man-Machine · in Torque Game Builder · 04/03/2009 (1:42 pm) · 2 replies
How do you mount an object to a scrolling tile map and make it scroll along? If I do it normally it will be attached to a mount point but it will not scroll. Is there something extra I need to do?
I want to attach several triggers to a scrolling background or tile map to activate enemies in my level map.
I want to attach several triggers to a scrolling background or tile map to activate enemies in my level map.
#2
My background scrolling image have some towers and I want my turret objects to look like their mounted on top of these towers. So they need to scroll around and match the image even when it wraps around...
I thought there was an easier way doing that. Like putting a linking point on the actual image so that it also scrolls along
04/04/2009 (5:44 pm)
I thought of doing it that way but I also want it to wrap around when it gets to the end. My background scrolling image have some towers and I want my turret objects to look like their mounted on top of these towers. So they need to scroll around and match the image even when it wraps around...
I thought there was an easier way doing that. Like putting a linking point on the actual image so that it also scrolls along
Torque Owner Martyn
What I am currently doing (not sure if it is the best way of doing things or a speed friendly way)
In the Physics tab of the object you want to move set the X velocity to the speed your scroller is going, positive to make it move right Negative to make it move left.