Jump behavior trouble

Get help using Construct 2

Post » Thu May 10, 2012 4:30 pm

Hello.

I'm creating simple platformer game and noticed that using ScrollTo behavior with my player rinning it is also scrolls to it when the player is jumping that is not like in the most platformer games.

How do I make the camera not scroll when the player jumps?
Thank you!
B
13
S
2
G
3
Posts: 24
Reputation: 2,812

Post » Thu May 10, 2012 6:03 pm

Get rid of scroll-to.

Every Tick: scroll to X: player.x.
           scroll to Y: some constant value.

Alternatively, keep scroll-to, and make the layout height no higher than the window height.sqiddster2012-05-10 18:03:19
B
92
S
31
G
24
Posts: 3,191
Reputation: 32,644

Post » Thu May 10, 2012 6:17 pm

Thank you))
B
13
S
2
G
3
Posts: 24
Reputation: 2,812


Return to How do I....?

Who is online

Users browsing this forum: Elliott, hntr, WeariedCoffee2, wiredcleric and 12 guests