Search found 1041 matches
- 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...
- 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?
The issue started because I had to call the screen instead of showing.
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 ^^
- 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
- 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.
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.
- 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.
will do, just wanted to confirm that it's really a bug before doing so.
Thank you ^^
- 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...
- 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.
- 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...
- 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?
- 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...
- 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
does the same with `call screen`
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
- 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)...
- 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:
something akin to:
Code: Select all
def hit():
health -= 10
renpy.vpunch()
- 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.
- 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...