Search found 2 matches

by n_dimensions
Mon May 27, 2024 5:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Python statement equivalent for the default statement
Replies: 4
Views: 325

Re: Python statement equivalent for the default statement

Uhm, I'm really interested, why exactly are you doing this? Well, python is not best known for information hiding and in Ren'Py you don't even get module (file) variable scope. So I'm packing everything in objects. This way I can get an okey'ish separation. Are you planning on writing the most cryp...
by n_dimensions
Sun May 26, 2024 6:03 pm
Forum: Ren'Py Questions and Announcements
Topic: Python statement equivalent for the default statement
Replies: 4
Views: 325

Python statement equivalent for the default statement

=== UPDATE === I've decided to give up the idea, once I've noticed that even if I make it work, replacing the original object in the namespace would lead to problems if I'd like to recreate the singleton, for example when updating the variables to the never version of the game. I'd still be interest...