tlaero wrote:I can also show you how to pack 32 "yes/no" variables into a single cookie. That's what I did in Keeley3. Maybe I'll add a Tutorial for it in the future.
I haven't looked at how you're actually doing this but assuming you're just using 0 and 1 to see if they variables are "set" etc, you won't really just have to limit it to those two "options".
You could use 0-9 just as easily, storage and reading wouldn't have to change just the checking of the variables.
Warning, theories and assumptions to follow :P
Assuming you just store 0 and 1 for the variables or even the 0-9 i suggested, it should work with far far more than just 32 per cookie.
If your creator tool (sorry, i've not actually looked at it to see how it does things) keeps track of all the variables use in the game, which i assume it does, you could have an array or similar for mapping and then store just the values of the variables in a very long "string" in the cookie.
This would really allow you to store over 4000 variables within a single cookie which would be quite a lot more than games is likely to need.
Your read and set var functions would just need to use the array to pick the correct offset in the cookie during the game play and in the game creation it would just be a simple matter of appending to the array.
Hopefully some of this is understandable and not just rambling
