public void renderFont(int a, int b, int xp, int yp, int color, float scale, SpriteSheet sheet){
		int size = sheet.SIZE;
		for(int y = 0; y < 8 * scale; y++){
			int ya = y + yp;
			for(int x = 0; x < 8 * scale; x++){
				int xa = x + xp;
				if(xa < -size || xa >= width || ya < 0 || ya >= height) break;
				if(xa < 0) xa = 0;
				int xs = (int) ((x / scale) + (a * 8));
				int ys = (int) ((y / scale) + (b * 8));
				int col = sheet.pixels[xs + ys * size];
				if(col != 0xffff00ff && col != 0xff7f007f){
					if(col == 0xff000000) pixels[xa + ya * width] = 0xff000000;
					else pixels[xa + ya * width] = color;
				}
			}
		}
	}