Search found 2405 matches
- Fri Apr 26, 2024 3:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Steam API functions other than achievements?
- Replies: 3
- Views: 97
Re: Steam API functions other than achievements?
It is hard to tell what exactly happens here, but is the steam support installed? Was the Steam integrated properly? Do achievements work?
- Fri Apr 26, 2024 8:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
- Replies: 4
- Views: 201
Re: Should I be using imagemaps or imagebutton for an interactive flowchart (zooming, mouse navigation, etc)
And that is exactly the problem. If you are applying zoom to the displayable with children, they would be zoomed automatically. All children are already drawn before zoom is applied and are transformed together with the displayable. See this: https://drive.google.com/file/d/1bOui-Sx_4HbgQQ3pgNRp87y6...
- Fri Apr 26, 2024 8:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: Steam API functions other than achievements?
- Replies: 3
- Views: 97
Re: Steam API functions other than achievements?
Well, firstly you are doing it wrong. SteamAPI documentation states that Member functions for ISteamApps are called through the global accessor function SteamApps(). https://partner.steamgames.com/doc/api/ISteamApps So correct way to do that would be $ achievements.steamapi.SteamApps().InstallDLC(&q...
- Tue Apr 23, 2024 1:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using JSON for optimization?
- Replies: 5
- Views: 205
Re: Using JSON for optimization?
1) Memory is cheap. Unless your profiling shows that you are consuming prohibitive amount of memory, you don't have to worry. 2) YOu can do JSON loading in two ways. One is efficient, but incompatible with RenPy saving/rollback system. That will lead to problems. Other one will work with save/rollab...
- Sun Apr 21, 2024 7:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: set_queue_empty_callback behavior
- Replies: 6
- Views: 283
Re: set_queue_empty_callback behavior
YOu don't set any fadeout on any tracks aside from the first one.
- Thu Apr 18, 2024 3:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
- Replies: 4
- Views: 143
Re: Problems updating certain projects to Renpy 8 from Renpy ~7.5
Just don't sort lists containing unsortable things.
- Wed Apr 17, 2024 2:02 am
- Forum: Ren'Py Questions and Announcements
- Topic: Problems updating certain projects to Renpy 8 from Renpy ~7.5
- Replies: 4
- Views: 143
Re: Problems updating certain projects to Renpy 8 from Renpy ~7.5
1) you are trying to sort a list containing dictionaries. To do that Python applies operator < to dictionaries. Support for dict comparison was experimental and undocumented (read: should not be used) in Python2 and was completely removed in Python 3. 2) I am not sure there, but it could be constant...
- Tue Apr 16, 2024 2:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: set_queue_empty_callback behavior
- Replies: 6
- Views: 283
Re: set_queue_empty_callback behavior
YOu almost got it, but instead of playing sound in callback, queue it to play right after current sound instead.
- Mon Apr 15, 2024 2:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: set_queue_empty_callback behavior
- Replies: 6
- Views: 283
Re: set_queue_empty_callback behavior
Note that empty queue callback is called when the queue becomes empty, i. e. when the last song starts playing, not when it finishes. https://www.renpy.org/doc/html/audio.html#renpy.music.set_queue_empty_callback renpy.music.set_queue_empty_callback(callback, channel='music') This sets a callback th...
- Sat Apr 13, 2024 4:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making fading popups in a screen [SOLVED]
- Replies: 4
- Views: 216
Re: Making fading popups in a screen
1) Nothing after return is executed. 2) Even if would, your use of renpy.pause is likely to cause interaction withing interaction error 3) popup_cant_go = False creates a local variable which is instantly destroyed in this case. It odes not modyfy anything. Your best bet is to show a custom screen w...
- Sat Apr 13, 2024 6:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Empty textbox shows up while using renpy.pause()
- Replies: 5
- Views: 364
Re: Empty textbox shows up while using renpy.pause()
It is this problem. Quite a few people in Discord and several on forums complained the exact same thing happened to them.
https://github.com/atom/atom/issues/11406
- Wed Apr 10, 2024 4:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved!] Name Generator generating twice?
- Replies: 5
- Views: 274
Re: Name Generator generating twice?
Screens should not have any side effects in their code. Screen code is run multiple times during prediction and every time screen refreshes (basically, when anything happens) and can be executed with any parameters, including those you never tried to pass. In short, move random name generation and e...
- Wed Apr 10, 2024 4:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Screen parameters not clearing properly
- Replies: 2
- Views: 119
Re: Screen parameters not clearing properly
Screens should not have any side effects in their code. Screen code is run multiple times during prediction and every time screen refreshes (basically, when anything happens) and can be executed with any parameters, including those you never tried to pass.
- Wed Apr 10, 2024 8:52 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Game doesn't save dictionary changes.
- Replies: 2
- Views: 116
Re: [HELP] Game doesn't save dictionary changes.
https://www.renpy.org/doc/html/save_load_rollback.html The Python state consists of the variables in the store that have changed since the game began, and all objects reachable from those variables. Note that it's the change to the variables that matters – changes to fields in objects will not cause...
- Tue Apr 09, 2024 3:08 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Autosave & Autoload only once?
- Replies: 2
- Views: 209
Re: Autosave & Autoload only once?
Something like:
Then you could turn off flag in the scary_label.
Code: Select all
label main_menu:
if persistent.scary_thing:
$ renpy.run( Start('scary_label') )
else:
show screen main_menu
pause
return