Skewed and Disappearing Objects with Effects in Layout View

0 favourites
  • 5 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Problem Description

    Objects will visually skew and partially disappear the farther from coords 0,0 they are if there are any objects that have an effect applied to them. Their actual locations, sizes, and shapes are accurate when attempting to select them, as indicated by the blue bounding box highlighting of a selected object. This only occurs in Layout View and only after a certain number of objects are on screen. The issue disappears when setting Preview Effects in Project Settings to No. When in Preview mode, everything appears correctly.

    This occurs on the most up to date AMD, NVIDIA, and Intel drivers, as also reported in these threads.

    https://www.scirra.com/forum/items-skew-and-disappear-in-editor_t185798

    https://www.scirra.com/forum/r238-objects-are-disappearing-during-zoomin-out_t183194

    Attach a Capx

    OneDrive link

    https://1drv.ms/u/s!Atvbm976TQtmg4JUtymrz1w9ldErMg

    Description of Capx

    Capx is 1 layout, no events. Several Sprite Font with the Scirra Adjust HSL effect applied to them are placed on a layout along with some 9-Patch and Sprite objects that have no effects applied. As you delete objects the issue begins to clear up. This only occurs in Layout View with Preview Effects set to Yes. When Previewed, the issue does not appear at all.

    Steps to Reproduce Bug

    • Create a Sprite Font object
    • Add an effect to it
    • Copy the object several times over until skewing occurs
    • Add any other object. No effect need be applied, although further distortion/clipping can occur if any effect added
    • Setting Preview Effects in Project Settings to No, deleting enough Objects, or removing all effects will remove skewing
    • Preview Mode will not display skewing / distortion / clipping

    Observed Result

    Layout View Screenshot

    https://1drv.ms/i/s!Atvbm976TQtmg4JSOQw4jhvV-FYiRQ

    Preview Mode Screenshot

    https://1drv.ms/i/s!Atvbm976TQtmg4JTQrA_EY4eDyWH8A

    Expected Result

    Effects should be able to be previewed in Layout View without visual distortion / skewing / clipping as in previous versions of Construct 2.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (NO)
    • Issue only occurs in Editor Layout View

    Operating System and Service Pack

    Windows 10, Version 1703, OS Build 15063.540

    AMD Radeon RX 480, Radeon Software Version 17.8.2

    Construct 2 Version ID

    Construct 2 r246 (64-bit)

    EDIT: Proper Capx posted

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have placed the backup and not the capx on that link, so perhaps there are more effects in your "real" example file, but for me everything looks and behaves correctly here (latest nvidia drivers). Duplicated what you have there to have hundreds of objects on screen and still no problems. A screenshot might help.

    Apart from that I have noticed that the Editor seems to only reliably display shaders with high precision. So you may try finding the line in the shader (.fx file in "Construct 2\effects" folder) that says "precision mediump float;" or "precision lowp float;" and change that to "precision highp float;". In theory it would affect mobile performance, but you can save the original and replace it back for final export if necessary.

    Also, just a heads up, from what I'm seeing the Scirra HLS effect still bugs out at certain hue values with certain colors:

  • I provided 2 screenshots actually. They're also OneDrive links.

    It's interesting because testing it out on my Surface I don't seem to get the issue, but on my PC with the dedicated card I do. It's a bizarre issue and no amount of updates seem to resolve it.

    Also, it's typically frowned upon to modify the stock Scirra stuff.

  • Can't reproduce here, on a nVidia GeForce GTX 1070. Are your graphics drivers up-to-date? Looks like a weird driver issue.

  • Yeah, the graphics drivers were up to date at the time I had this bug. However, I recently removed ASUS Ai Suite after upgrading my processor, board, and RAM, and then ran CCleaner through. On a whim decided to test it again, and seems like the problem was resolved. Didn't change my graphics card out or update it further either, so not sure what happened.

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