danilolc / pk2

Pekka Kana 2, a platformer game
http://pistegamez.net/game_pk2.html
MIT License
80 stars 24 forks source link

Pixelperfect scaling mode #23

Open kalan opened 1 year ago

kalan commented 1 year ago

This game has been designed with pixels in mind, so it might be appealing to look and play with sharp pixels. However, nearest-neighbor scaling mode results in a terribly uneven pixel grid, unless you carefully adjust the window size (every time).

Pixelperfect scaling mode works like nearest-neighbor, but it resizes the picture to the biggest possible integer multiple of its size.

There may exist a better name for that.