The array format for the sprites will be as follows:var wallTextures = 4;
var spriteData = [[8,1,0.588,0,0],[1,1,0.588,0,0],[1,1,0.980,0.980,0.980],[1,1,0.980,0.980,0]];
var spriteCoords = [[10,4,0],[3,9,0],[5,14,0],[12,14,0],[21,8,0],[27,3,0],[32,21,0],[2,21,0],[22,1,1],[21,21,1],[19,21,1],[23,21,1],[25,21,1],[3,1,2],[24,1,2],[1,15,2],[24,10,2],[26,12,2],[6,3,3],[10,10,3],[18,1,3]];The spriteData array holds data about the sprite types in this order: KeyFramesX, KeyFramesY, Red, Green, Blue.
The SpriteCullMap array could be populated from the spriteCoords array during the startUp function.
The spriteCoords array holds data about sprite coordinates in this order: xPosition, yPosition, spriteType.
I'll add the NOSPRITES variable to the output too.
The map builder currently populates the spriteData array, but not the spriteCoords. I should have this done in the next day or two if my meetings don't over run.