Please help me.
I'm new to renpy. And I'm sorry if my English is a bit lame, it's not my native language.
Is it possible to hide everything highlighted in yellow and change the background image of the background on the load and save screen? I have a background of Settings for some reason.
Code:
Code: Select all
screen save():
tag menu
add "gui/safe_bg.png" ###does not work
use file_slots(_("Сохранить"))
screen load():
tag menu
add "gui/load_bg.png" ###does not work
use file_slots(_("Загрузить"))
screen file_slots(title):
default page_name_value = FilePageNameInputValue(pattern=_("{} страница"), auto=_("Автосохранения"), quick=_("Быстрые сохранения"))
use game_menu(title):
fixed:
## Это гарантирует, что ввод будет принимать enter перед остальными
## кнопками.
order_reverse True
## Номер страницы, который может быть изменён посредством клика на
## кнопку.
button:
style "page_label"
key_events True
xalign 0.5
action page_name_value.Toggle()
input:
style "page_label_text"
value page_name_value
## Таблица слотов.
grid gui.file_slot_cols gui.file_slot_rows:
style_prefix "slot"
xalign 0.5
yalign 0.5
spacing gui.slot_spacing
for i in range(gui.file_slot_cols * gui.file_slot_rows):
$ slot = i + 1
button:
action FileAction(slot)
has vbox
add FileScreenshot(slot) xalign 0.5
text FileTime(slot, format=_("{#file_time}%A, %d %B %Y, %H:%M"), empty=_("Пустой слот")):
style "slot_time_text"
text FileSaveName(slot):
style "slot_name_text"
key "save_delete" action FileDelete(slot)
## Кнопки для доступа к другим страницам.
hbox:
style_prefix "page"
xalign 0.5
yalign 1.0
spacing gui.page_spacing
textbutton _("<") action FilePagePrevious()
if config.has_autosave:
textbutton _("{#auto_page}А") action FilePage("auto")
if config.has_quicksave:
textbutton _("{#quick_page}Б") action FilePage("quick")
## range(1, 10) задаёт диапазон значений от 1 до 9.
for page in range(1, 10):
textbutton "[page]" action FilePage(page)
textbutton _(">") action FilePageNext()
style page_label is gui_label
style page_label_text is gui_label_text
style page_button is gui_button
style page_button_text is gui_button_text
style slot_button is gui_button
style slot_button_text is gui_button_text
style slot_time_text is slot_button_text
style slot_name_text is slot_button_text
style page_label:
xpadding 50
ypadding 3
style page_label_text:
text_align 0.5
layout "subtitle"
hover_color gui.hover_color
style page_button:
properties gui.button_properties("page_button")
style page_button_text:
properties gui.button_text_properties("page_button")
style slot_button:
properties gui.button_properties("slot_button")
style slot_button_text:
properties gui.button_text_properties("slot_button")