Layout Scale Issue

0 favourites
  • 2 posts
  • Hi,

    I am trying to implement a zoom in and out feature.

    Unfortunately I have some trouble.

    According to the manual I should use Pixel Rounding: On and Sampling: Linear to avoid bluring. But I still have some.

    When I use Fullscreen: Crop, Sampling: Linear and Pixel Rounding: On ? I have blurry results.

    Same for every fullscreen setting and pixel rounding on/off.

    When I use Sampling: Point ? I have strange artefacts on my sprites.

    <img src="http://i50.tinypic.com/5xrvn.png" border="0" />

    WebGL is on and supported. I use the latest Firefox and have the latest drivers. Results are the same on Node Webkit export as well.

    Are my settings wrong? How to achieve good image quality while scaling the layout in order to have a zoom effect?

    I searched the forum and found some entries but none of the proposed settings worked for me.

    Thanks

    Update:

    Here is a better side by side screenshot, where you can see the blur.

    <img src="http://i48.tinypic.com/2mh6d20.jpg" border="0" />

    For larger picture: i48.tinypic.com/2mh6d20.jpg

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In computer graphics, you pretty much only get these two options. You can try drawing the source image at different sizes to see how it's affected by scaling. But most games either avoid high-contrast graphics which makes that effect obvious, or use a limited range of scaling that prevents the effect becoming obvious. Or you can just choose one of the sampling methods and use it anyway.

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