Variable In-App Purchase order and tables quandary!

GreenHavenGamesGreenHavenGames Member Posts: 62
edited October 2012 in Working with GS (Mac)
I have a free game that has "packs" that can be purchased separately, and in any order, to add more creatures. In the game there is a selector that changes your creature and scrolls through the purchased creatures. When it gets done with the list it goes back to the beginning of the list and allows you to infinitely change your creature choice.

I have actors that look at image names and sound FX in a table. As purchases are made it copies the new table adding to the potential images and sounds and updating the amount of images/sounds in the list based on the row count of the table.

It works fine. The problem that I am having is that depending on which packs are purchased will determine the order of the images and the sounds. So if I purchase "pack A" and then "pack C" My images will be in a different order than if I purchase "Pack C", then "pack A". The packs add five new creatures. How do I easily add more packs that can be purchased in any order?

I want this to be scaleable and logical. Maybe I am over thinking this, but has anyone run into this situation and come up with a clean solution to this?

If I need to add more detail to my question or clarify, please let me know.

thanks!
Sign In or Register to comment.