How do I use the same Font in multiple occurrences?

Get help using Construct 2

Post » Tue Jun 13, 2017 3:03 am

I have a spritefont that I want to use multiple times for items to illustrate how many of the same item the player has collected.

What is the proper use? Do I "Clone" each one, does that make a new image for each use in the game, taking up unneeded file size? Or do I target a font's UID object to reflect the variable of how many the player has collected? I don't want 25 spritefont clones of the same image. All numbers will be showing at the same time as in the picture below.

How would you output different variables using the same spritefont to different objects?

Thank you!
Posts: 18
Reputation: 361

Post » Tue Jun 13, 2017 3:31 am

Don't clone. Either use containers to marry the image/slot to the spritefont, or pick it through some means, UID, custom ID - it all depends on how else you've got things organized.
Posts: 3,761
Reputation: 138,073

Return to How do I....?

Who is online

Users browsing this forum: CreativeMind, Yahoo [Bot] and 22 guests