public void render(Graphics g)
	{
		g.setColor(Color.BLACK);
		g.fillRect(0, 0, Main.size.width, Main.size.height);
		g.setColor(Color.white);
		g.setFont(new Font(Font.SANS_SERIF, 2, 70));
		int cX = x;
		g.drawString(credits[0], Main.size.width/3, cX);
		cX +=firstPointD;
		g.setFont(new Font(Font.SANS_SERIF, 2, 30));
		g.drawString(credits[1],  Main.size.width/3, cX);
		cX += NameD;
		g.setFont(new Font(Font.SANS_SERIF, 2, 70));
		g.drawString(credits[2],Main.size.width/3, cX);
		cX +=firstPointD;
		g.setFont(new Font(Font.SANS_SERIF, 2, 30));
		g.drawString(credits[3],Main.size.width/3, cX);
		
		x--;
		if(x < -cX- Main.size.height-100)
		{
			Main.Screen = "menu";
		}
		
	}