Search found 33 matches

by barsunduk
Tue Mar 05, 2024 6:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

When I use Live2d in Ren'Py 8.2.0, loading from the slots stops working and the game crashes into the main menu.
UPD: Everything works again! It was a strange glitch.
by barsunduk
Wed Feb 14, 2024 7:46 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

Code: Select all

$ nvl_hide(Dissolve(1))
This command doesn't work. First there is a pause, and then the nvl-screen instantly appears. In this case, nvl_show(dissolve) works fine.
by barsunduk
Mon Jan 22, 2024 7:48 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

It looks like that change was intentional (children of buttons get notified about hover and a few other states). Rather than using a button with NullAction as your container, you probably want a modal frame instead. That would prevent click through and avoid any hover events coming from the contain...
by barsunduk
Sun Jan 21, 2024 11:26 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

renpy-8.2.0.24012001+nightly-sdk If the container for the buttons is also a button, then when you hover the cursor over it, Renpy considers that the cursor was hovered over all the buttons inside. They all light up as if I hovered over each one of them. Was this done on purpose? At the moment this ...
by barsunduk
Tue Nov 21, 2023 2:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

renpy-8.2.0.24012001+nightly-sdk
renpy.retain_after_load() works! Thank you very much!
by barsunduk
Tue Nov 07, 2023 7:00 am
Forum: Ren'Py Questions and Announcements
Topic: How to update data without end_interaction
Replies: 4
Views: 1669

Re: How to update data without end_interaction

renpy-8.2.0.24012001+nightly-sdk
renpy.retain_after_load() works!
by barsunduk
Mon Nov 06, 2023 8:05 am
Forum: Ren'Py Questions and Announcements
Topic: How to update data without end_interaction
Replies: 4
Views: 1669

Re: How to update data without end_interaction

PyTom wrote: Mon Nov 06, 2023 1:05 am Can you check out the latest nightly, from https://nightly.renpy.org ? There have been a number of fixes in this area.
Doesn't work =(
by barsunduk
Sun Nov 05, 2023 9:27 am
Forum: Ren'Py Questions and Announcements
Topic: Bug Replications
Replies: 35
Views: 73993

Re: Bug Replications

renpy.retain_after_load() on 8.1.2 and 8.1.3 is broken (8.1.1 is fine). EXAMPLE
by barsunduk
Sun Nov 05, 2023 9:23 am
Forum: Ren'Py Questions and Announcements
Topic: How to update data without end_interaction
Replies: 4
Views: 1669

Re: How to update data without end_interaction

Ha, this only doesn’t work on 8.1.2 and 8.1.3. On 7.5.3 and 8.1.1 everything is fine.
It's just a bug.
by barsunduk
Sun Nov 05, 2023 7:25 am
Forum: Ren'Py Questions and Announcements
Topic: How to update data without end_interaction
Replies: 4
Views: 1669

How to update data without end_interaction

Here's the simple code: define config.default_fullscreen = True screen test: button: xfill True yfill True action NullAction() vbox: align(.5, .5) textbutton "next stage (dismiss)" action Function(renpy.end_interaction, True) text_size 77 xalign .5 hbox: xalign .5 textbutton "save&quo...
by barsunduk
Tue Mar 28, 2023 5:11 pm
Forum: Ren'Py Questions and Announcements
Topic: How to find out the current phrase in the original language without switching?
Replies: 6
Views: 450

Re: How to find out the current phrase in the original language without switching?

You can check https://www.renpy.org/doc/html/voice.html#automatic-voice спасибо за совет! надеялся, что не придётся самому переименовывать тысячи файлов, но раз вариантов нет, то чего уж теперь... нет, ну его нафиг. попробую всё-таки автоматом сделать, пусть и с двойным переводом этим туда-обратно)
by barsunduk
Tue Mar 28, 2023 4:49 pm
Forum: Ren'Py Questions and Announcements
Topic: How to find out the current phrase in the original language without switching?
Replies: 6
Views: 450

Re: How to find out the current phrase in the original language without switching?

What should happen in this case? сорян, я в буржуйский не умею, но судя по аве, проще будет так объяснить. суть в том, что взялся я прикрутить знакомым озвучку к новелле. но мне как-то не улыбается добавлять вручную тысячи строк типа voice "e01.ogg" в скрипт. ну и я родил костыль: screen ...
by barsunduk
Tue Mar 28, 2023 10:29 am
Forum: Ren'Py Questions and Announcements
Topic: How to find out the current phrase in the original language without switching?
Replies: 6
Views: 450

How to find out the current phrase in the original language without switching?

On the say screen, I process the who and what values. I need to know the replica both in the original language and in the current one. I need to get the phrase in both the original language and its translation in the current language. But renpy.translate_string(what, None) does not work. And I need ...
by barsunduk
Mon Nov 07, 2022 6:38 am
Forum: Ren'Py Questions and Announcements
Topic: Can I return the width of an image?
Replies: 9
Views: 3386

Re: Can I return the width of an image?

_ticlock_ wrote: Sat Oct 29, 2022 10:44 am

Code: Select all

        w, h = renpy.render(displayable, config.screen_width, config.screen_height, 0, 0).get_size()
Thanks to you, everything worked out. Now the same script can be played in the game or read as a book.