Bad tiling cs2 r212 64

0 favourites
  • 3 posts
From the Asset Store
Each tile 64 by 64 pixels - Ultimate Tile Set for your awesome games
  • Hello,

    Problem Description

    When using tiling (tiled background or tilemap), it looks like elements are cut from 1px (for tilemaps) or there is one more line (on tiled backgrounds). But my image is exactly 64x64px.

    Attach a Capx

    http://j2geeks.fr/DL/bug-tiling.capx

    Description of Capx

    The caps contains a tiled background and a tilemap made from the same 64x64 image. You will notice a thin line on top of the first one, and a gap at right in the second one.

    Steps to Reproduce Bug

    • Create a new sd landscape project
    • Add a tiled background or a tilemap
    • Open an image inside it

    Observed Result

    Lines from other parts or gaps (tilemaps) and line on top maybe coming from the bottom of the image (tiled backgrounds)

    Expected Result

    just use the image and tile it lol

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    VM : windows7 64 SP1

    Host : Ubuntu 14.04 x86_64

    browsers tested inside and outside VM (except IE of course,)

    Construct 2 Version ID

    r212 64bits

    Thank you for your hard work.

    Best regards,

    Jau

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Closing as not a bug. This does not reproduce in the Tilemap object when seamless mode is on, only Tiled Background. Tiled Background uses wrapping on both axes (horizontal and vertical). Since you use Letterbox Scale and not Letterbox Integer Scale fullscreen mode (and for pixel-perfect display, Pixel Rounding and Point sampling), the display will use floating point scaling, and render objects at fractional pixel offsets. This means in some cases a fractional vertical offset in the Tiled Background object, which then wraps vertically and samples the bottom row of the image along the very top of the object rectangle. This is just how computer graphics works when you enable floating-point offsets; the workaround is to use letterbox integer scale, point sampling and pixel rounding, or low-quality fullscreen mode with point sampling.

  • sry then. I'll study this. Thank you Ashley.

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