I'm making an RPG and want to store several attributes for the character, from Name to Experience Level, to current EXP, Strength, etc. I'm trying to determine which of the following ways is best:
- Array
- Sprite Instance Variables
- Dictionary Keys
- Global Variables
I'm afraid to start using a ton of Global Variables, because I know that list will get very long very soon, and the character will never actually appear on screen (therefore will never be destroyed, and will be global itself). What do you think? I'm still honestly struggling with Dictionary Keys, because if you don't declare on each layout, you'll have to go hunting for the value each time.