Using MelonJS 5.1 (I cannot upgrade at this point), I'm creating a fairly large adventure game. My TMX map loaded fine until I added water tile layer:
https://i.imgur.com/i5kpTuc.png
https://i.imgur.com/BzsxXTn.png
At which point I started getting error: Texture cache overflow: 16 texture units available.
Error name is me.video.Error
Digging into the code, I see there is a max size for the Texture Cache:
validate : function () {
if (this.length &g