How to pin closer background objects in place

Get help using Construct 2

Post » Fri Dec 07, 2012 5:52 pm

Total newbie here -- I checked the FAQ and didnt see this there.

So I have background 0 - 2 (Mountains, Trees, Flowers) ..each getting closer with a different parallax.

But my trees and flowers dropdown from where I place them as my platformer dude jumps around.

I know PIN behavior is not what I want... help?

Here are two images - first one is the editor and where I would like to STICK my trees and flowers and the second is what happens when I run.



tvance9292012-12-07 18:51:23
B
12
S
4
G
3
Posts: 8
Reputation: 3,048

Post » Fri Dec 07, 2012 6:40 pm

Set the second value to 0, that will prevent the y axis from moving when the camera is moved along the y axis.
B
40
S
12
G
7
Posts: 603
Reputation: 7,646

Post » Fri Dec 07, 2012 6:52 pm

Thank you for the reply, but that puts the images at the top of the screen.

Check out the newly added screenshots. This will probably illuminate my situation. Maybe I am going about this all wrong...?
B
12
S
4
G
3
Posts: 8
Reputation: 3,048

Post » Fri Dec 07, 2012 7:25 pm

GOT IT!!! I dont want to change the Parallax vertical NUMBER for my side-scroller(doh - slaps forehead)!

I want it to stay in place vertically so my 3 background layers will have their parallax values set to something like this ( 20,100 | 50,100 | 80, 100 ) ...

tvance9292012-12-07 19:26:53
B
12
S
4
G
3
Posts: 8
Reputation: 3,048

Post » Fri Dec 07, 2012 8:03 pm

Woops, got that backwards. Sorry!
B
40
S
12
G
7
Posts: 603
Reputation: 7,646

Post » Fri Dec 07, 2012 9:11 pm

Well you definitely got me thinking about that which led me to getting it so thanks a ton!
B
12
S
4
G
3
Posts: 8
Reputation: 3,048


Return to How do I....?

Who is online

Users browsing this forum: Draconinho, peturfoto and 13 guests