r207 front to back renderer v physics v normal/debug preview

0 favourites
  • 3 posts
From the Asset Store
Animated portals including normal and reverse animations in HD and 8-bit.
  • Problem Description

    This is a problem with the front to back renderer set off, with a physics object and a sprite spawning a "shade" sprite in a layer with XOR blend (and the "shade" sprite has Destination Out blend). Delete any of these objects and the problem is not evident (even the physics object). When the layout is run normally, with front to back renderer off, the blend for sprite "shade" is incorrect. However, if you run the layout in debug mode then "shade" is rendered correctly. If you turn front to back renderer on then "shade" is also rendered correctly.

    Additional problem: I noticed that, when reducing my project to demonstrate this problem, the "shade" and "sprite" objects are each in a container of just themselves....

    Additional problem 2: the position of the physics sprite appears to be eccentric / different relative to the viewport, depending on whether or not normal or debug is selected.

    Attach a Capx

    capx link

    Description of Capx

    2 layouts - ignore "dump" layout. Layout L_01 contains 3 layers, layer "shader" is blend XOR, layer "FG" and "BG" have normal blends. Layer FG has 2 sprites, one named "sprite" and the second object is in a family with physics behavior. On creation of "sprite" a "shade" sprite (Destination Out) is created on the "shade" layer.

    Steps to Reproduce Bug

    • Preview L_01 normally, observe the blend become extreme until it appears like a disk;
    • Preview L_02 in debug, observe that the object "shade" is rendered correctly;
    • Turn Front-To-Back-Renderer On - preview normally/debug and the "shade" object is rendered correctly

    Observed Result

    See above.

    Expected Result

    All rendering should be consistent and correct in preview / normal / front to back renderer on/off.

    Affected Browsers

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

    Operating System and Service Pack

    W8.1 x64

    Construct 2 Version ID

    r207 64 bit

  • Plus: Resizing the browser's window size seems to "fix"/affect the problem.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Note the XOR blend mode is not supported in WebGL mode - it will look the same as "normal" blend mode. Still, the rendering bug should be fixed in the next beta.

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