Scroll to Smooth

Get help using Construct 2

Post » Fri Nov 02, 2012 3:35 pm

Hello
This is my first post, and I thank all the help you carry on this forum, so far I have been very useful.

I have a problem to solve and so far I have not found the solution, and I have not heard her.

What I get is, Scroll to effect, but does not follow the character when this jumping, only to follow him when the character is raised or lowered on a platform. Scroll effect similar to that seen in the game of Limbo

Sorry for my English!

Thanks
B
3
Posts: 2
Reputation: 279

Post » Fri Nov 02, 2012 5:03 pm

Adding Scroll to behavior to a sprite should follow it in any direction it moves.
B
40
S
12
G
7
Posts: 603
Reputation: 7,656

Post » Fri Nov 02, 2012 8:01 pm

Do you mean something like this?

ScrollToPlatform.capx (r108.2)
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Fri Nov 02, 2012 8:13 pm

I see what you want. it's pretty complicated for a beginner. You'll need some sort of zone detection.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Fri Nov 02, 2012 8:17 pm

Easy ...

You need to make an object that follow the player when he moves left and right and don't jump and make the player scroll to this object

Cheers
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Fri Nov 02, 2012 8:51 pm

Yeah, like whiteclaws said.

Create an invisible sprite and pin it to your character, and put the scroll to behaviour on that instead.
B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Fri Nov 02, 2012 10:54 pm

@sqiddster @whiteclaws @justifun

guys, look at nimtrix's cap, you don't need anything like that..
B
28
S
8
G
1
Posts: 469
Reputation: 4,683

Post » Fri Nov 02, 2012 11:07 pm

Yep, nimtrix's cap is perfect, I think.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Sat Nov 03, 2012 1:26 am

Thank you all!
nimitrixs capx is just what I wanted!
B
3
Posts: 2
Reputation: 279

Post » Sat Nov 03, 2012 4:23 pm

Solution is in front of our eyes and we don't see it ... :D
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Next

Return to How do I....?

Who is online

Users browsing this forum: GSquadron, HTB and 25 guests