Jump to content
  • Advertisement
Sign in to follow this  
BangorRipper

printing fonts

This topic is 4976 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 :)

Share this post


Link to post
Share on other sites
Advertisement
have now solved this:
just in case anyone doesnt know the basics like me:
String scoreString = Integer.toString(playerScore);
glPrint(scoreString);

Share this post


Link to post
Share on other sites
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 :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!