Thin film with tiled background objects

0 favourites
  • 6 posts
From the Asset Store
40 Seamless textures for tile backgrounds. High resolution 1024x1024!
  • Hi all,

    Just wondering if anybody can tell me why there is a film around my "tiled background" image - and why it doesnt appear on the "sprite" version

    <img src="http://dl.dropbox.com/u/13312935/Example.png" border="0" />

    Tiled background on the left - sprite on the right.

    I can get around it by making the canvas size of the image bigger (so the film isnt in view) but id rather not use huge images if possible.

    Anyone had a similar experience working with tiled background objects?

  • There have been similar issues, but a long time ago. I thought that since the tiledbackground had been "fixed" and this error ironed out.

    Anyway, try setting "Pixel rounding" in the project property to on, and be sure to be up to date in C2's releases (current version r74) and up to date with your graphic card drivers too.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks for the quick response Kyatric,

    Pixel rounding did work with the objects that were flat, however ones that i had rotated at all still have the same thing happening as you can see in this pic.

    <img src="http://dl.dropbox.com/u/13312935/example2.png" border="0" />

    Fully up to date with graphic drivers and construct.

    :(?

    Im not sure if a capx would be useful but here it is.

    dl.dropbox.com/u/13312935/Example.capx

    Or perhaps you shouldnt be rotating tiled backgrounds at all?

  • I tested your capx with and without pixel rounding on firefox8.0 (should update) and chrome and there were no issue with your non rotated tiledbg

    But indeed as soon as you rotate it, you can see the seam appear. I think it's logical, the graphic engine have to find a way to display oblique lines and that might cross the seam.

    For this specific problem, there's a simple workaround: flip your image vertically and make your tiledbg height slightly lower. That should do the trick

  • <img src="smileys/smiley41.gif" border="0" align="middle" /> Cheers Yann, flipping and resizing worked perfectly.

    You guys are great, there really should be a donate button on users profiles because I would be glad to spare some change every time an issue is quickly resolved like this.

    Thank you both.

  • And we would be glad to accept :D ... But that might start an answering war (money... wars... always associated).

    Don't worry helping is learning.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)