Cool thanks!Ocelot wrote:https://www.renpy.org/doc/html/label.ht ... -statementSo: jump expression locationIf the expression keyword is present, the expression following it is evaluated, and the string so computed is used as the label name of the statement to jump to.
Search found 105 matches
- Mon May 22, 2017 12:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simple interpolation question
- Replies: 5
- Views: 733
Re: Simple interpolation question
- Mon May 22, 2017 12:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simple interpolation question
- Replies: 5
- Views: 733
Simple interpolation question
I always get confused with interpolation. Lets say I have a variable name location. init python: location = 'bedroom' and I have a couple of labels label homeroom: scene homeroom $ location = 'homeroom' label hallwayOne: scene hallwayOne $ location = "hallwayOne" label englishClassroom: sc...
- Sun May 21, 2017 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to have dialogue in a screen.
- Replies: 3
- Views: 1375
Re: How to have dialogue in a screen.
If you mean to show the screen at the same time as the dialogue, then use "show screen" instead of "call screen". show screen GirlFellOver Set "modal" to "True" so player won't continue until imagebutton is clicked. Since we show the screen instead of call, d...
- Sat May 20, 2017 4:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to have dialogue in a screen.
- Replies: 3
- Views: 1375
How to have dialogue in a screen.
I have the following code: label grabmap: p "Everybody starts shuffling up from their desk." scene floor with vpunch call screen GirlFellOver p "oh no a girl fell over. What should i do? " # never happens screen GirlFellOver: imagebutton: idle "buttons/girlfellg.png" ho...
- Fri Jan 27, 2017 7:42 pm
- Forum: Creator Discussion
- Topic: Similar communities/forums/websites?
- Replies: 7
- Views: 2082
Re: Similar communities/forums/websites?
This is a great initiative! I'm always curious about where to meet creators and advertise one's project. For commissions, I know many artists use tumblr as their main/only platform, but not of any good commission promo blogs. Suggestions anyone? Yeah I've heard a lot about tumblr but I don't know h...
- Fri Jan 27, 2017 5:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu refusing to customize?
- Replies: 9
- Views: 2293
Re: Choice menu refusing to customize?
screen choice(items): style_prefix "menu_choice" window: style "menu_window" background None ### <---- add this xalign .5 yalign .7 And, to center buttons... vbox: style "menu" xfill True ## <--- add this spacing 20 for i in items: textbutton i.caption action i.action ...
- Fri Jan 27, 2017 5:15 pm
- Forum: Creator Discussion
- Topic: Similar communities/forums/websites?
- Replies: 7
- Views: 2082
Similar communities/forums/websites?
I wanted to make a running list of all of the other forums or communities that I know off that are similar to lemmasoft. Also feel free to add communities that relate to Visual novel building such as places to buy/commission art or writing. I'm going to list what I know and I hope everyone can add a...
- Fri Jan 27, 2017 5:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu refusing to customize?
- Replies: 9
- Views: 2293
Re: Choice menu refusing to customize?
You have to define background None for the window in the choice screen. Styles works like CSS, and inherit properties from default parents (in that given case, you have set a window background in old legacy options.rpy, right XD?) To know stuff, hover an element, press shit+I, then the element styl...
- Fri Jan 27, 2017 4:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu refusing to customize?
- Replies: 9
- Views: 2293
Re: Choice menu refusing to customize?
That still didn't work. Now just nothing appears. This is strange. Have you set "style_prefix" in "screen choice" to be "menu_choice"? screen choice(items): style_prefix "menu_choice" window: style "menu_window" xalign 0.5 yalign 0.5 vbox: for i in ...
- Fri Jan 27, 2017 12:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu refusing to customize?
- Replies: 9
- Views: 2293
Re: Choice menu refusing to customize?
That still didn't work. Now just nothing appears. This is strange.
- Fri Jan 27, 2017 1:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu refusing to customize?
- Replies: 9
- Views: 2293
Choice menu refusing to customize?
I am trying to customize my choice menu. I know this is a heavily asked question so I searched through the forums. There were mostly two solutions given. One, in the screens file screen choice(items): window: style "menu_window" xalign 0.5 yalign 0.5 init -2: $ config.narrator_menu = True ...
- Thu Jan 26, 2017 7:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Interpolation and variable names?
- Replies: 4
- Views: 622
Re: Interpolation and variable names?
Try this default zero_answer_list = ["A","B","C","D","E","F","G","H","I","J","K"] default one_answer_list = ["A","B","C","D","E","F&qu...
- Thu Jan 26, 2017 5:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Interpolation and variable names?
- Replies: 4
- Views: 622
Interpolation and variable names?
Let's say I have three lists default zero_answer_list = ["A","B","C","D","E","F","G","H","I","J","K"] default one_answer_list = ["A","B","C","D","...
- Thu Jan 26, 2017 3:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to do a question and multiple answers? akin to Huniepop
- Replies: 3
- Views: 1998
Re: How to do a question and multiple answers? akin to Hunie
Your initial idea should work fine. Renpy can construct menus out of lists. . . . . label start: $ rand_list = [] # reset rand_list $ testvar= renpy.random.choice(fixed_answer_list) # randomly choose element from fixed answer list to test $ generate_random_menu(testvar, testvar) # create random lis...
- Thu Jan 26, 2017 12:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is this the right way to set up screens?
- Replies: 7
- Views: 1065
Re: Is this the right way to set up screens?
SetVariable will work. Actual syntax puts the variable name in quotation marks. (Documentation is confusing on this issue.) action SetVariable("speaker", "bethany") I think that worked. Thank you. How do I use the variable now? Can I do Jump (speaker) instead of Jump ("beth...