Search found 6 matches

by DsyD
Wed Feb 09, 2022 8:36 pm
Forum: Ren'Py Questions and Announcements
Topic: How to properly compose custom Displayables using built-in ones?
Replies: 0
Views: 1054

How to properly compose custom Displayables using built-in ones?

I want to use a single type of displayable consisting of multiple built-in displayables many times in my game. An example would be a vbox containing an imagebutton above some text. I tried creating a simple one using just an ImageButton and some text: init python: class MyButton(renpy.Displayable): ...
by DsyD
Wed Oct 28, 2020 7:02 pm
Forum: Development of Ren'Py
Topic: Python 2 deprecation
Replies: 13
Views: 10520

Re: Python 2 deprecation

Any updates on this?

Looks like a ton of work done daily but no release yet...hopefully soon?
by DsyD
Tue Jun 23, 2020 8:40 pm
Forum: Development of Ren'Py
Topic: Python 2 deprecation
Replies: 13
Views: 10520

Re: Python 2 deprecation

That sounds great! Looking forward to it!
by DsyD
Tue Jun 23, 2020 9:43 am
Forum: Ren'Py Questions and Announcements
Topic: Is this a bug? Values not updating in screen with 'use' statement
Replies: 2
Views: 362

Re: Is this a bug? Values not updating in screen with 'use' statement

Ah, thank you. Using .format seems to fix it and seems like a clean solution. I am wondering what exactly causes Ren'Py to consider a screen as "dynamic," though. For example, if I make the widget_host directly display the value instead (by adding something like text "prop1-state: [st...
by DsyD
Tue Jun 23, 2020 9:10 am
Forum: Development of Ren'Py
Topic: Python 2 deprecation
Replies: 13
Views: 10520

Re: Python 2 deprecation

I was wondering if there have been any updates on this? I think the issue is less about security and more about quality of life and possibly performance. Third-party packages are also starting to drop support for Python 2 (or never had it in the first place) and I think there are definitely Python 3...
by DsyD
Tue Jun 23, 2020 8:16 am
Forum: Ren'Py Questions and Announcements
Topic: Is this a bug? Values not updating in screen with 'use' statement
Replies: 2
Views: 362

Is this a bug? Values not updating in screen with 'use' statement

Hi - I am new to Ren'Py but familiar with Python (although I haven't used Python 2 in a while). I am attempting to compose UI elements using screen statements and use . I'm showing a complete example below that does the following: 1. Defines a prop_widget screen that takes two parameters, prop1 and ...