Name that Save

RustyV

Conversation Conqueror
Game Developer
Dec 30, 2017
6,735
31,420
How do you code renpy so as to let the players be able to name their saves?
As painfully detailed as possible.
I've bothered OhWee for help way too much.
 

crabsinthekitchen

Well-Known Member
Apr 28, 2020
1,550
8,818
1. add an input that changes save_name variable
2. ?
3. PROFIT
Code:
#making it a button so you can click there if you decide to change a page name for some reason
button:
    key_events True
    xalign 0.5
    yalign 0.0
    action VariableInputValue('save_name').Toggle()

    frame:
        xminimum 256
        yminimum 38
        xmaximum 385
        input:
            xoffset 5
            size 23
            default "[save_name]"
            value VariableInputValue('save_name')
            length 30