How do i change sampling (nearest/bilinear) for specific images?

0 favourites
  • 4 posts
From the Asset Store
Get instant inspiration with this drum sample pack!
  • I'd like to change the sampling type for SPECIFIC objects only (not for the whole project).

    In my game some of the images are pixelated so they do not require any sampling at all.

    However, some pictures are full hd and they require sampling.

    Let's say i want to put that chopper in my game.

    It's nice and clean but only inside image editor.

    On the canvas it looks like this

    Again, changing sampling for the whole project is not an option since i have some objects that require other type of sampling (such as these stars that you see on the last screenshot)

    Thank you in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I know that i can just upscale the image before uploading it in construct. But i want to keep the initial image scale as small as possible

  • There's an effect for that, you can buy it from https://twitter.com/GlaireDaggers and support trans rights

  • The image compression in C3 is supposed to be very efficient (according to Ashley's article below) so if you use a full-scale sprite for development you may not necessarily be wasting space once it's compressed for distribution. You could make test projects with small sprites in one and full-size sprites in another and see what the difference is after export.

    This is from section 3, "IMAGE RECOMPRESSION"

    "It's also able to losslessly palette-reduce 32-bit PNGs to 8-bit PNGs when the image has 256 colors or fewer, resulting in a much smaller file size, which is particularly effective for art styles which don't use many colors, like retro style pixel art." (emphasis added)

    construct.net/en/tutorials/construct-3s-export-optimisations-4

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