In the documentation of FixedResolutionViewport
of Flame, it says that the color of the black border around the viewport (when it doesn't fit into the screen) is configurable (defaulted to black). I couldn't find a way to configure this color. Is there an example where this is being done?
From the documentation:
So for example, if the viewport happens to be the same ratio of the screen, it will resize to fit 100%. But if they are different ratios, it will resize the most it can and then will add black (color is configurable) borders.