public void renderWidthInvisColor(int xp, int yp, Sprite sprite, int color) {
		int w = sprite.getWidth();
		int h = sprite.getHeight();
		for (int y = 0; y < w; y++) {
			for (int x = 0; x < h; x++) {
				int col = sprite.getPixel(x + y * w) & 0xffffff;
				if (color != col)
					pixels[(x + xp) + (y+yp) * width] = col;
			}
		}
	}