Howdy, Stranger!

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

Custom Font Numbers

dominiconlinedominiconline Posts: 5Member
edited August 2012 in Working with GS (Mac)
Im having a problem with Tshirtbooths tutorial on the custom font score, I've looked at the video countless times I'm going blind... i need an outside eye, and I've double checked every thing,

I have a main "score" integer which works and functions properly when using the display text behavior

My number pngs are all at the top of my images folder, and in order starting at zero to 9 and numbered, 1,2,3,4,5,6,7,8,9,

The "div" integer is there, as well as the "turn on" index.

The attribute is constrained "self.image" to "floor(( game.score % self.div )/( self.div /10))..".png" (i tried it without too)"

but still nothing, I also used the hide zero bit and that worked, the numbers show up in order they just don't change... i.e. they just stay as zero's so the other numbers aren't being called in correctly, I've checked it a loads of times with the tutorial from tshirtboothbut with still no change, just the zeros show up, but the game dosent call up any other numbers, the display text score works fine though... what am i missing?

Its the newest version of Gamesalad on the Mac, so the numbers don't have the ".Png" prefix...

Please can anyone point out why I'm being such a dumbass on this point :-)

Best regards


  • KiwiLeeKiwiLee Posts: 181Member
    edited August 2012
    check your images are not 1.png.png (Double click on image and it will appear in preview window with full name).

    Also double check you are using a CONSTRAIN ATTRIBUTE. Often people accidentally choose change attribute without realising. Well I did when I first did this example.
This discussion has been closed.