I have 110 sprites, and the sprites are in “groups”. For instance, 9 consecutive sprites are 60 by 75, 10 consecutive sprites are 64, 80, etc…
Is there a better way of creating all of these tables by using a for loop or something similar? Creating 110 tables is unproductive, and making different sprite sheets for all of the character frames is also unproductive.
Any help would be greatly appreciated.
Apparently, this does not work:
local options = { { width = 43, height = 67, numFrames = 10 }, { width = 65, height = 83, numFrames = 10 } }
That would have been an easy way out…