Issue with scrolling background

WhackojackWhackojack Member, PRO Posts: 20
edited August 2013 in Working with GS (Mac)


I've been running into an issue with a menu screen that has a scrolling background. I have the background actors set up to move at different speeds based on the linear velocity X of the Camera. This is working fine, but when I click an object I want the Camera to snap to the background objects all move uniformly. I've tried using Interpolate (both X position and Linear Velocity) in addition to Accelerate Towards and Move To. Is this possible on GS or should I just stick to something simpler?

EDIT: Also, apologies: I don't know how to embed videos on here :\

Comments

  • natzuurnatzuur Member Posts: 304
    I'm not sure i understand the question, are you trying to get them to continue the parallax effect when clicking on the blue object? I would just use when touch is pressed interpolate camera origin x to the position of the object, this would only work if the background actors were referencing the camera origin or the attribute controlling it if set up that way.

    But looking at how you explained it, it could very well be the way you have set up the parallaxing itself is causing the issue. if its tied to acceleration somehow, interpolate will not trigger it, but accelerate should.
  • WhackojackWhackojack Member, PRO Posts: 20
    edited August 2013
    It isn't tied to accelerate at all.
    I have a "Camera" actor and a "Drag" actor (from T-shirt booth's scrolling menu tutorial) so that the Camera is set to -Linear Velocity X of the Drag actor. All the background objects are tied to the linear velocity of the Drag Actor.

    So are you saying I should just tie them to the Camera Origin? That sounds much easier
Sign In or Register to comment.