Search found 103 matches
- Fri Apr 01, 2022 7:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Call python function through textbutton
- Replies: 4
- Views: 438
Re: Call python function through textbutton
You want to give the button an "action Function(...)" https://www.renpy.org/doc/html/screen_a ... l#Function
- Wed Mar 23, 2022 2:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Renaming label Dicts and undefined crash
- Replies: 3
- Views: 373
Re: Renaming label Dicts and undefined crash
If I understood the question correctly, you can probably try replacing the condition with checking if the value exists in the dict, "if label_callback in Labels:"
- Mon Mar 21, 2022 4:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: One Time use Cheat Inputs
- Replies: 4
- Views: 373
Re: One Time use Cheat Inputs
Follow the code from top to bottom and you'll understand why it doesn't work. You are checking the input result first, and then checking Check_Money, you want it the other way around. Also, you may want to use "and", "or", "elif" in these conditions: if renpy.input == &...
- Tue Mar 01, 2022 8:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to change alpha on layeredimage as a whole image?
- Replies: 8
- Views: 832
Re: How to change alpha on layeredimage as a whole image?
Hmm.. Did you try the second option, defining it with a layered image proxy yet?emz911 wrote: ↑Sun Feb 27, 2022 3:30 pmCode: Select all
If referencing the layered image directly doesn't work, try proxying again: image cSebastian_flat = Flatten(LayeredImageProxy("cSebastian"), Transform(alpha=0.5))
- Sun Feb 27, 2022 3:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to change alpha on layeredimage as a whole image?
- Replies: 8
- Views: 832
Re: How to change alpha on layeredimage as a whole image?
Okay, looking at the link you've posted, flatten seems like it could work. It's under displayables, meaning you should define it like defining any other image displayable. Haven't tried it out yet, but it should be something close to: image cSebastian_flat = Flatten("cSebastian", Transform...
- Sat Feb 26, 2022 6:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How to change alpha on layeredimage as a whole image?
- Replies: 8
- Views: 832
Re: How to change alpha on layeredimage as a whole image?
Try defining the image as a layered image proxy, then give it an alpha transform. layeredimage cSebastian: ... image cSebastian_temp = LayeredImageProxy("cSebastian", Transform(alpha=0.5)) label start: show cSebastian_temp # or whatever you rename it to If you want to use it with different...
- Mon Jan 17, 2022 2:03 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] restart_interaction() refreshes music
- Replies: 9
- Views: 458
Re: restart_interaction() refreshes music
Why not play the music before you show the screen? For example in a label before the call screen part, Or anything that separates the music from the screen should work
- Mon Jan 17, 2022 1:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Screen language action to hide imagebutton
- Replies: 1
- Views: 273
Re: Screen language action to hide imagebutton
Give the imagebutton a condition:
Then the image button will only show up according to the variable condition, and you can set variable with Action
Code: Select all
screen whatever():
if some_variable == True:
imagebutton ""...
- Thu Oct 21, 2021 2:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: Error 183 on quicksave
- Replies: 3
- Views: 388
Re: Error 183 on quicksave
next time that errors shows up press the bbcode button and then paste it here Another solution would be to get the player to send the traceback.txt file For an answer to the issue though, it looks to be a permissions error - the user doesn't have the required permissions to modify the save file. Ar...
- Wed Oct 20, 2021 2:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Error 183 on quicksave
- Replies: 3
- Views: 388
Error 183 on quicksave
Hi! Does anyone know how to solve and prevent [Error 183] when quick-saving? Seems like it has to do with unable to create an already existing file, but I couldn't find a solution to avoiding it. This error isn't common, only one user has reported this, and it is ignorable. Any help would be appreci...
- Thu Sep 16, 2021 12:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Merge two persistent files?
- Replies: 2
- Views: 396
- Tue Sep 14, 2021 12:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Merge two persistent files?
- Replies: 2
- Views: 396
Merge two persistent files?
Hi! I moved a project into a new project folder and updated my game on Steam, resulting in my users' lost of persistent "read text" from the old version (they cannot skip read text anymore, but all other persistent variables are saved fine). A friend on Discord told me that to retrieve the...
- Fri Aug 20, 2021 2:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Item Pop-up Notification Help?
- Replies: 8
- Views: 1151
Re: Item Pop-up Notification Help?
Just to add to the other answers, you can use a timer with an action Hide("yourscreen") in the screen so that you won't have to copy and paste the pause and hide screen lines every time you show the screen. See: https://www.renpy.org/doc/html/screens.html#timer
- Fri Aug 20, 2021 1:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automated Transforms
- Replies: 1
- Views: 725
Re: Automated Transforms
You might want to look into character callback: https://www.renpy.org/doc/html/characte ... -callbacks
Something similar for your reference: viewtopic.php?t=61319
Something similar for your reference: viewtopic.php?t=61319
- Thu Aug 19, 2021 2:38 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Label ignores screen and automatically selects imagemap options [Solved]
- Replies: 2
- Views: 689
Re: Label ignores screen and automatically selects imagemap options
You need to
instead of
Use call if you want to force an interaction (pause the game at the screen). Show allows it to appear while continuing to the next line, you don't have a next line after show screen therefore it continues out of the label.
Code: Select all
call screen bedroom
Code: Select all
show screen bedroom