custom save/load don't work

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
metaevar
Newbie
Posts: 15
Joined: Sat Jul 02, 2016 8:42 am
Deviantart: metaevar
Contact:

custom save/load don't work

#1 Post by metaevar »

Hey there ^^
So, i'm trying to custom my save/load screen, i've create my asset change my code etc... but if i try to use it it just don't work :/
If i'm on the main menu, i clic on load : i see the background of the load menu but all my hotspot are still the one from the main menu :/ and if try to save in game i can only clic on the return button :/
here is my code :

Code: Select all

creen save:

    imagemap:
        ground "msave ground.jpg"
        hover "msave iddle.jpg"
        cache False
        
        hotspot (720,177,173,100) clicked FileSave(1):
            use load_save_slot(number=1)
        hotspot (714,306,179,98) clicked FileSave(2):
            use load_save_slot(number=2)
        hotspot (720,441,172,94) clicked FileSave(3):
            use load_save_slot(number=3)
        hotspot (720,568,172,92) clicked FileSave(4):
            use load_save_slot(number=4)
        hotspot (1022,314,171,95) clicked FileSave(6):
            use load_save_slot(number=6)
        hotspot (1021,447,178,101) clicked FileSave(7):
            use load_save_slot(number=7)
        hotspot (1022,575,179,94) clicked FileSave(8):
            use load_save_slot(number=8)

        hotspot (19,20,278,124) action Return()

screen load:

    imagemap:
        ground "mload ground.jpg"
        idle "mload iddle.jpg"
        hover "mload iddle.jpg"
        cache False
        
        hotspot (720,177,173,100) clicked FileLoad(1):
            use load_save_slot(number=1)
        hotspot (714,306,179,98) clicked FileLoad(2):
            use load_save_slot(number=2)
        hotspot (720,441,172,94) clicked FileLoad(3):
            use load_save_slot(number=3)
        hotspot (720,568,172,92) clicked FileLoad(4):
            use load_save_slot(number=4)
        hotspot (1022,314,171,95) clicked FileLoad(6):
            use load_save_slot(number=6)
        hotspot (1021,447,178,101) clicked FileLoad(7):
            use load_save_slot(number=7)
        hotspot (1022,575,179,94) clicked FileLoad(8):
            use load_save_slot(number=8)

        hotspot (19,20,278,124) action Return()
    
screen load_save_slot:

    add FileScreenshot(number) xpos 220 ypos 20
    
    key "save_delete" action FileDelete(number)
    
init -2 python:
    
    config.thumbnail_width = 180
    config.thumbnail_height = 150
if anyone can help ^^

Post Reply

Who is online

Users browsing this forum: Google [Bot]