custom number fonts
rab127
Member, PRO Posts: 47
Hi
I need a second custom font to display numbers.
For the first one I used a constrain attribute with; self.image to game.points%10, and floor(game.points/10)%10.
The files are 0.png ... to 9.png
How do I set up the second font that has a filename prefix?
The files are y.0.png to y.9.png.
I've tried "y"..game.points%10..".png" and it doesn't work.
Any suggestions?
Comments
You are missing the '.' at the end of the 'Y'.
Yep, you need "y."..game.points%10
The ..".png" at the end is optional.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks guys! That's what I was missing.