Scaling down Tiled Backgrounds with no quality loss

Get help using Construct 2

Post » Wed Apr 13, 2016 10:07 pm

Hi there, so when I import an asset as a sprite, I can scale it down from 128x128 to 32x32 with no quality loss.

However, when I import an asset as a Tiled Background and scale it down, it loses quality, is there a way to avoid this?

In the properties tab, for Sprites the Size field means that actual size of the asset.
But for Tiled Backgrounds, the Size field means the "canvas size", I guess you could call it.

And altering the size in the image editor decreases the quality for both.

Do I just have to import all Tiled Backgrounds as Sprites instead an manually tile them if I want to scale them down?

Thank you!
Posts: 56
Reputation: 668

Post » Thu Apr 14, 2016 3:15 am

@danielbishop56 - You are going to have to use an external image editor if you want to resize your images. Honestly, C2's Image Editor is not good in re-sizing since quality is lost every re-size, may it be sprite or tiledbackground image editor. Tiled backgrounds is for tiling images repeatedly and are commonly only used as backgrounds that's why it can't be scaled down and it would lost it's tiling ability if it were scalable while sprites are like objects in a game, like characters and such that's why it has a scale option since it is not a looping image and size may be needed to be manipulated in the game. I suggest you change the image size of your tiled background in Photoshop, ImBatch or any external image editor that doesn't lose quality in re-sizing.
The Things you can create is only limited by your imagination. If you don't have the skills then use your motivation as a natural force to exceed all expectations. Chadori RebornXD
Posts: 1,148
Reputation: 61,618

Post » Thu Apr 14, 2016 5:43 am

I think you want to scale the object in the layout editor so that an up scale gives sharp image quality?

It would be hard to set up with parallax, but you could set a layer scale for the tiled background layer to 0.5. Assuming your window is 960x540 it will up scale to full image res. Alternatively you could procedurally create sprites over a dummy tiled background object that you then destroy on start.
A big fan of JavaScript. Image Image Image
Posts: 2,357
Reputation: 52,708

Post » Fri Apr 29, 2016 5:54 pm

Can a layer have an image applied to it.
Posts: 13
Reputation: 1,833

Return to How do I....?

Who is online

Users browsing this forum: khill92 and 20 guests