Problems with Text

Started by NamelessPerson, May 10, 2012, 14:38:12

Previous topic - Next topic

NamelessPerson

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?