Can somebody help me? (Problems with Scroll to)

Discussion and feedback on Construct 2

Post » Tue Jul 18, 2017 11:15 pm

Hi, I don't know why, but when I try to use scroll to it doesn't work.
I open a Construct template with this action and it works perfectly.

I did my code just like the template for this case.
"System -> Every tick -> Scroll to (360, player.Y)"
--------------------------------------

Hi friend ^_^

I'm learning how to make games and I'll apreciate your feedback.

Be kind.

Thank you!
B
14
S
5
G
16
Posts: 12
Reputation: 9,484

Post » Wed Jul 19, 2017 8:26 am

Hi @Janaina, do you have a capx that you can share? It will be easier to figure out the problem if we can review the code.
B
19
S
8
G
3
Posts: 423
Reputation: 3,964

Post » Wed Jul 19, 2017 8:34 am

@Janaina It could be a bug aswell but scroll to seems to work for me. Upload your capx to dropbox so we can see what code your using etc
Image
B
24
S
12
G
11
Posts: 276
Reputation: 8,583

Post » Wed Jul 19, 2017 8:57 am

What email should I use to share my folder with?
--------------------------------------

Hi friend ^_^

I'm learning how to make games and I'll apreciate your feedback.

Be kind.

Thank you!
B
14
S
5
G
16
Posts: 12
Reputation: 9,484

Post » Wed Jul 19, 2017 9:03 am

Sorry, Iv forgot there is a public folder in Dropbox.
That's the link
https://www.dropbox.com/s/z5dcz2oxgrayz ... .capx?dl=0
--------------------------------------

Hi friend ^_^

I'm learning how to make games and I'll apreciate your feedback.

Be kind.

Thank you!
B
14
S
5
G
16
Posts: 12
Reputation: 9,484

Post » Wed Jul 19, 2017 9:09 am

Maybe you've put a "Scroll To" behavior on another object?
Rather than scrolling to the player every tick, you could also simply put the scroll to behavior on the player object if that suits your project.
B
29
S
6
G
1
Posts: 347
Reputation: 2,725

Post » Wed Jul 19, 2017 9:17 am

On the layout properties set 'Unbounded Scrolling' to 'Yes'.
B
46
S
16
G
73
Posts: 2,082
Reputation: 43,673

Post » Wed Jul 19, 2017 9:24 am

plinkie wrote:On the layout properties set 'Unbounded Scrolling' to 'Yes'.

Yaaaay! That's it!
Thank you so much! :D
--------------------------------------

Hi friend ^_^

I'm learning how to make games and I'll apreciate your feedback.

Be kind.

Thank you!
B
14
S
5
G
16
Posts: 12
Reputation: 9,484

Post » Wed Jul 19, 2017 9:25 am

Thank's for all of you that tried to help me. The problem is solved ^_^
--------------------------------------

Hi friend ^_^

I'm learning how to make games and I'll apreciate your feedback.

Be kind.

Thank you!
B
14
S
5
G
16
Posts: 12
Reputation: 9,484


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests