LWJGL Forum

Programming => OpenGL => Topic started by: NamelessPerson on May 10, 2012, 14:38:12

Title: Problems with Text
Post by: NamelessPerson on May 10, 2012, 14:38:12
Hey guys,

So for my game I was trying to display the score in a panel next to the main game. First I tried drawing a BufferedImage then converting it using Slick's BufferedImageUtil and then applying it as a texture. However when I drew to the image using Graphics, if I didn't use g.fillRect() then the whole screen went blank. And if I used g.setColor() it also changed the color of everything in the program. Then when I tried using TTF, the rest of the game didn't render.

Help?