Quick Save/Load keybinds
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Quick Save/Load keybinds
Hello, is it possible to rebind my keys to have a quick save/load. I know about 00keymap.rpy but i'm not sure what command i should use to bind q.save and q.load.
- DannyGMaster
- Regular
- Posts: 113
- Joined: Fri Sep 02, 2016 11:07 am
- Contact:
Re: Quick Save/Load keybinds
Modifying the default keymap in 00keymap.rpy seems to be bit tricky and could break things if you don't know exactly what you're doing. So I think it's safer to add new keymaps to the main screens in your game.
If you will have your quick_menu screen up all the time, you can add a key statement at the beginning (in screens.rpy):
You can also have them in the say screen, or in any screen you will be using where save and load operations can be performed.
If you will have your quick_menu screen up all the time, you can add a key statement at the beginning (in screens.rpy):
Code: Select all
screen quick_menu():
key "q" action QuickSave() #Set the Q key in your keyboard to Quicksave when pressed
key "l" action QuickLoad() #Same for L key
## Ensure this appears on top of other screens.
zorder 100
if quick_menu:
#### The rest of the quick_menu
The silent voice within one's heart whispers the most profound wisdom.
Who is online
Users browsing this forum: No registered users