Hello all.My exams are over and I can once again continue learning programming 
Well I got back to my messing around code , after having done the 2D asteroids tutorial form cokeandcode and from a spanish site , and now I am trying to make a simple ( the more simple the better) platform game.So messing around wth code I discovered that when I add an image ⦠really simple image the game goes really slow ⦠I mean with that image not loaded the playerās movement is ok and smooth but when I paint that image ⦠it goes really slow and the fps drop A LOT.
Maybe the way I do it is wrong ?
public void paintWorld()
{
Graphics2D g = (Graphics2D) strategy.getDrawGraphics();
g.setColor(Color.blue);
g.fillRect(0,0,getWidth(),getHeight());
ground = spriteCache.getSprite("ground.jpg");
player.paint(g);
//g.drawImage(ground , 0 , 690 , this); <---- with that one ..... the game goes slow as hell .. why is that ? :S
paintfps(g);
strategy.show();
}
I am 100% sure that the answer is really really simple ⦠but I am a real noob 
