When I go to draw an image to the screen, idk why, but it places the image higher than desired. Can someone tell me what i’m doing wrong with this?
Also, screen is a BufferedImage
Graphics g = this.screen.getGraphics();
Graphics2D g2d = (Graphics2D)g;
Graphics appG = getGraphics();
g2d = (Graphics2D) screen.getGraphics();
g2d.setColor(Color.white);
g2d.fillRect(0, 0, screen.getWidth(), screen.getHeight());
g2d.scale(3, 3);
for (Entity e:this.entities){
e.Draw(g2d);
}
g2d.setColor(Color.green);
//g2d.fillRect(10, 10, 100, 50);
appG.drawImage(screen, 0 , 0, screen.getWidth(),screen.getHeight(),null);