Pixel art sharpness in editor

Discussion and feedback on Construct 2

Post » Mon Oct 01, 2012 4:15 pm

Hello, just wanted to ask, is it possible to turn off the pixel blurring that happens to my nice crisp pixel art when it is in the C2 editor? At runtime it works fine as I toggle the relevant option (sampling if I recall) but this seems to have no effect in the editor.

Could this be added if it is not possible?

Thanks for reading.

Sorry, forgot to mention that the image is crisp until scaled or rotated. It would be nice if it could retain it`s sharpness at all times.


Zeus2012-10-01 16:50:32
B
35
S
4
G
8
Posts: 65
Reputation: 6,106

Post » Mon Oct 01, 2012 5:20 pm

In the Project Properties, turn Pixel Rounding on ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Mon Oct 01, 2012 5:41 pm

Well pixel rounding will not help with that. It's about texture sampling. @Zeus wants nearest neighbor, that is, no filtering. It's just a simple tweak on opengl.Kiyoshi2012-10-01 17:42:09
B
58
S
13
G
10
Posts: 632
Reputation: 12,515

Post » Mon Oct 01, 2012 6:48 pm

This is an interesting question. I have noticed something that looks related to this.

I'm using solids of 16x16 to create obstacles in my game, and I noticed that, when stretching them in the level editor, their edges get blurry. This doesn't happen when running the game - only in the level editor.
B
107
S
40
G
10
Posts: 456
Reputation: 13,202

Post » Mon Oct 01, 2012 7:09 pm

'Pixel rounding' does not affect the editor.

The 'Sampling' property does affect the editor, but you must close and reopen the project for it to take effect.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Mon Oct 01, 2012 8:00 pm

Thanks Ashley, you`re correct of course :)

May I ask why the project needs to be reopened for this to take effect?

Thanks again for pointing me in the right direction, most appreciated.Zeus2012-10-02 09:11:27
B
35
S
4
G
8
Posts: 65
Reputation: 6,106


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests