Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

using images instead of numbers

Anyone know if theres a way of using images instead of text for numbers... for single digits its straight forward - from 0 to 9 - you can have an image called "0.png" , "1.png" "2.png" etc... and constrain self.image to a number attribute.

My question is for double digit, triple digit numbers etc... is there a way of combining the single digit images to form a number.
For example for number 15 - you could use the "1.png" image and the "5.png" image.

If you had a large score like 7560 - you wouldn't want to manually create thousands of number images.

tbh I have no idea if its possible but just asking in case!


  • bob loblawbob loblaw Posts: 349Member, PRO

    it is possible, and you would only need to create one unlocked instance of your score actor for each digit (so four for the example you used). there is a video from gshelper/t-shirt booth on youtube (or was, not sure if it’s still there) showing how to use constrain and div to get what it sounds like you want.

  • AlkaPPAlkaPP Posts: 194Member, PRO

    Look for the tutorial called custom fonts

    My Gamesalad Games On App Store:

    Greedy Chubby:

  • tatiangtatiang Posts: 11,815Member, Sous Chef, PRO, Senior Sous-Chef

    Yep, there are many tutorials on this. Just add the word gamesalad to the search terms and you'll find what you need.

    The practice of using images is a bit outdated now that any font can be added to a GameSalad project but if you need to do it, you still can.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • MusicBoutiqueMusicBoutique Posts: 100Member

    Great thanks - I was indeed able to find some videos! I realise its outdated now we can use custom fonts.
    Just for context... I have a bunch of apps built from phone resolution. they all expand very nicely to tablet size... as the images all have high enough res.
    Except the score/text that gets blurry. so instead of resizing all my apps this old school method will actually be very helpful!

Sign In or Register to comment.