Scroll To problem

Get help using Construct 2

Post » Tue Aug 28, 2012 5:51 pm

I made Scroll To events like this:
System: Every tick -> Scroll X to player.x
Player on the floor -> Scroll Y to player.y-140

But when player's sprite is jumping i get this sometimes.

It's a small little pixel that appears randomly (after 2-5 jumps)

How do I fix it?

.capxVladoss2012-08-28 17:56:46
B
39
S
17
G
6
Posts: 238
Reputation: 7,995

Post » Wed Aug 29, 2012 9:20 am

up
B
39
S
17
G
6
Posts: 238
Reputation: 7,995

Post » Wed Aug 29, 2012 11:27 am

Set scroll Y to floor(player.y) - 140.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680

Post » Wed Aug 29, 2012 1:11 pm

[QUOTE=ramones] Set scroll Y to floor(player.y) - 140.[/QUOTE]

Oh, big thanks!
B
39
S
17
G
6
Posts: 238
Reputation: 7,995


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests