## Replay Gallery screen ###################################### ## ## This is a simple screen that shows buttons that replay a scene from the game. init python: maxthumbx = config.screen_width / (3 + 1) maxthumby = config.screen_height / (3 + 1) replay_page = 0 class ReplayItem: def __init__(self, thumbs, replay, name): self.thumbs = thumbs self.replay = replay self.name = name def num_replay(self): return len(self.thumbs) #add replay items here format below #Replay_items.append(ReplayItem(["the thumbnail"], "the_label_from_code", "brief description")) Replay_items = [] Replay_items.append(ReplayItem(["images/gallery/firstfall.jpg"], "firstfall", "{color=#000}Monica fall 1{/color}")) Replay_items.append(ReplayItem(["images/gallery/patreon.jpg"], "patreon", "{color=#000}Patreon explaination{/color}")) # a black background screen for the selection image black = "#000" #the locked image for the replay gallery if you're using the gallery you can use the same (if you want to) image replay_locked = "images/gallery/replay_lock.png" #384x216 (16x9) set 1280x720p for the lock and thumbnails #600x338 (16x9) set 1920x1080 for the lock and thumbnails #replay thumbnails images setup defined here
Viewing post in Easy Ren'Py Image and Replay Gallery comments
No add that at the start of the replay area (the label that you start the replay at) add that code
label firstfall: # <-- replay label to start the replay
if _in_replay: # add this and the next 3 lines of code
$ nome_protagonista = persistent.nome_protagonista
$ nome_landlady = persistent.nome_landlady
$ nome_ruolo = persistent.nome_ruolo
you will have to add this to every replay label...