Search found 5 matches
- Sun Jul 10, 2022 9:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Turning off hover_sound
- Replies: 1
- Views: 274
Re: Turning off hover_sound
Alright, I did some more testing, on Ren'Py v.7.3.5; v.7.4.4 and v.7.4.6 And "hover_sound None" actually worked on that last one, so I'm assuming it should work on v.7.4.5/7.4.6 and up? But I don't see anything relevant in changelog, so I still dunno what I could do to fix it in older game...
- Thu Jul 07, 2022 9:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Turning off hover_sound
- Replies: 1
- Views: 274
Turning off hover_sound
First of all: I'm making a mod, so I can't really change the code that already exists in game. Some games have hover_sound included in default style and I'd like to turn it off for some specific buttons (those included by the mod). However, applying 'hover_sound None' either directly to the button o...
- Thu Jun 23, 2022 4:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Dynamic Key Specifier
- Replies: 5
- Views: 342
Re: Dynamic Key Specifier
The other thing I'd try is pushing your init block as late in the order as possible to make sure 'persistent' is initialized before you get to it: init 999 python init 500 python: persistent.my_key = "p" init 998 python: config.keymap["my_thing"] = persistent.my_key Worked. I gu...
- Thu Jun 23, 2022 3:26 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Dynamic Key Specifier
- Replies: 5
- Views: 342
Re: Dynamic Key Specifier
I think your problem is that 'config' variables are mostly (always?) only read during init, so later changes won't show up til you restart. Try something like: screen keyreader: key persistent.my_keysym action Function(do_my_thing) label start: show screen keyreader The thing is: Reason why I'm usi...
- Thu Jun 23, 2022 1:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Dynamic Key Specifier
- Replies: 5
- Views: 342
[Solved] Dynamic Key Specifier
Basically, I want the user to be able to pick his own key for certain action (in-game, without rummaging through files, even if that change would require restarting the game to take place). I'm assigning the key like this: init python: config.underlay.append(renpy.Keymap(show_my_screen= ToggleScreen...