printing fonts
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);
just in case anyone doesnt know the basics like me:
String scoreString = Integer.toString(playerScore);
glPrint(scoreString);
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 :)
it still doesnt work!
any ideas
thanks :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement