Search found 12 matches

by willyelektrix
Thu Apr 14, 2022 9:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing Choice Menu Style WIth Flag
Replies: 3
Views: 391

Re: Changing Choice Menu Style WIth Flag

screen choice(items): style_prefix "choice" vbox: if len( items ) > 3: # You can use multichoice variable if you want to style_suffix "vbox_narrow" for i in items: textbutton i.caption action i.action This did the trick! Thank you so much for your help. I understand the screens....
by willyelektrix
Tue Apr 12, 2022 10:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing Choice Menu Style WIth Flag
Replies: 3
Views: 391

Changing Choice Menu Style WIth Flag

Most of the choice menus in my game only have 2-3 options, and I have styled them in screens.rpy to look good with up to 3 options. However, for one menu, I want to have 8 options. Is there a way I can style the choice menu screen to look different, but only in this one instance? I tried including a...
by willyelektrix
Thu Nov 26, 2020 12:05 pm
Forum: Ren'Py Questions and Announcements
Topic: creating new text box styles
Replies: 3
Views: 433

Re: creating new text box styles

you can use ConditionSwitch for this Ok, you just need to create a new speaker, and add different properties in the definition. I knew there were several ways to do this. Thanks for spelling it out for me. I don't have time to test today but I'll implement it this weekend! Thanks again to both of y...
by willyelektrix
Wed Nov 25, 2020 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: creating new text box styles
Replies: 3
Views: 433

creating new text box styles

For most of my game, I have text boxes on the bottom third of the screen (like how most Renpy games are by default). However, during the intro, I want to create a text box style where the box is centered in the middle of the screen. How would I got about doing this? It seems like it would be simple ...
by willyelektrix
Mon Nov 23, 2020 9:39 pm
Forum: Ren'Py Questions and Announcements
Topic: python variable delay
Replies: 7
Views: 661

Re: python variable delay

Have you tried defaulting your variable instead of defining them like in my example code? Defaulted variables are kept during rollbacks/save/load. Defined variables are meant to be constant, once declared they should not be modified while in-game. Thanks! That solved my problem! Ok, now mind that e...
by willyelektrix
Sat Nov 21, 2020 11:42 pm
Forum: Ren'Py Questions and Announcements
Topic: python variable delay
Replies: 7
Views: 661

Re: python variable delay

I created a small test game as an example. This is my whole script file... define stat1 = 0 define stat2 = 0 define stat1percentage = 0 define stat2percentage = 0 screen stats(): tag menu use game_menu(_("Stats"), scroll="viewport"): style_prefix "Stats" python: if stat...
by willyelektrix
Sat Nov 21, 2020 10:42 pm
Forum: Ren'Py Questions and Announcements
Topic: python variable delay
Replies: 7
Views: 661

Re: python variable delay

Hey! Thanks for your help! > I deleted the persistent and force recompiled. No change. > I used a float variable. This didn't seem to resolve the issue either. Here is a video I recorded. After each choice, "Stat1" or "Stat2" increases by 1. https://youtu.be/Ssw5I5fFL-8 At 13 sec...
by willyelektrix
Sat Nov 21, 2020 7:22 pm
Forum: Ren'Py Questions and Announcements
Topic: python variable delay
Replies: 7
Views: 661

python variable delay

Hello all! I'm trying to make a stats screen that the player opens from the main menu. The menu shows two stats (stat1 and stat2) which appear as a percentage. I got this figured out pretty easily, but I'm running into a weird bug. Throughout the game, the stat1 and stat2 variables are changed with ...
by willyelektrix
Sun Aug 09, 2020 3:58 pm
Forum: Ren'Py Questions and Announcements
Topic: Text Formatting: Line Breaks
Replies: 3
Views: 287

Re: Text Formatting: Line Breaks

Thanks for this!
by willyelektrix
Sun Aug 09, 2020 3:57 pm
Forum: Ren'Py Questions and Announcements
Topic: If Statements With Variables
Replies: 2
Views: 271

Re: If Statements With Variables

Excellent. I'll try this out. Thanks!

Thanks for the reference material too!
by willyelektrix
Sun Aug 09, 2020 1:49 pm
Forum: Ren'Py Questions and Announcements
Topic: If Statements With Variables
Replies: 2
Views: 271

If Statements With Variables

I'm still learning the Ren'Py and Python syntax. Here's what I'm struggling to do currently. I want to use an IF statement to check what a variable equals. I tried variations on the example below, but I wouldn't figure out how to make it work. Also, is there a good overview somewhere on working with...
by willyelektrix
Sun Aug 09, 2020 1:43 pm
Forum: Ren'Py Questions and Announcements
Topic: Text Formatting: Line Breaks
Replies: 3
Views: 287

Text Formatting: Line Breaks

Hello! I'm a new Ren'Py user. I have a few questions relating to text space and formatting. Is there a way to show dialogue statements in a single window? In the example below, those lines would appear in separate boxes. How do I make them appear together? you "What's up?" me "Not muc...