Search found 6 matches

by Tastymango
Thu May 17, 2018 12:25 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

Re: [solved] Creating dynamic user-generated buttons from an array

That did the trick!

Thank you so much xavimat. I'd be utterly stuck without your help.
by Tastymango
Thu May 17, 2018 12:00 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

Re: [solved] Creating dynamic user-generated buttons from an array

The abriged version of what I'm running is as follows: A complicated little engine produces a a unique random gen name, a couple tags are assigned and one ends up with chem_list=['Name',data,data,data,data] some lines of coding later this code assigns a user name saves the data for the Screen operat...
by Tastymango
Thu May 17, 2018 10:02 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

Re: [solved] Creating dynamic user-generated buttons from an array

I've got the "zoomout" error sometimes, when I forget that I'm using "i2" instead of "i" in the for loop line and use "i" inside the loop. OK, but I'm only using "i" and getting that error. Could you please expand on what's causing in and specifical...
by Tastymango
Thu May 17, 2018 8:00 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

Re: [solved] Creating dynamic user-generated buttons from an array

@xavimat I'm getting the weirdest error when using your code with image buttons: Here's my code derived from what you posted screen Chem_Database(): $ imb = 1 frame: yalign 10 text "Chemical Database" xpos 26 size 20 xsize 250 ysize 720 for i in (chem_n_list): $ imb += 1 imagebutton: idle ...
by Tastymango
Tue May 15, 2018 8:13 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

Re: Creating dynamic user-generated buttons from an array

Thanks everyone!
Previous failures experimenting with for loops to make dynamic menu options had me thinking that it would be the same with text buttons. Really glad to be wrong :D.
by Tastymango
Mon May 14, 2018 4:23 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] Creating dynamic user-generated buttons from an array
Replies: 11
Views: 2265

[solved] Creating dynamic user-generated buttons from an array

Hey all, I've been lurking on the forums for a while and managed to find a lot of great examples that have helped me past previous problems...right up till now. I so far have a nice working bit of code that creates a fictitious chemical, complete with randomly generated sciency name and a array of t...