Forum rules - please read before posting.

Parallax scroll problems

Hi i´m with some problems with the parallax system i have a mountain in the background and i want that move slowly and some stuff like trees move faster at foreground i use depth in a lot of ways but nothing happens. I´ts moves far from the left or right and i use with scroll direction x  to move to the same place that i want but it´s the same stuff. All moves at the same time
Any help?

Comments

  • Bear in mind this only works when you're using GameCamera2Ds that are Orthographic.  The Parallax2D script is an effect to help non-perspective cameras.

    You need to set the component's Depth value to non-zero.  0 to 1 = background, -1 to 0 = foreground.  The 2D Demo's Park scene shows a practical example of this script.
  • Thanks i was in perspective camera thats was the problem
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.