Scrolling Problems...

Get help using Construct 2

Post » Fri Jul 13, 2012 12:28 pm

Hello! I experiance problems when I try to set up a scrolling platform game. When I try to make the character scroll outside the layout, the character seems to leave off screen. How can I make the character scroll?

Any help would be appreciated and sorry for my bad english :).
B
3
Posts: 3
Reputation: 443

Post » Fri Jul 13, 2012 1:26 pm

Try and set the "ScrollTo" behavior on your character. That means that the screen will follow the character and scroll if needed.

Remember that the window size must be bigger than the layout size, otherwise there is no room to scroll and the character will leave the layout.
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Fri Jul 13, 2012 7:07 pm

Also there is a layout property "unbounded scrolling" that allows scrolling outside the layout.
B
79
S
24
G
52
Posts: 4,724
Reputation: 39,711

Post » Sat Jul 14, 2012 5:06 am

[QUOTE=CodeMasterMike] Try and set the "ScrollTo" behavior on your character. That means that the screen will follow the character and scroll if needed.

Remember that the window size must be bigger than the layout size, otherwise there is no room to scroll and the character will leave the layout.[/QUOTE]
Thank you for your reply, CodeMasterMike. I am going to try it! (Now rebooting to Microsoft Windows :))
[QUOTE=R0J0hound] Also there is a layout property "unbounded scrolling" that allows scrolling outside the layout.[/QUOTE]
Thank you for your reply too, but I have already used the layout property "unbounded scrolling", but nothing happened :(((( Is this a bug in the Construct 2 release?
B
3
Posts: 3
Reputation: 443

Post » Sat Jul 14, 2012 6:00 am

also you can use scroll with lerp it gives good effects ^^
B
45
S
15
G
6
Posts: 795
Reputation: 11,935

Post » Sat Jul 14, 2012 6:26 am

[QUOTE=CodeMasterMike]Remember that the window size must be bigger than the layout size[/QUOTE]

Actually, that's the opposite (:
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Sat Jul 14, 2012 10:12 am

Thank you everyone. I solved my problem by applying the "ScrollTo Behaviour" in my main player sprite.
B
3
Posts: 3
Reputation: 443


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, LeFuji, RookieDev, TRMG, Yahoo [Bot] and 18 guests