Search found 123 matches

by jeffster
Fri Apr 08, 2022 3:24 am
Forum: Ren'Py Questions and Announcements
Topic: Remove/Disable Menu top left corner on renpy web version
Replies: 1
Views: 261

Re: Remove/Disable Menu top left corner on renpy web version

You probably can use "renpy.variant()": https://www.renpy.org/doc/html/screen_python.html#renpy.variant In the screen it could be: screen save_menu(): if not renpy.variant("web"): button: So if renpy.variant("web") then that screen remains empty. Or checking if you would show the screen: if not renp...
by jeffster
Thu Apr 07, 2022 10:41 am
Forum: Ren'Py Questions and Announcements
Topic: Can't get my fullscreen movie to work
Replies: 7
Views: 352

Re: Can't get my fullscreen movie to work

Well the code itself is correct. My clips (VP8 / webm) play no problem.
by jeffster
Thu Apr 07, 2022 10:19 am
Forum: Ren'Py Questions and Announcements
Topic: In the music room, the progress bar controls the playing time of music
Replies: 6
Views: 403

Re: In the music room, the progress bar controls the playing time of music

In my games I tried to use AudioPositionValue, but it seems that it freezes sometimes. So I ended up creating my own creator-defined displayables (CDD): https://www.renpy.org/doc/html/cdd.html One was to replace AudioPositionValue: class SeekableBar(BarValue): def __init__(self): pos = renpy.music.g...
by jeffster
Thu Apr 07, 2022 4:21 am
Forum: Ren'Py Questions and Announcements
Topic: Can I get rid of my custom menu in the save/load thumbnail?
Replies: 3
Views: 320

Re: Can I get rid of my custom menu in the save/load thumbnail?

To set the "file slot" buttons, standard Ren'Py projects use

gui/button/slot_idle_background.png
gui/button/slot_hover_background.png

and file "gui.rpy", see "File Slot Buttons" section there.
by jeffster
Wed Apr 06, 2022 9:32 pm
Forum: Ren'Py Questions and Announcements
Topic: How to code a Next/Previous button on image gallery
Replies: 4
Views: 345

Re: How to code a Next/Previous button on image gallery

That's my pleasure. join(()) is a proper way in Python to concatenate (join) strings together. You could do the same with "+", but in Python by some reason "adding" strings together is not that efficient. More memory and time is needed, even though the difference is not that huge. You can read more ...
by jeffster
Wed Apr 06, 2022 7:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Sometimes prevent dialogue transitions in say screen?
Replies: 6
Views: 387

Re: Sometimes prevent dialogue transitions in say screen?

Ocelot wrote:
Wed Apr 06, 2022 6:07 pm
IIRC during normal advancement say screen is never hidden it is only replaced.
Maybe, but "on replace" and "on replaced" don't seem to work either.
by jeffster
Wed Apr 06, 2022 7:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Stop progression while screen shown?
Replies: 3
Views: 331

Re: Stop progression while screen shown?

Regarding "modal true": I believe True should start with the uppercase letter.
by jeffster
Wed Apr 06, 2022 6:32 pm
Forum: Ren'Py Questions and Announcements
Topic: How to code a Next/Previous button on image gallery
Replies: 4
Views: 345

Re: How to code a Next/Previous button on image gallery

1. You don't need "hover lb_image" here: idle lb_image hover lb_image because when there is no different image it takes the same as "idle" automatically. You also don't need "focus_mask True" (and the image is non-transparent rectangle anyway). 2. To show an image in the lightbox (for simplicity, I ...
by jeffster
Wed Apr 06, 2022 2:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Screen action Call advances the dialogue
Replies: 0
Views: 269

[Solved] Screen action Call advances the dialogue

I have a panel with buttons which can be clicked any time, including during dialogue. The problem is that clicking those buttons advances the dialogue to the next line. The cause seems to be that I use `action Call`. Apparently it advances the current `say` interaction, even if I don't want to inter...
by jeffster
Wed Apr 06, 2022 1:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Sometimes prevent dialogue transitions in say screen?
Replies: 6
Views: 387

Re: Sometimes prevent dialogue transitions in say screen?

I noticed too that trying to use animation transforms "on hide" doesn't work. It's probably because (as the interaction ends) the next dialogue line shows immediately, so we just don't see the transform. One way to circumvent this might be to show the "exit transform" as a first part of the next "en...
by jeffster
Wed Apr 06, 2022 1:16 pm
Forum: Ren'Py Questions and Announcements
Topic: How to 'stop' game when I show player interactivemap?
Replies: 8
Views: 772

Re: How to 'stop' game when I show player interactivemap?

Another way to stop the dialogue from progression is using a character with advance = False: define stopper = Character(kind = adv, advance = False) label start: "The usual narration - you can click through." stopper "But it stops here." "Can't get here unless you make some buttons for this."
by jeffster
Fri Jan 14, 2022 4:42 am
Forum: Ren'Py Questions and Announcements
Topic: How to add a transition to dialogue box only [Solved]
Replies: 13
Views: 545

Re: How to add a transition to dialogue box only

As for the callback from what I can understand, only one def can be placed within the define config.say_arguments_callback? So what I was thinking, looking at it, was that have one set to "on show" and one "on hide" and than place it manually if not automated onto the dialogue. I think maybe config...
by jeffster
Wed Jan 12, 2022 3:11 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add a transition to dialogue box only [Solved]
Replies: 13
Views: 545

Re: How to add a transition to dialogue box only

My intention was for the sliding to only happen when the window first shows. As in, if there's another line of dialogue (or multiple) after the first, the sliding in will only happen with the first line of dialogue and the last. It shows this in the example. The issue of the duplicate text box is h...
by jeffster
Tue Jan 11, 2022 4:45 pm
Forum: Ren'Py Questions and Announcements
Topic: How to add a transition to dialogue box only [Solved]
Replies: 13
Views: 545

Re: How to add a transition to dialogue box only

I tried out your transform but unfortunately the "on replace" doesn't seem to work no matter what I put in. The textbox just slides up and down for each dialogue. I changed it to "on replaced" as well but that doesn't work either. Also there's a blank textbox sliding in before the actual textbox wi...
by jeffster
Mon Jan 10, 2022 10:53 am
Forum: Ren'Py Questions and Announcements
Topic: "Patching" a released Ren'Py game [Resolved]
Replies: 7
Views: 479

Re: "Patching" a released Ren'Py game

drbugs wrote:
Mon Jan 10, 2022 2:16 am
I think I'll just do the zip file option after all
I don't know about Mac and Android, but it works for Windows and Linux.
Good luck!