Scrolling bug

New releases and general discussions.

Post » Mon Nov 12, 2007 8:51 am

I've been tinkering with parallax scrolling and I've run into a bit of a bug. There is a player sprite object on layer 2 that is centering the display, and layer 2 is set at 100% for X and Y scrolling. Layer 1 (the bottom layer) has a tiled background and is set at 50% for X and Y scrolling. When my sprite reaches the edge of the layout, layer 2 stops scrolling (as it should) but layer 1 doesn't. This only happens at the right and bottom edges of the screen. When the player sprite is at the left or top edge then layer 1 scrolls normally.

I can provide a .cap if you need it to see what I'm talking about.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Nov 12, 2007 2:01 pm

I can reproduce, will fix in 0.84.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Mon Nov 12, 2007 6:56 pm

Awesome, thank you :D
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests