Is there a Scroll.Speed Variable ?

Get help using Construct 2

Post » Thu Feb 23, 2017 8:23 pm

?
B
9
S
3
G
4
Posts: 58
Reputation: 2,799

Post » Thu Feb 23, 2017 9:13 pm

There is no scroll speed control built in but you could use every so many seconds to control how fast the scroll happens.

You would need to use scroll to object or position and then use a decreasing variable to set the scroll X and Y to that position with an every so many seconds decrease distance between scroll X and Y and position of object.

Sounds like a hassle but it could be done.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Thu Feb 23, 2017 9:36 pm

That's a good idea - thanks !
B
9
S
3
G
4
Posts: 58
Reputation: 2,799

Post » Thu Feb 23, 2017 10:40 pm

A simple way to make customizable smooth scrolling is to have an invisible sprite with the scroll to behaviour and rex move to behaviour. And then you set that object to follow your character and set the speed to whatever you want and you'll then have perfect smooth scrolling with almost no extra work :)
B
57
S
24
G
14
Posts: 771
Reputation: 13,133

Post » Fri Feb 24, 2017 1:43 am

very nice one !
B
9
S
3
G
4
Posts: 58
Reputation: 2,799


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 48 guests