Search found 3 matches
- Sun Feb 07, 2021 6:09 am
- Forum: Ren'Py Cookbook
- Topic: Change Theme Quickly
- Replies: 0
- Views: 1126
Change Theme Quickly
This is how I configured my GUI in Renpy with If statements. anywhere(only tested in screens.rpy though): init python: mytheme= "normal" in script.rpy: $mytheme ="activated" what you want to change if mytheme =="activated": (new code here) else: (old code here) or (old ...
- Sun Feb 07, 2021 5:27 am
- Forum: Ren'Py Cookbook
- Topic: Change textbox look several time during the game
- Replies: 2
- Views: 3856
Re: Change textbox look several time during the game
While this code works great for this case, changing the look of a textbox, I found that styles were not the most efficient way to change settings on the fly in the case of changing the theme of a game. In the case of changing the theme of a game, I have found it easier to run an if statement whereve...
- Thu Jan 14, 2021 2:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy.input for Phones
- Replies: 3
- Views: 2135
Re: Renpy.input for Phones
The relevant code from "SF-IO" is this line: show text "yay" at Position(xpos = 298, ypos=160, xanchor=0.5, yanchor=0.0) How I've got it working in Renpy 7.4 is: show text "{color=#FFF}{size=40} {font=my_custom_font.ttf}What would you like me to call you?{/font} {/size}{/col...