Search found 107 matches
- Tue Aug 23, 2011 9:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting list variable with screen language
- Replies: 10
- Views: 1857
Re: Setting list variable with screen language
I think I've tried it as both! Like this: label start: $ selected = [True, True, True, True, True, True, True, True, True] call screen pick5 screen pick5: for i in range(9): if selected[i]: imagebutton idle "backsm.png" hover "backsm2.png" action [ToggleScreenVariable("selected[i]"), SetVariable("ca...
- Mon Aug 22, 2011 8:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting list variable with screen language
- Replies: 10
- Views: 1857
Re: Setting list variable with screen language
Okay. Changing it to this:
Gave me this:
T-T
Code: Select all
ToggleScreenVariable("selected[i]")Code: Select all
KeyError: 'selected[i]'- Mon Aug 22, 2011 7:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Setting list variable with screen language
- Replies: 10
- Views: 1857
Setting list variable with screen language
I feel like I've been asking a lot of questions lately, but I'm trying to figure out screen language, so I have to say I'm really grateful for all the people who take time to help out. :D So. I have a list of nine variables, all set to 'True'. I also have nine imagebuttons. When one of these imagebu...
- Sun Aug 21, 2011 5:39 pm
- Forum: Completed Games
- Topic: CRS Escape! Ludum Dare #21 Project
- Replies: 11
- Views: 5746
Re: CRS Escape! Ludum Dare #21 Project
Agggh, I keep drowning before I can turn into a shark...(I assume it's a shark).
Interesting game though. And especially good considering the time constraints.
Interesting game though. And especially good considering the time constraints.
- Sun Aug 21, 2011 4:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Possible to make imagebutton that can only be clicked once?
- Replies: 4
- Views: 688
Re: Possible to make imagebutton that can only be clicked on
^ THIS. *why couldn't I figure that out >.<*SleepKirby wrote:And here's a non-clickable button:Code: Select all
button action None
And thanks so much for the example code, I'm not too experienced with functions, but I'll experiment with it and see what I can do.
- Sun Aug 21, 2011 1:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: Possible to make imagebutton that can only be clicked once?
- Replies: 4
- Views: 688
Re: Possible to make imagebutton that can only be clicked on
Hmm, that would work, but I'm trying to avoid having to make a separate variable for each imagebutton. I guess I'm really trying to figure out if imagebuttons have an inherent property that stores whether or not they can be clicked. In the description of their properties, it says you can specify an ...
- Sat Aug 20, 2011 11:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Possible to make imagebutton that can only be clicked once?
- Replies: 4
- Views: 688
Possible to make imagebutton that can only be clicked once?
I mean, do imagebuttons have a property that defines the number of times they can be clicked or something similar?
I'm going to have about nine in a row, and I want each of them to be unclickable after they've been clicked once.
Is this even something within the realm of possibility?
I'm going to have about nine in a row, and I want each of them to be unclickable after they've been clicked once.
Is this even something within the realm of possibility?
- Tue Aug 16, 2011 2:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Timer won't take list of actions
- Replies: 1
- Views: 438
Timer won't take list of actions
I want to change two variables at once. It's something that works with a textbutton: textbutton "Move" action [SetScreenVariable("xx", renpy.random.randint(50, 750)), SetScreenVariable("yy", renpy.random.randint(50, 550))] But with a timer... timer 1.0 action [SetScreenVariable("xx", renpy.random.ra...
- Mon Aug 15, 2011 5:10 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can _return be used for a numerical value?
- Replies: 3
- Views: 409
Re: Can _return be used for a numerical value?
Aha! One learns something new everyday. Thanks guys!
- Mon Aug 15, 2011 3:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Can _return be used for a numerical value?
- Replies: 3
- Views: 409
Can _return be used for a numerical value?
Logic would say yes, but I can't seem to get it to work, and all the examples I've found return strings, not numbers. Here's the code. All I'm trying to do is get the program to add one to a number every time a key is pressed. (It was supposed to be a simple little thing T-T) screen press_a_counter:...
- Sat Aug 13, 2011 1:03 pm
- Forum: Old Threads (– September 2014)
- Topic: Editor Needed for Short Project
- Replies: 4
- Views: 474
Re: Editor Needed for Short Project
..erherm, does that mean you're willing to edit?
Are you also willing to be brutal? I don't want any coddling, now.
Are you also willing to be brutal? I don't want any coddling, now.
- Fri Aug 12, 2011 6:32 pm
- Forum: Old Threads (– September 2014)
- Topic: Editor Needed for Short Project
- Replies: 4
- Views: 474
Editor Needed for Short Project
Hello. I've got a short (seriously, all the paths together don't add up to even 6,000 words) VN story that I've been trying to self-edit to the point where I think it's time to get the opinion of an outsider. I'm mostly looking for someone who will advise me on where the plot/characters need more de...
- Fri Aug 05, 2011 5:19 pm
- Forum: Completed Games
- Topic: Dusk ~A Moonlight Romance~ (KN)
- Replies: 44
- Views: 61280
Re: Dusk ~A Moonlight Romance~ (KN)
"Tall Glass of Chocolate Milk"
I lol'ed.
I lol'ed.
- Thu Aug 04, 2011 9:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Changing the textbox based on a variable?
- Replies: 4
- Views: 675
Re: Changing the textbox based on a variable?
Oh! Aha! ConditionSwitch works! Thanks so much, SleepKirby!
- Tue Aug 02, 2011 10:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Request
- Replies: 2
- Views: 405