So I’ve been getting used to 2DToolkit for a while now and I have to say, it’s fantastic! the multi-platform asset support is a killer feature.
I don’t have any issue with 2DToolkit in regards to collections or animations, but I do have a bunch of questions and a dilemma. First the delima:
I am making a game that is a matching + bejeweled like game. You start out with a grid of donuts, as seen in Fig. 1. Once you tap on them they flip over to show a unique donut. When you get past the current level and go to the next, we add in more unique donuts (see: Fig. 2). We originally put the first 6 donuts in a single sprite collection, however now that we have many more to add in, we’re noticing that we’re going to run out of 4096x4096 for that collection.
1. Is there anything to gain from having all donuts in a single collection?
2. Would it make sense to have another collection with a bunch of other donuts in there? (keep in mind that all donuts will be used as time goes on)
3. Is there any problem in having every single donut animation in a single animation collection?
Also, we created unique prefabs for each donut, but realized that we should do object pooling. We’re thinking of using one prefab for the donut, and switching the collection/animations, but it brought up these questions
4. When we change the animation, it changed the sprites displayed. Is there even a reason to change the default collection programmatically?
5. am i going to dramatically increase the draw calls if i put each donut in their own sprite collection?
Below are screenshots to illustrate what I mean:
Fig. 1
Fig. 2