Search found 11 matches
- Wed Oct 05, 2022 1:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Default_focus True + tooltips break keyboard navigation?
- Replies: 0
- Views: 198
Default_focus True + tooltips break keyboard navigation?
On Ren'Py version 8.0.3. Maybe related to the recent default_focus changes? Quick build showing the possible bug: https://drive.google.com/file/d/1pNyk8z062L4fBTzVL2xR0v9Yh3IYFHOi/view?usp=sharing I replaced main menu with this: screen main_menu(): vbox align (0.5,0.5) spacing 10: textbutton "This b...
- Wed May 19, 2021 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Custom SL Statement Bug: AttributeError: 'NoneType' object has no attribute 'copy_on_change'
- Replies: 2
- Views: 765
- Mon May 17, 2021 2:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Custom SL Statement Bug: AttributeError: 'NoneType' object has no attribute 'copy_on_change'
- Replies: 2
- Views: 765
[Solved] Custom SL Statement Bug: AttributeError: 'NoneType' object has no attribute 'copy_on_change'
This is a strange bug that randomly occurs with my custom screen language statement registered using renpy.register_sl_statement The custom sl element is a button. The button works fine most of the time, but sometime this exception would occur: AttributeError: 'NoneType' object has no attribute 'cop...
- Wed Mar 18, 2020 3:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to set the default value of a custom mixer?
- Replies: 1
- Views: 201
Re: How to set the default value of a custom mixer?
Well, I guess I can do this. if persistent.first_load is None: preferences.set_volume("bga",0.5) preferences.set_volume("bgv",0.5) persistent.first_load = True But it hurts my OCD to have two separate code handle volume defaults, so if there's a native renpy setting for this do share!
- Wed Mar 18, 2020 2:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to set the default value of a custom mixer?
- Replies: 1
- Views: 201
How to set the default value of a custom mixer?
So for the default mixers we can use the following to set their default values:
config.default_music_volume
config.default_sfx_volume
config.default_voice_volume
But how do we set the default values for custom mixers?
config.default_music_volume
config.default_sfx_volume
config.default_voice_volume
But how do we set the default values for custom mixers?
- Sun Mar 31, 2019 5:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
- Replies: 4
- Views: 431
Re: Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
Now that NaNoRenO is done I finally have time to post this. As it turns out image scaling, while ugly due to blur, is still better than Ren'Py's screen element scaling in certain aspects because 1px lines in raster images don't disappear completely when scaled, lol. 1pxdrag.gif So I turned all my bu...
- Thu Mar 07, 2019 5:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
- Replies: 4
- Views: 431
Re: Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
Thanks for the reply. So there's no way in current renpy to force a specific element or a specific style property to NOT scale?
Text outlines is able to do it with absolute()
. Guess that's a special case due to using fonts.
Text outlines is able to do it with absolute()
. Guess that's a special case due to using fonts.- Thu Mar 07, 2019 1:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
- Replies: 4
- Views: 431
Any way to ensure an absolute int value for padding / margins / spacing when resizing the window?
My buttons are something like this: frame: background color padding (1,1) textbutton When the window is resized some of the 1 pixel borders disappear due to scaling. 20190307121148.png absolute() seems to only be for text outlines? One solution is to lock the window to specific sizes where everythin...
- Wed Mar 06, 2019 5:31 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
- Replies: 3
- Views: 563
Re: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
Alright, so I figured out the solution for my use case. Put the displayable with the anonymous transform in its own screen and "use" it in the screen with the transclude. So: screen_1: use screen_2: stuff screen_2: transclude use screen_3 screen_3: anonymous_transformed_stuff If screen_3 has a trans...
- Mon Feb 25, 2019 12:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
- Replies: 3
- Views: 563
Re: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
Thanks for the input. Busy with other stuff so I haven't investigated this at all since I posted 😅. Based on what you found maybe it has something to do with Ren'Py's screen language optimization 🤔 (https://www.renpy.org/doc/html/screen_optimization.html?highlight=parameter%20list) For now I'll just...
- Fri Feb 08, 2019 11:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
- Replies: 3
- Views: 563
Anonymous animated transform in an included screen doesn't play if its transcluded displayble takes a variable?
Strange bug, am I'm doing something wrong? Replace main menu of a blank project with this. Case 1, 2, and 3 play the animation properly, but for some reason case 4 doesn't animate. transform named_transform(): alpha 0 linear 0.5 alpha 1 repeat screen screen_with_named_transform(): hbox: transclude t...