Open puigru opened 4 years ago
To add to this, it would be amazing if the webmaster could set a variable that tells Ruffle to "allow smoothing" on all raster graphics, usually on games that were made before Flash had the feature and set it by default. Either on individual games or site-wide.
Flash content usually scales pretty well thanks to its 2D vector graphics capabilities. However, it often mixes that with the use of raster images which were often designed with smaller screen resolutions in mind. This results in pretty jarring scenes where high resolution vector graphics will be displayed next to stretched low resolution images.
Emulators that support internal resolution scaling for 3D games often run into this issue, where the scene for a game will look great but the UI elements, not so much. In order to alleviate this, they commonly allow the user to choose between different image scaling algorithms (bilinear, xBRZ..).
I believe Ruffle could benefit from such feature as well in the future. As opposed to a normal emulator, Ruffle itself handles what content is drawn, so it could potentially choose to selectively apply these filters to shapes that rely on raster graphics.