How to make custom fonts work

Hello,
I’ve made some .png files and each is a number 0-9. I was trying to use Peach Pellen’s score tutorial because it allowed me to use my images. I’ve hit many errors and I’m really hoping you can help because Peach couldn’t find anything wrong but she did help as much as she could :). Here’s the link: http://techority.com/2011/01/26/how-to-add-a-score-to-your-iphone-app/

I dropped score.lua into my folder and puled the code from main.lua and I get errors. I’m posting the errors of the code. I tried it without changing anything and then started deleting code to figure it out.

/Desktop/Adam’s Apple – Fixed/L25.lua:41: attempt to call field ‘getInfo’ (a nil value)
and then I delete that line of code and then…
/Desktop/Adam’s Apple – Fixed/L25.lua:42: attempt to call field ‘init’ (a nil value)
and then I delete that line of code and then…
/Desktop/Adam’s Apple – Fixed/L25.lua:43: attempt to call field ‘setScore’ (a nil value)

So I’m getting a lot of errors and I don’t know why. I deleted the parts of the code to see if it was just one part but it wasn’t. Also, I didn’t modify anything in score.lua so it shouldn’t be a problem there.

I know it’s working for some people but I can’t for the life of me figure out why it’s not for me. Let me know if you need to see some of my code. I used all the code from main.lua and dropped the score.lua into my project folder [import]uid: 59140 topic_id: 20072 reply_id: 320072[/import]

You have strange characters in your path to the document. I can’t tell if this is the problem, but you could try to change the folder name “Adam’s Apple – Fixed”, to see if it works better.

Joakim [import]uid: 81188 topic_id: 20072 reply_id: 78385[/import]

I don’t think that’s quite it, though I did try it. Thank you!
It’s so confusing! [import]uid: 59140 topic_id: 20072 reply_id: 78389[/import]

Hey Danny, you might get more answers with a different title as this isn’t actually a custom font, it’s using images for the score. A custom font is using a custom font to display text (numbers).

I’m sorry this is still causing you issues - for the life of me I can’t see why it wouldn’t work.

Did you consider using a custom font instead? [import]uid: 52491 topic_id: 20072 reply_id: 78453[/import]