Search found 337 matches
- Fri Aug 13, 2021 9:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [FYI] Deleting my cache folder improved loading times from 6-13 seconds to 700ms.
- Replies: 1
- Views: 631
[FYI] Deleting my cache folder improved loading times from 6-13 seconds to 700ms.
For about 15 minutes, I've been searching for information as to why deleting my cache folder improved loading time from six-twelve seconds to around 700ms. Unfortunately, I could not find this information on the forum or using the search on the top right corner. I'm writing here so this information ...
- Thu Aug 12, 2021 6:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: PS4 Controller keymapping
- Replies: 6
- Views: 1638
Re: PS4 Controller keymapping
I have a CUH-ZCT2U PS4 Controller. As soon as I connect it, it works with a newly created Ren'py Project. Windows 10. Do this: - Connect your controller. - Click Start - Search for: Joystick - Select: Setup USB Game Controllers - You should see: 'Wireless Controller' (Which is the PS4 controller) - ...
- Wed Aug 11, 2021 8:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Unresolved] Possible Bug: Fade out not occurring when mouse unhovers from textbutton.
- Replies: 1
- Views: 1620
[Unresolved] Possible Bug: Fade out not occurring when mouse unhovers from textbutton.
EDIT: Show/Hide Hovered/Unhovered breaks the slider on mobile. EDIT: Just use hovered & unhovered along with Show & Hide, with transition=Dissolve(0.5) .... It's reliable and works 100% on mobile, tablet and pc. ____________________________________________________________ (I was going to sub...
- Sat Aug 07, 2021 10:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How do you show/hide image on hovered/unhovered, with dissolve, using minimal code?
- Replies: 2
- Views: 749
Re: How do you show/hide image on hovered/unhovered, with dissolve, using minimal code?
Thanks. That's also the shortest way I've found to show an image. The screen is unavoidable. It's not a problem though, I've turned this custom screen into a nifty image shower with various functionalities.
I just had to ask if that was the most minimalist way to do it.
I just had to ask if that was the most minimalist way to do it.
- Sat Aug 07, 2021 6:05 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] How do you show/hide image on hovered/unhovered, with dissolve, using minimal code?
- Replies: 2
- Views: 749
[Solved] How do you show/hide image on hovered/unhovered, with dissolve, using minimal code?
EDIT: IMO, do not use hovered & unhovered to show anything. Unhovered doesn't always trigger, so whatever you show might remain on screen. Use tooltips instead to show text & displayables. How do you show/hide image on hovered/unhovered, with dissolve, using minimal code? Does anything like ...
- Thu Aug 05, 2021 2:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: How do you play a sound effect when a bar is activated via enter key?
- Replies: 0
- Views: 1662
How do you play a sound effect when a bar is activated via enter key?
How do you play a sound effect when a bar is activated via enter key? For most buttons I can use activate_sound, but it doesn't work for the bar unfortunately. To clarify, when you hit enter over a scroll bar, you can use the arrow keys to slide it left & right, then you press enter again when d...
- Sat Jul 31, 2021 7:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Anyone have a working example of renpy.get_displayable_properties?
- Replies: 2
- Views: 955
Re: Anyone have a working example of renpy.get_displayable_properties?
1) get_displayable_properties returns only a specific subset of all properties, and, from what I have seen, only matters for input. use get_displayable instead. 2) You will have to play around with console to learn what is exactly in displayable you get. It might be possible, that the field you wan...
- Sat Jul 31, 2021 7:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Easy way to prevent a textbutton from being clicked twice?
- Replies: 7
- Views: 1163
Re: Easy way to prevent a textbutton from being clicked twice?
$ displayable = renpy.get_displayable(None, "btn") textbutton id "btn": sensitive (displayable.selected if displayable else None) you don't really need the screen tbh, afaik the function will automatically pick the current screen if it is set to None . thank you thank you!
- Fri Jul 30, 2021 4:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: In android phone emulation mode, how can you prevent the on-screen keyboard screen from covering the shift o console?
- Replies: 0
- Views: 2052
In android phone emulation mode, how can you prevent the on-screen keyboard screen from covering the shift o console?
In android phone emulation mode, how can you prevent the on-screen keyboard screen from covering the shift o console?
- Fri Jul 30, 2021 4:22 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Easy way to prevent a textbutton from being clicked twice?
- Replies: 7
- Views: 1163
Re: Easy way to prevent a textbutton from being clicked twice?
Thanks, that is work of beauty!
- Fri Jul 30, 2021 5:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to disable a vbar from being activated via enter key?
- Replies: 1
- Views: 1116
Is there a way to disable a vbar from being activated via enter key?
Is there a way to disable a vbar from being activated via enter key?
- Fri Jul 30, 2021 5:01 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Easy way to prevent a textbutton from being clicked twice?
- Replies: 7
- Views: 1163
Re: Easy way to prevent a textbutton from being clicked twice?
You could try giving an id to your button and use not renpy.get_displayable(...).selected as the expression for the sensitive property of the button. Edit: Just looked up the docs for renpy.get_widget , seems that pytom changed it now to renpy.get_displayable , much better. Still, you can use renpy...
- Fri Jul 30, 2021 4:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: Anyone have a working example of renpy.get_displayable_properties?
- Replies: 2
- Views: 955
Anyone have a working example of renpy.get_displayable_properties?
Anyone have a working example of renpy.get_displayable_properties? For the sake of learning, I'm trying to get the displayable properties of the Preferences button on the main menu, but I can't get it to return the dictionary of values. First I added an id to the Preferences displayable. textbutton ...
- Thu Jul 29, 2021 4:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Easy way to prevent a textbutton from being clicked twice?
- Replies: 7
- Views: 1163
[Solved] Easy way to prevent a textbutton from being clicked twice?
Anyone know an easy way to prevent a textbutton from being clicked twice? I can think of a few ways, but looking for the easiest, simplest option. # PSUEDO CODE textbutton "You can only click me once": insensitive [CONDITION] self.selected # if this existed, it would return True I'm still ...
- Thu Jul 29, 2021 10:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: I'm trying to remap the "d" key...not sure whats going on
- Replies: 3
- Views: 1781
Re: I'm trying to remap the "d" key...not sure whats going on
FYI you only need to override the focus & viewport, not the input.
There's no need to override these:
There's no need to override these:
Code: Select all
#config.keymap['input_left']
#config.keymap['input_right']
#config.keymap['input_up']
#config.keymap['input_down']