[ui] Configuration
The [ui] section of your easel.toml configuration file can be used
to specify configuration related to the user interface.
Font
[ui]
stroke = "#000000"
textShadow = "#000000"
stroke(Boolean or Color) determines whether to draw a stroke around text in the user interface, and what color to use for that stroke.textShadow(Boolean or Color) determines whether to draw a shadow behind text in the user interface, and what color to use for that shadow.
Example of how to turn off both stroke and text shadow in the user interface:
[ui]
stroke = false
textShadow = false
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.