Search found 1883 matches
- Thu Aug 04, 2022 4:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: how to keep screen on top of transitions
- Replies: 5
- Views: 206
Re: how to keep screen on top of transitions
called screens are transient and are automatically hidden at the end of interaction. To make screen persist, you need to show, not call them. Alternatively, you can add screen to the list of overlay screens, which are shown automativally and toggle its visibility with a variable.
- Thu Aug 04, 2022 3:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: how to keep screen on top of transitions
- Replies: 5
- Views: 206
Re: how to keep screen on top of transitions
How do you show your overlay screen?
- Wed Aug 03, 2022 8:34 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] I want sounds to overlap
- Replies: 2
- Views: 201
Re: I want sounds to overlap
https://www.renpy.org/doc/html/audio.html
Documentation wrote:In addition to the normal channel, there is one special channel, audio. The audio channel supports playing back multiple audio files at one time, but does not support queueing sound or stopping playback.
- Wed Aug 03, 2022 5:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: Non Intrusive tutorial page coding
- Replies: 1
- Views: 197
Re: Non Intrusive tutorial page coding
You do not need to see label to Replay it. https://www.renpy.org/doc/html/rooms.html#Replay Replay(label, scope={}, locked=None) An action that starts label as a replay. scope A dictionary mapping variable name to value. These variables are set when entering the replay. locked If true , this replay ...
- Mon Aug 01, 2022 3:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ultra complexe Save Error which is completely beyond me
- Replies: 7
- Views: 336
Re: Ultra complexe Save Error which is completely beyond me
Change the second screen variable name. I would choose timer_time to be in line with other varables in that screen. And change all mentions of "time" there to new name.
While you can rename imported module, I would advise against it in this case.
While you can rename imported module, I would advise against it in this case.
- Sun Jul 31, 2022 5:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ValueError with code I removed?
- Replies: 5
- Views: 261
Re: ValueError with code I removed?
Show your save screen. How you store data in file in particular. Error you got means that there is '[hours_display] : [minutes_display]' line stored within save file. Which is not a number. That is why integer conversion routine throws an error. Either you have old stray save file here, or you are s...
- Sun Jul 31, 2022 4:19 am
- Forum: Ren'Py Questions and Announcements
- Topic: Ultra complexe Save Error which is completely beyond me
- Replies: 7
- Views: 336
Re: Ultra complexe Save Error which is completely beyond me
Yes, the second screen conflict with first. What happens: seconds screens sets "time" store variable. THis action adds that varable name to a list of things you need to save. Then first screen imports time, overwriting "time": it is now a module. This does not add "time" to a list of variables to sa...
- Sat Jul 30, 2022 4:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Image Gallery Not Unlocking Dynamic Images
- Replies: 4
- Views: 213
Re: Image Gallery Not Unlocking Dynamic Images
I mean, use of config.adjust_attributes configuration variable https://www.renpy.org/doc/html/config.html#var-config.adjust_attributes Something like: init 100 python: def adjust_bg_image(attributes): if "home" in attributes: attributes = ( "bg" , "home", str(store.dt.time), str(lights) ) return att...
- Sat Jul 30, 2022 10:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Image Gallery Not Unlocking Dynamic Images
- Replies: 4
- Views: 213
Re: Image Gallery Not Unlocking Dynamic Images
The image you have is called "bg home". The fact that it changes appearence due to some other variables changing is irrelevant. Actual filenames are irrelevant.
One approach would be to make all those separate images and add/remove attributes to backround image through global callback.
One approach would be to make all those separate images and add/remove attributes to backround image through global callback.
- Sat Jul 30, 2022 10:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to skip the menu *once*
- Replies: 4
- Views: 224
Re: How to skip the menu *once*
Ok, a little bit of using undocumented RenPy internals: label main_menu: if not persistent.tutorial_finished: # Do not forget to set it to True after finishing tutorial return # Or Start(something) or something else else: # That's the actual internal label responsible for showing main menu. # Surpri...
- Tue Jul 26, 2022 5:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebuttons causing lag when hovering
- Replies: 6
- Views: 239
Re: Imagebuttons causing lag when hovering
You can pass a function, which will figure out, if button is focused or not. Some simple math later, and you get a pretty good approximation of your displayable shape.
- Tue Jul 26, 2022 4:51 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Imagebuttons causing lag when hovering
- Replies: 6
- Views: 239
Re: Imagebuttons causing lag when hovering
As laure44 said, focus_mask True wrecks perfomance if used with large images.
- Mon Jul 25, 2022 10:29 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy 'game' folder location in Android
- Replies: 3
- Views: 268
Re: Renpy 'game' folder location in Android
(I'm just trying to modify and add some files there. Just like I can in my desktop system with serious security issues without any hassle) FTFY If you intend to distribute your game, end users might install it into default loation (Program Files) and then your game will stop working, because noraml...
- Sat Jul 16, 2022 11:51 am
- Forum: Ren'Py Questions and Announcements
- Topic: Automatic Saves question (performance, etc.)
- Replies: 2
- Views: 218
Re: Automatic Saves question (performance, etc.)
1. Do automatic saves have some kind of performance hit when left on? 2. If so, is it a small amount? A miniscule imact (unless you have an HDD and it is close to dying). A slight stutter at the moment of saving at worst. 3. Can I disable automatic saves? Those a for global control: define config.h...
- Thu Jul 14, 2022 7:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: Adding a variable to a name of a label
- Replies: 5
- Views: 256
Re: Adding a variable to a name of a label
call screen expression "name_coon" + str(hour_time) This does not work, because call screen expression is invalid construct. It is not mentioned as valid anywhere in documentation. renpy.call_screen("name_coon[hour_time]" This does not work, because RenPy variable substitution works only for text d...