Game Development Community

Text Object doesn't work ?

by Andriy Pidvirnyy · in iTorque 2D · 04/25/2011 (1:07 pm) · 3 replies

I try to use Text Object to show scores in my game, but text in editor looks very bad:

www.gamesreality.com/freegames/text_bug.jpg
And on device I don't see it at all.
I must use something else to show text ?
I can't find any info about using text in iTorque.

#1
04/25/2011 (3:08 pm)
I found this thread:

http://www.garagegames.com/community/forums/viewthread/45920

But, it doesn't work. When I try to use this code I receive this in log:

GFont::exportStrip - failed to open 'Impact 18.png' for writing.
#2
04/25/2011 (8:26 pm)
http://www.garagegames.com/community/forums/viewthread/125023

Use Conor's solution for now.
#3
04/26/2011 (12:32 am)
Ok, it works well.
But I want to use custom font.
Is there a way to import/export fonts to .png in other way ?
Or where the problem, why this code does not work?