Or should you try to use different instances of the same sprite font object? It's easier to just clone the same sprite font, but if there are hundreds of different texts you need to set up do you think it will start to use too much memory?
There's no difference for memory usage. You should use instances though, all UI is using the same font?
But if you have two different objects that is double the memory usage, correct? But if you have two instances of the same object, only one object is loaded and you save memory.
Develop games in your browser. Powerful, performant & highly capable.
Yes, duplicate objects will use more memory. This at least is true for Construct 2, in Construct 3 you can choose to "deduplicate images".
What do you mean by deduplicate images? I use Construct 3.
When exporting the game, there is an option "deduplicate images". I believe then objects with identical images will share the same image in memory.
Aah ok. That means it might indeed be irrelevant whether you use multiple clones of same images and sprite fonts or whether you try to limit the number of objects by avoiding cloning.