[ui] Configuration
The [ui] section of your easel.toml configuration file can be used
to specify configuration related to the user interface.
Sharp
[ui]
sharp = true
The sharp parameter determines whether to preserve the pixelation of images in the user interface when scaling them up or down.
- A value of
truewill use nearest neighbor interpolation, which preserves the pixelation of the image. This can be used to make pixel art games. falsewill use linear interpolation, which smooths out the image when scaling.
This value simply sets the default for your game, but can be overridden on a per-element basis.
This only images in the user interface.
There is also a similar parameter for sprites - see [graphics] configuration.