- Jun 11, 2020
- 59
- 130
I've listened to everyone's advice and switched to renpy for that game I'm making. And thus far I've made quite a bit more progress than I had with kivy in terms of just functionality. But now I need to know before I go much further, what should I use to store large numbers of randomly generated characters?
My characters (just male ones for now) are simply a class with objects and subclasses with more objects to describe everything about them. I've got the character generation down but now I need to store them all after they've been generated. I've been using dictionaries for that but feels somewhat convoluted with how dictionaries are in python with more than simple key value pairs. And renpy doesn't seem particularly friendly to it either with how many issues I've had in getting the dictionaries to even work. I've heard ren'py has a "store" function for this and I'm wondering what that is and whether I should or can use that. Can anyone who has experience with this sort of thing recommend something?
My characters (just male ones for now) are simply a class with objects and subclasses with more objects to describe everything about them. I've got the character generation down but now I need to store them all after they've been generated. I've been using dictionaries for that but feels somewhat convoluted with how dictionaries are in python with more than simple key value pairs. And renpy doesn't seem particularly friendly to it either with how many issues I've had in getting the dictionaries to even work. I've heard ren'py has a "store" function for this and I'm wondering what that is and whether I should or can use that. Can anyone who has experience with this sort of thing recommend something?