Search found 1041 matches

by Kia
Wed Sep 07, 2022 11:40 am
Forum: Ren'Py Questions and Announcements
Topic: An odd animation bug on a very specific condition
Replies: 2
Views: 361

An odd animation bug on a very specific condition

I've been messing with images to find the formula for animated `Frame`and I've found a very interesting interaction when it comes to contact with quick menu. https://youtu.be/FWVPrEHg8T4 can I get your opinion on what's going on and if it only happens on my computer please? The code is in the attach...
by Kia
Thu Aug 25, 2022 3:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

Re: trigger vpunch and hpunch from python?

m_from_space wrote: Thu Aug 25, 2022 2:50 pm Don't call the screen
The issue started because I had to call the screen instead of showing.
Alex wrote: Thu Aug 25, 2022 1:34 pm Screens can be shown using transition.
That's the solution I was looking for, thank you.

Thank you everybody, This was quite an interesting exploration, I've learned a new thing from every reply ^^
by Kia
Thu Aug 25, 2022 6:28 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

Re: trigger vpunch and hpunch from python?

the screen that calls the function. init python: def do_a_vpunch(): renpy.call("do_a_punch") screen vpunch_test: modal True button: text "Punch" action Function(do_a_vpunch) label do_a_punch: with vpunch label start: call screen vpunch_test
by Kia
Thu Aug 25, 2022 3:48 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

Re: trigger vpunch and hpunch from python?

I've finally got time to try this issue again.
Thank you m_from_space, it does work, but the issue of hiding the screen for the duration of the punch remains. I think I'll suggest this one as an additional feature that can be added.
by Kia
Thu Aug 11, 2022 11:50 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Re: Viewport cutting around it's children's children.

m_from_space wrote: Thu Aug 11, 2022 7:49 am Well, you should probably create a bug report
will do, just wanted to confirm that it's really a bug before doing so.
m_from_space wrote: Thu Aug 11, 2022 7:49 am Congratz on 1000 posts by the way! :)
Thank you ^^
by Kia
Thu Aug 11, 2022 5:42 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Re: Viewport cutting around it's children's children.

There are several good reasons to arrange elements the way I've done. The one in this case is: It makes positioning elements much easier. You can't really do something like this in any other reasonable way: frame: align .5,.5 xysize 800,600 background "#523" text "something " xan...
by Kia
Wed Aug 10, 2022 3:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Re: Viewport cutting around it's children's children.

Nice find, it never crossed my mind to test the other sides.
by Kia
Wed Aug 10, 2022 11:00 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Re: Viewport cutting around it's children's children.

If you change the offset to a small number on the positive like 10, you'll notice that the text isn't outside of the screen, it's on the same place as the first example, but being cut off because it's just outside of the fixed container. The only difference between the two is: one is indirectly insi...
by Kia
Wed Aug 10, 2022 7:35 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Re: Viewport cutting around it's children's children.

Anybody has any ideas of why this happens and how to circumvent it?
by Kia
Tue Aug 02, 2022 11:58 am
Forum: Ren'Py Questions and Announcements
Topic: Viewport cutting around it's children's children.
Replies: 9
Views: 517

Viewport cutting around it's children's children.

I was messing with viewport and found a behavior that doesn't make sense to me. screen vptest: modal True vbox spacing 10: viewport: yfill False frame background "#fff4" xfill True: fixed fit_first True xalign .5: frame xsize 800: text "inside a viewport." text "Some name&qu...
by Kia
Thu Jul 14, 2022 5:33 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

Re: trigger vpunch and hpunch from python?

here's the narrowed down problem for testing

Code: Select all

init python:
    def do_a_punch():
        renpy.with_statement(vpunch)
screen test_vpunch:
    modal True
    key "w" action Function(do_a_punch)

label start:
    show screen test_vpunch
    pause
does the same with `call screen`
by Kia
Thu Jul 14, 2022 4:28 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

Re: trigger vpunch and hpunch from python?

It does work , but I I'm getting: Exception: Cannot start an interaction in the middle of an interaction, without creating a new context. I assume it's because I have a screen called and present. tried: renpy.invoke_in_new_context(renpy.with_statement(vpunch)) tried: renpy.call_in_new_context(shake)...
by Kia
Thu Jul 14, 2022 1:12 am
Forum: Ren'Py Questions and Announcements
Topic: [solved] trigger vpunch and hpunch from python?
Replies: 15
Views: 1197

[solved] trigger vpunch and hpunch from python?

Is it possible to trigger vpunch and hpunch from a python function?
something akin to:

Code: Select all

def hit():
    health -= 10
    renpy.vpunch()
by Kia
Tue Jul 05, 2022 11:17 am
Forum: Ren'Py Questions and Announcements
Topic: How to make a two-column NVL mode?
Replies: 1
Views: 375

Re: How to make a two-column NVL mode?

It should be easy using a simple hbox in the NVL screen, however, you would have to keep track of how much text is shown and clear the screen accordingly, since you'll lose the scrolling ability that comes with the default set-up.
by Kia
Tue Jul 05, 2022 11:11 am
Forum: Ren'Py Questions and Announcements
Topic: Easy GUI??
Replies: 6
Views: 553

Re: Easy GUI??

I've never touched the new GUI system, from the day it was introduced, my first step for every project was stripping it to bare screens and change those in necessary. You might want to do the same if you know how to use screens. I've uploaded my stripped version to github under the name `0GUI` along...