It can be helpful to highlight or otherwise mark text with a background. Thankfully we can do this entirely with config.
We'll work though some examples. To start, make a project.
To help you work through this tutorial, first create a new blank project using the init script.
We're going to follow a similar approach to text boundaries tutorial in this tutorial.
Let's change the default logo object into a text object.
[Object] Graphic = @ Text = @ String = The Old Gatekeeper is the guardian of Elvinwood. His eyes are becoming dim, and so the creatures come ever nearer. Smoothing = false Pivot = center Color = lightgray
In this form, the text formats like this:
Let's add a background color to the text. First, add a reference to the background object we're about to create in the [Object] section:
ChildList = ObjectBackground
Now we can define [ObjectBackground]:
[ObjectBackground] Graphic = @ Texture = pixel Color = darkblue Alpha = 0.6 UseParentSpace = scale Scale = 1 Position