Search found 103 matches

by emz911
Wed Mar 23, 2022 2:55 pm
Forum: Ren'Py Questions and Announcements
Topic: Renaming label Dicts and undefined crash
Replies: 3
Views: 271

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:"
by emz911
Mon Mar 21, 2022 4:45 pm
Forum: Ren'Py Questions and Announcements
Topic: One Time use Cheat Inputs
Replies: 4
Views: 287

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 == "Add Money" or renpy.input == "...
by emz911
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: 477

Re: How to change alpha on layeredimage as a whole image?

emz911 wrote:
Sun Feb 27, 2022 3:30 pm

Code: Select all

If referencing the layered image directly doesn't work, try proxying again:

image cSebastian_flat = Flatten(LayeredImageProxy("cSebastian"), Transform(alpha=0.5))
Hmm.. Did you try the second option, defining it with a layered image proxy yet?
by emz911
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: 477

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(alpha=0.5...
by emz911
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: 477

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 transform...
by emz911
Mon Jan 17, 2022 2:03 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] restart_interaction() refreshes music
Replies: 9
Views: 298

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
by emz911
Mon Jan 17, 2022 1:13 am
Forum: Ren'Py Questions and Announcements
Topic: Screen language action to hide imagebutton
Replies: 1
Views: 217

Re: Screen language action to hide imagebutton

Give the imagebutton a condition:

Code: Select all

screen whatever():

     if some_variable == True:
          imagebutton ""...
Then the image button will only show up according to the variable condition, and you can set variable with Action
by emz911
Thu Oct 21, 2021 2:01 am
Forum: Ren'Py Questions and Announcements
Topic: Error 183 on quicksave
Replies: 3
Views: 305

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...
by emz911
Wed Oct 20, 2021 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Error 183 on quicksave
Replies: 3
Views: 305

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...
by emz911
Thu Sep 16, 2021 12:42 am
Forum: Ren'Py Questions and Announcements
Topic: Merge two persistent files?
Replies: 2
Views: 315

Re: Merge two persistent files?

PyTom wrote:
Tue Sep 14, 2021 6:00 pm
You can try putting one in %APPDATA%, and one in game/saves, and Ren'Py should merge them.
I'll try that! You're the best ;)
by emz911
Tue Sep 14, 2021 12:00 am
Forum: Ren'Py Questions and Announcements
Topic: Merge two persistent files?
Replies: 2
Views: 315

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 read text...
by emz911
Fri Aug 20, 2021 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Item Pop-up Notification Help?
Replies: 8
Views: 1012

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
by emz911
Fri Aug 20, 2021 1:18 am
Forum: Ren'Py Questions and Announcements
Topic: Automated Transforms
Replies: 1
Views: 655

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
by emz911
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: 609

Re: Label ignores screen and automatically selects imagemap options

You need to

Code: Select all

call screen bedroom
instead of

Code: Select all

show screen bedroom
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.