Skip to content

Blurry fullscreen in games with set "nearest" default filtering #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JasonNumberThirteen opened this issue Mar 27, 2021 · 3 comments
Closed

Comments

@JasonNumberThirteen
Copy link

Hi, again!
It seems that "Love2D" project on HTML5 doesn't respect filtering set to "nearest" when I press "Go Fullscreen" button. Checked Chrome, Firefox and Edge browsers. All of them give "blurry" fullscreen. Do I need to add some additional instructions or it isn't supporting "nearest" default filter intended for pixel art games?

@Davidobot
Copy link
Owner

You probably need to set your resize flag to true and update your internal resolution to match the resolution when going fullscreen (as in, called via love.resize). As you would need to do with standard games on desktop when going fullacreen.

@JasonNumberThirteen
Copy link
Author

But when I press Esc, I have rescaled game to entire page! It doesn't return to the previous resolution. Is this another issue?

@Davidobot
Copy link
Owner

Correct! #4

I'll close this issue now as a duplicate :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants