[r112] Bad Streaks / Artifacts with WebGL

0 favourites
  • 3 posts
  • I added the Vignette and Scanlines to my game to see how it looks. I liked it, but now I get lots of streaks and artifacts.

    It only streaks when I am moving around on a platformer and I have the background set to move at a different speed than the top later.

    I think the webgl can't figure out how to render the tiles on top with a moving background or something, and it gets confused.

    So if use lerp to position, my screen kind of scrolls to the spot.

    But as it is moving to that spot, all the tiles streak. See Below.

    This only happens if there is no background and it is using the layout default. There is never any streaks over a tile/sprite.

    <img src="http://i.imgur.com/ZmykA.png" border="0">

    Here is a capx with the issue.

    https://dl.dropbox.com/u/122492/StreakTest.capx

    I think the fix is just to have a background set of some type. I'm curious if there is another fix.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's because you use a transparent layer... in this case the 'Clear background' property being 'Yes' ought to prevent the trails, but it didn't work in WebGL mode. Thanks for the find, should be fixed in the next build - just make the bottom layer non-transparent for the time being as a workaround.

  • Sounds good! Thanks Ashley!

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