True Pixel-Friendly Screen Scaling

This forum is currently in read-only mode.
From the Asset Store
Is a circular loading screen with code ready to use. No Animation.
  • Ever wanted to simply scale up the screen for your retro/low resolution game, without murdering your precious pixel art? Here's how.

    http://dl.getdropbox.com/u/1010927/TruePixelScaling.cap

  • Nice, it look great.

    and it is so damn simple.

    You gained 20 EXP for that.

  • Oh the window object... another thing I never used, although it's so useful.

    Unfortunately I get blurred little kitties here when resizing, while simple zoom 200,200 is still sharp. I take it that doesn't happen for you guys?

  • I take it that doesn't happen for you guys?

    Nope. That's strange, but I think it also happens on my laptop. I guess it has to do with different graphics cards. care to post a screenshot?

  • Goes blurry for me too.

    <img src="http://i35.tinypic.com/2r3e8m9.png">

    heh, i mispelled it as "burry"

  • I guess it has to do with different graphics cards.

    Yes, it's a graphics card/driver issue. On my older computer with geforce 6600gt it does the bad bad blur thing, but on my newer one with ati 3870 it looks perfectly crisp!

  • Hmm.. same for me

    <img src="http://i35.tinypic.com/2iwap2u.jpg">

    got ATI Radeon Express 1150 on my laptop

    Nice cap though=) It might help me anyways

    Thanx

  • I have no way of knowing if this is the problem

    just an idea to try

    but for those having the problem

    see in your graphics card settings if it's overwriting the application settings for anisotropic filtering

  • It might not be a good way if graphics cards commonly override the setting. You're best off using Set Display Resolution, zooming in, and setting Point sampling.

  • It might not be a good way if graphics cards commonly override the setting. You're best off using Set Display Resolution, zooming in, and setting Point sampling.

    I have been doing this so far for most of my games. However it causes numerous problems. For example the placement of objects on Scroll Rate 0% layers will get messed up (it didn't do that in very old Construct versions btw). And eventually objects placed at the edge of the screen might be shy one pixel when zoomed, showing through the background. I guess that's why some people were importing their graphics double-sized to avoid the zoom.

    So I'd really prefer using the window object like in this example, although the graphics card issue makes this method less recommendable. I'd love to just have a runtime option to make the game double-sized.

    I have no way of knowing if this is the problem

    just an idea to try

    but for those having the problem

    see in your graphics card settings if it's overwriting the application settings for anisotropic filtering

    I checked my settings, but anisotropic filtering is set to application controlled. So I guess that isn't the cause.

  • Wow, this is so great! I was looking for something like this!

    The Window object is awesome! Thanks a lot Davio!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd like to point out that 3D acceleration is just not designed for discrete coordinates.

  • Nice work! If this trick works consistently, I could think of a lot of times I might want to use it.

    I just wanted to add that it didn't blur for me, it looked just how it should, with nice crisp clean edges. I have an nVidia card if that's of any help (if the kind of card makes a difference to the blur/no blur thing people are getting).

    Also it says it doesn't work well with captions turned on. I of course felt the need to try that, and it still worked fine for me. Maybe something the devs did in an update, fixed it?

  • Also it says it doesn't work well with captions turned on. I of course felt the need to try that, and it still worked fine for me. Maybe something the devs did in an update, fixed it?

    Look closely (or better yet, measure) and you'll see that the screen isn't perfectly scaled up. It may not be apparent with my example, but it's there. It just has to do with the window object set size action taking into account the caption height and width when setting the size. For example, if you set the size of the window to 640x480, it will take the caption into account, resulting in a slightly distorted resolution, at 640-captionwidth x 480-captionheight

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