Hi,

how to clear bmp/sprites of the memory?

I use this function to generate sprites of the lib:



addSprite(j * tilesDim, i * tilesDim, "spr_" + root["tile_" + map][i][j], mcTile);