Linear sampling blurs out sprites? (but not background?)

Discussion and feedback on Construct 2

Post » Sun Oct 29, 2017 1:01 pm

Here's a table of my configs and situations.
Image

Situation 1 looking crisp; all good.
Situation 2 the sprite is rotated by one angle and looks approx x3 times worse.
Situation 3 the background (TileMap) got pixelated lovely, while my sprite got blurred out.

(P.S. the Sprite image is upscaled x4 times than its ingame size to look good on zoom)

Please, any tips on how to avoid this? I've tried Point Sampling,but it absolutely kills any attempt at resolution changes, hence the game == unplayable.

:(

Thanks in advance.
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Sun Oct 29, 2017 5:46 pm

Welcome to 2d gaming.

It's just the way a line works with transformations. A band aid is to try adding a transparent border to the image.
Image ImageImage
B
179
S
50
G
207
Posts: 8,719
Reputation: 128,306

Post » Sun Oct 29, 2017 8:26 pm

@newt
How come the background doesn't get blurred so bad?
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Sun Oct 29, 2017 8:34 pm

You mean when its rotated?
Image ImageImage
B
179
S
50
G
207
Posts: 8,719
Reputation: 128,306

Post » Sun Oct 29, 2017 10:21 pm

Furthermore, I'm not only talking about borders
The whole sprite looks as though a "Blur" filter has been applied on top, whether its rotated or zoomed out. Looks really bad. Please explain how to avoid :/

newt wrote:You mean when its rotated?

When it's zoomed out.
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Sun Oct 29, 2017 11:16 pm

No idea.
No way to tell from what's provided.
Image ImageImage
B
179
S
50
G
207
Posts: 8,719
Reputation: 128,306

Post » Mon Oct 30, 2017 5:37 pm

Okay, here's what Im talking about.

Image
Situation 1 - scale 1, rotation 0. Looks slick af.

Image
Situation 2- zoomed out and magnified with WM. How come the background gets nicely pixelated while the Sprite gets blurry?

Please help, game relies heavily on zoomout.
B
6
S
3
Posts: 139
Reputation: 1,668

Post » Mon Oct 30, 2017 5:45 pm

Take a look at the tiled background object in the two.
You should see that rather than scaling up the texture, it just shows more of the texture.
To deal with the blurriness of scaling you can downscale the sprites texture.
In other words you would set an object that was say 256x256 to something smaller, say 128x128.
Image ImageImage
B
179
S
50
G
207
Posts: 8,719
Reputation: 128,306


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 33 guests