Search found 3 matches

by peach_light
Thu Apr 11, 2024 1:40 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved!] Name Generator generating twice?
Replies: 5
Views: 311

Re: Name Generator generating twice?

The whole thing seems wildly overengineered, tbh. define mc = DynamicCharacter("mc_name") default names = ["Eisley","Romi","Arianwen","Elvira","Belphoebe","Etol","Aralueni","Morag","Ottoline","V...
by peach_light
Thu Apr 11, 2024 12:01 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved!] Name Generator generating twice?
Replies: 5
Views: 311

Re: Name Generator generating twice?

Screens should not have any side effects in their code. Screen code is run multiple times during prediction and every time screen refreshes (basically, when anything happens) and can be executed with any parameters, including those you never tried to pass. In short, move random name generation and ...
by peach_light
Wed Apr 10, 2024 3:03 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved!] Name Generator generating twice?
Replies: 5
Views: 311

[Solved!] Name Generator generating twice?

Hello wonderful friends of the LemmaSoft Forum!! I come bearing a request for assistance regarding my code. The name gen I have works great! Managed to get it to fill the input field, but after jumping to the next scene, it generates a whole new name >:( Here's a preview of the code in action: http...