I'm learning to use Construct 3, and using Sprite Fonts for the first time to create custom fonts, I had a doubt regarding the optimization of these objects (I would like to use them in the best possible way avoiding unnecessary actions).
I've noticed that at the creation of each SpriteFont object, it is necessary to load an associated sprite, and insert all the necessary data so that Construct can obtain the font from the loaded font grid.
If I want to create multiple text objects with different font properties (e.g. color, spacing, size etc.), I have to load the same sprite multiple times, and I think Construct has to recalculate the font from the loaded sprite each time.
To avoid this "waste" of memory, I thought of creating a single object, and using events to create a new instance and add a different text each time. In this way I could use a single SpriteFont object, but I don't know if this is a good solution since in the various tutorials I've seen, a different text object is used for each text in the game.
That said, I would like to ask you more experts what is the best method to work with SpriteFonts.
For example, if I have to create several SpriteFont objects, is it advisable to load font sprites containing only the necessary characters in order to "lighten" to Construct the work necessary to build the font? Or are there no problems in selecting and assigning the usual sprite containing all the characters?
Do you have advices or indications to give me to use in the best way the SpriteFont?
Thanks! :)