Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
It sorts the list in place, so it doesn't change any references. As a plus point it also works for lists that aren't directly referenced from the store. Like lists that are referenced by an objects field.
Human should be dancing
But without sorting containers this is not even remotely useful to me, even with containers, I run most of my game logic from python classes and very rarely use any variables in store save the reference to instances of those classes.
One thing that has improved my Ren'Py coding experience instantly was this:
xela wrote:But without sorting containers this is not even remotely useful to me, even with containers, I run most of my game logic from python classes and very rarely use any variables in store save the reference to instances of those classes.
You know I don't have the slightest idea what you're trying to say here. Could you rephrase perhaps?
But without sorting containers this is not even remotely useful to me, even with containers, I run most of my game logic from python classes and very rarely use any variables in store save the reference to instances of those classes.
Sorry, bad English. I meant to say that this is likely to be very useful to the original poster but it lacks ability to sort any iterables but lists.