Hello, I am sort of new to Java so excuse me if this question is basic.
The problem is that I have a 2d Top Down game that I am making in which I am trying to draw text with g.drawString("Blah", 10, 10);, and when I put the code in the render method the game Lags on startup. Sometimes the game works after I click on it for a sec, other times I have to wait for it to load. The screen is completely blank for a few secs then finally renders (sometimes it is blank for a few mins).
Does anybody know based on what I have stated the reason behind the lag and how to fix it?
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
ScroogeXHTML 9.0 - RTF to HTML5 and XHTML converter