Auto scrolling Tiled Backgrounds and Seams issue

Get help using Construct 2

Post » Sun Feb 02, 2014 8:24 am

I've read a lot of threads on this issue but haven't been able to fix this issue. I am using 2 tiled backgrounds, one after the other, in an auto side scrolling game.

I am using the following logic for it:



But, During the gameplay, a white blinking line appears between he 2 tiles (probably called a seam). Its not a pixelated game, but still as people suggested in other posts, I tried setting Pixel Rounding : On , Sampling: Point and Letterbox Integer Scale. But that didn't help, the seams are still there.

Is there any working solution to this ?garish2014-02-02 13:59:40
B
5
Posts: 16
Reputation: 261

Post » Sun Feb 02, 2014 10:15 am

You should move the background relative to the current position, that way there should be no seams.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Feb 02, 2014 6:25 pm

Even though your game isn't pixel art, all raster images are made up of pixels. If you have resized the image in an editor, chances are the editor created a slight color change along the edge. It's called the halo effect.

C2's built in editor definitely does it, and Photoshop does it unless you change the settings to "Nearest Neighbor" when resizing, but that's only really good for pixel art.

It might be a good idea to zoom in on the background image and look for a variation in color along the edge. Even the slightest color variation will create a seam. If you can't tell just by looking at it, try to paint the 1 pixel edge along the outside of the image to see if it breaks the seam.

If you work larger than what you end up using in game, and the art comes to the edge of the canvas, this will always be an issue when resizing. Converting from vector to raster also causes this issue.

Hope that helps.
B
14
S
3
G
1
Posts: 87
Reputation: 1,108


Return to How do I....?

Who is online

Users browsing this forum: GrogIsGood, kainrazial and 4 guests