How do I prevent my pixels from blurring?

Just started using Construct 2? Post your questions here

Post » Tue Dec 08, 2015 9:01 pm

Basically my pixels look all blurred sometimes, like if i stand on a specific point and if i move tiny amounts like one pixel at a time my sprite will blur, at some point it will start de-blurring and then become clear again.
Like I'm basically standing almost on the same point but in the other picture i moved a bit and my sprite is blurred.

Image
Image

What is causing this and is it possible to prevent it? How?

Also like, what is generally the best idea how to set my project configuration settings? I want it to be fullscreen and still keep my pixels clear every time.

edit: just wondering; if this question doesn't get answered at what point should repost it outside of the beginner questions forum?
B
10
S
2
G
1
Posts: 51
Reputation: 858

Post » Wed Dec 09, 2015 9:30 pm

Hi, here is an excerpt from the "Project primitives > Projects" chapter of the manual that I think will answer your question:

Pixel rounding
By default Construct 2 objects can be drawn at sub-pixel positions, e.g. (100.3, 200.8). If the browser is using linear filtering, this can make fine pixel art appear blurry. If Pixel rounding is set to On, Construct 2 objects round their position to a whole number before drawing, e.g. (100, 201). This prevents any blurring, and can also prevent "seams" appearing on grids of objects. Note this does not affect their actual X and Y co-ordinates, which can still be between pixels - it only affects where they are drawn on the screen.


I hope this helps.
B
17
S
9
G
5
Posts: 74
Reputation: 4,145

Post » Thu Dec 10, 2015 8:52 pm

SimoneT wrote:Hi, here is an excerpt from the "Project primitives > Projects" chapter of the manual that I think will answer your question:

Pixel rounding
By default Construct 2 objects can be drawn at sub-pixel positions, e.g. (100.3, 200.8). If the browser is using linear filtering, this can make fine pixel art appear blurry. If Pixel rounding is set to On, Construct 2 objects round their position to a whole number before drawing, e.g. (100, 201). This prevents any blurring, and can also prevent "seams" appearing on grids of objects. Note this does not affect their actual X and Y co-ordinates, which can still be between pixels - it only affects where they are drawn on the screen.


I hope this helps.


Thank you this totally fixed it!
B
10
S
2
G
1
Posts: 51
Reputation: 858

Post » Fri Dec 11, 2015 9:02 pm

Ok, new question. However this time the blurring is being caused by zooming in...
I want my game to zoom in 200% whenever I have a dialogue and the box showing, this blurs my pixels again.
Is there anything I can do to prevent this?

I had a thought that I could just make all my art twice the size, as in draw everything with 4 pixels in a group instead of one, what i have now. But would this even work, since then I should make all my sprites half the size and I think that might blur it anyway??

Any input? Heh.

Here are screenshots;
Image
Image
B
10
S
2
G
1
Posts: 51
Reputation: 858

Post » Fri Dec 11, 2015 9:32 pm

Have you set in the 'configuration settings' Sampling to point? If not try if that helps.
B
24
S
3
G
1
Posts: 454
Reputation: 2,171

Post » Sat Dec 12, 2015 1:18 am

Ah, it worked! Thank you!
B
10
S
2
G
1
Posts: 51
Reputation: 858


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests