Possible Duplicate:
Is there a decent OpenGL text drawing library for the iPhone SDK?
I want to render text for my game score I use Texture2D as given below but I get only a white box instead of text
Texture2D* _textures = [[Textur开发者_运维技巧e2D alloc] initWithString:@"hedsfdsdssfsffsdsfllo" dimensions:CGSizeMake(200, 200) alignment:UITextAlignmentLeft fontName:@"Arial" fontSize:30];
[_textures drawAtPoint:CGPointMake(100, 100)];
glColor4f(1.0, 0.0, 1.0, 1.0);
any help please
I am not sure if it may help you but its worth a look.
Is there a decent OpenGL text drawing library for the iPhone SDK?
精彩评论