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
38
S
15
G
6
Posts: 238
Reputation: 7,760

Post » Wed Aug 29, 2012 9:20 am

up
B
38
S
15
G
6
Posts: 238
Reputation: 7,760

Post » Wed Aug 29, 2012 11:27 am

Set scroll Y to floor(player.y) - 140.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,000

Post » Wed Aug 29, 2012 1:11 pm

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

Oh, big thanks!
B
38
S
15
G
6
Posts: 238
Reputation: 7,760


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], gregorysforster, heliogame, WhosWho and 15 guests