This page is out of date

You've reached a page on the Ren'Py wiki. Due to massive spam, the wiki hasn't been updated in over 5 years, and much of the information here is very out of date. We've kept it because some of it is of historic interest, but all the information relevant to modern versions of Ren'Py has been moved elsewhere.

Some places to look are:

Please do not create new links to this page.


# Esta opción implementa el guardado y cargado rápido.
# La función de cargado rápido agrega un botón al fondo que se
# muestra durante el juego. Cuando el boton se presiona, el juego
# se guarda en un bloque de guardado rápido. Tambien coloca un
# boton de carga rápida, al hacer click en el el juego guardado en
# el bloque de guardado rápido es cargado.

# Este proceso es ejecutado cuando se presiona el botón.
label _quick_save:
    call _enter_menu_without_scene from __call__enter_menu_4

    # Guarda el juego.
    $ renpy.save('quicksave', _('Guardado rapido'))

    # Mostrar al usuario de que se ha guardado el juego.
    $ ui.add(Solid((0, 0, 0, 128)))
    $ ui.text(_('Juego guardado en formato rapido.'),
              xpos=0.5, xanchor='center', ypos=0.5, yanchor='center')

    $ ui.saybehavior()
    $ ui.interact(suppress_overlay=True, suppress_underlay=True)

    return

# Proceso llamado cuando el botón de cargado rápido es presionado,
# para cargar el juego.

label _quick_load:
    $ renpy.load('quicksave')
    return

init -1:

    python hide:
        
        # Add the quick save button in as an overlay function.
        def quick_save_button():
            ui.textbutton(_("Salvado rapido"),
                          xpos=0.98, ypos=0.02,
                          xanchor='right', yanchor='top',
                          clicked=renpy.curried_call_in_new_context('_quick_save'))

        config.overlay_functions.append(quick_save_button)

        # Add the quick load function to the main menu.
        library.main_menu.insert(1, ('Cargado rapido',
                                     ui.jumps("_quick_load"),
                                     'renpy.can_load("quicksave")'))