Advertisement

printing fonts

Started by March 01, 2005 03:56 PM
1 comment, last by BangorRipper 19 years, 11 months ago
have posted this in the java gaming forum so sorry if you use both :) How can i get the following to print glPrint(playerScore); if glPrint requires a string and playerScore is of type int the glPrint method is from lesson 13 of neHe's tutorials, the java code version thanks Danny :)
have now solved this:
just in case anyone doesnt know the basics like me:
String scoreString = Integer.toString(playerScore);
glPrint(scoreString);
Advertisement
has anyone else got the problem of the text form neHe's tutorials giving a balck background if placed on top of a background, looks really awful, does anyone know how to get rif of it, i tried commneting out the g.setBackground(TRANSPARENT_BLACK);
it still doesnt work!
any ideas
thanks :)

This topic is closed to new replies.

Advertisement