Misalignment of sprite

Bugs will be moved here once resolved.

Post » Fri Jul 06, 2012 7:51 pm

Good day all,

I just bought my license and creating my first game.
I was playing with sprites to create my roads and for some reason when I move they seem to not be aligned anymore.

see image
http://imgur.com/wCYpt

You can clearly see in the white stripe in the street the small green line from the background. When I move my character back towards the edges of the screen it seems to correct itself.

Any fix ?

Thank you,
-MikeWicstar2012-07-06 20:01:37
B
12
S
1
Posts: 22
Reputation: 1,109

Post » Fri Jul 06, 2012 9:41 pm

Sprites don't tile perfectly when using sub-pixel positioning, which is enabled by default. Set 'Pixel rounding' on in project properties, and that should fix it. Alternatively set 'Sampling' to 'Point', but that will also affect the quality of rotated and stretched sprites.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Fri Jul 06, 2012 10:18 pm

Awesome thank you Ashley. Pixel rounding fixed it!
B
12
S
1
Posts: 22
Reputation: 1,109


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests