Save option is grayed out?
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.
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.
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Save option is grayed out?
On all of my games that I'm working on, the save function seems to be grayed out. I'm not exactly sure why...I don't know if I somehow disabled the save feature or maybe there are two many saves somehow.. Does anyone know what might be the problem? I don't really need to save anything, I just noticed it's there but it isn't working..
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Save option is grayed out?
Could you specify which button it is that you're talking about?
Is it the buttons on the lower right of the game as you play (quick menu), or the buttons that can be accessed from menus (navigation)?
Is it the buttons on the lower right of the game as you play (quick menu), or the buttons that can be accessed from menus (navigation)?
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
All of them. No matter where it's located. A custom menu. The main menu. A normal bottom-located menu.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Save option is grayed out?
Which page are you on?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
Just within any of my storyline pages or quick menus. lol It could be something I did. but I have no idea what happened.
- 78909087
- Veteran
- Posts: 277
- Joined: Sat Aug 16, 2014 2:33 pm
- Completed: Dungeons and Don't Do It, Wake Up
- Projects: Lethe
- IRC Nick: Pacermist
- Contact:
Re: Save option is grayed out?
Check your code in your screens file,
Under navigation:
And then under quick menu:
Those are the codes I have under my game, if you replace yours with these and it still isn't working, please respond.
Under navigation:
Code: Select all
screen navigation():
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Save Game") action ShowMenu("save")
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Main Menu") action MainMenu()
textbutton _("Help") action Help()
textbutton _("Quit") action Quit()
init -2:
# Make all game menu navigation buttons the same size.
style gm_nav_button:
size_group "gm_nav"
Code: Select all
screen quick_menu():
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 1.0
yalign 1.0
textbutton _("Back") action Rollback()
textbutton _("Save") action ShowMenu('save')
textbutton _("Q.Save") action QuickSave()
textbutton _("Q.Load") action QuickLoad()
textbutton _("Skip") action Skip()
textbutton _("F.Skip") action Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Prefs") action ShowMenu('preferences')
init -2:
style quick_button:
is default
background None
xpadding 5
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
It isn't working still....you know, it might be because I'm using a custom theme i got from someone else. I'm looking into it. now none of the buttons are working. i cant even open the quick menu. hmm. okay, ill just carefully scan this whole screen file
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
I created my own menu and menu button. everything works but the save feature....omg hahahaha grrrrrr
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
I'll just paste the whole screens.rpy here
Can you spot anything wrong? I can't. Can the problem be somewhere else?
I'm gonna go check the options.rpy right now.
Can you spot anything wrong? I can't. Can the problem be somewhere else?
Code: Select all
# This file is in the public domain. Feel free to modify it as a basis
# for your own screens.
# Note that many of these screens may be given additional arguments in the
# future. The use of **kwargs in the parameter list ensures your code will
# work in the future.
##############################################################################
# Say
#
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say(who, what, side_image=None, two_window=False):
# Decide if we want to use the one-window or two-window variant.
if not two_window:
# The one window variant.
window:
id "window"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what"
else:
# The two window variant.
vbox:
style "say_two_window_vbox"
if who:
window:
style "say_who_window"
text who:
id "who"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
# If there's a side image, display it above the text.
if side_image:
add side_image
else:
add SideImage() xalign 0.0 yalign 1.0
# Use the quick menu.
use quick_menu
##############################################################################
# Choice
#
# Screen that's used to display in-game menus.
# http://www.renpy.org/doc/html/screen_special.html#choice
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.5
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
init -2:
$ config.narrator_menu = True
style menu_window is default
style menu_choice is button_text:
clear
style menu_choice_button is button:
xminimum int(config.screen_width * 0.75)
xmaximum int(config.screen_width * 0.75)
##############################################################################
# Input
#
# Screen that's used to display renpy.input()
# http://www.renpy.org/doc/html/screen_special.html#input
screen input(prompt):
window style "input_window":
has vbox
text prompt style "input_prompt"
input id "input" style "input_text"
use quick_menu
##############################################################################
# Nvl
#
# Screen used for nvl-mode dialogue and menus.
# http://www.renpy.org/doc/html/screen_special.html#nvl
screen nvl(dialogue, items=None):
window:
style "nvl_window"
has vbox:
style "nvl_vbox"
# Display dialogue.
for who, what, who_id, what_id, window_id in dialogue:
window:
id window_id
has hbox:
spacing 10
if who is not None:
text who id who_id
text what id what_id
# Display a menu, if given.
if items:
vbox:
id "menu"
for caption, action, chosen in items:
if action:
button:
style "nvl_menu_choice_button"
action action
text caption style "nvl_menu_choice"
else:
text caption style "nvl_dialogue"
add SideImage() xalign 0.0 yalign 1.0
use quick_menu
##############################################################################
# Main Menu
#
# Screen that's used to display the main menu, when Ren'Py first starts
# http://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu():
# This ensures that any other menu screen is replaced.
tag menu
# The background of the main menu.
window:
style "mm_root"
# The main menu buttons.
frame:
style_group "mm"
xalign .98
yalign .98
has vbox
textbutton _("Start Game") action Start()
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Help") action Help()
textbutton _("Quit") action Quit(confirm=False)
init -2:
# Make all the main menu buttons be the same size.
style mm_button:
size_group "mm"
##############################################################################
# Navigation
#
# Screen that's included in other screens to display the game menu
# navigation and background.
# http://www.renpy.org/doc/html/screen_special.html#navigation
screen navigation():
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Save Game") action ShowMenu("save")
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Main Menu") action MainMenu()
textbutton _("Help") action Help()
textbutton _("Quit") action Quit()
init -2:
# Make all game menu navigation buttons the same size.
style gm_nav_button:
size_group "gm_nav"
##############################################################################
# Save, Load
#
# Screens that allow the user to save and load the game.
# http://www.renpy.org/doc/html/screen_special.html#save
# http://www.renpy.org/doc/html/screen_special.html#load
# Since saving and loading are so similar, we combine them into
# a single screen, file_picker. We then use the file_picker screen
# from simple load and save screens.
screen file_picker():
frame:
style "file_picker_frame"
has vbox
# The buttons at the top allow the user to pick a
# page of files.
hbox:
style_group "file_picker_nav"
textbutton _("Previous"):
action FilePagePrevious()
textbutton _("Auto"):
action FilePage("auto")
textbutton _("Quick"):
action FilePage("quick")
for i in range(1, 9):
textbutton str(i):
action FilePage(i)
textbutton _("Next"):
action FilePageNext()
$ columns = 2
$ rows = 5
# Display a grid of file slots.
grid columns rows:
transpose True
xfill True
style_group "file_picker"
# Display ten file slots, numbered 1 - 10.
for i in range(1, columns * rows + 1):
# Each file slot is a button.
button:
action FileAction(i)
xfill True
has hbox
# Add the screenshot.
add FileScreenshot(i)
$ file_name = FileSlotName(i, columns * rows)
$ file_time = FileTime(i, empty=_("Empty Slot."))
$ save_name = FileSaveName(i)
text "[file_name]. [file_time!t]\n[save_name!t]"
key "save_delete" action FileDelete(i)
screen save():
# This ensures that any other menu screen is replaced.
tag menu
use navigation
use file_picker
screen load():
# This ensures that any other menu screen is replaced.
tag menu
use navigation
use file_picker
init -2:
style file_picker_frame is menu_frame
style file_picker_nav_button is small_button
style file_picker_nav_button_text is small_button_text
style file_picker_button is large_button
style file_picker_text is large_button_text
##############################################################################
# Preferences
#
# Screen that allows the user to change the preferences.
# http://www.renpy.org/doc/html/screen_special.html#prefereces
screen preferences():
tag menu
# Include the navigation.
use navigation
# Put the navigation columns in a three-wide grid.
grid 3 1:
style_group "prefs"
xfill True
# The left column.
vbox:
frame:
style_group "pref"
has vbox
label _("Display")
textbutton _("Window") action Preference("display", "window")
textbutton _("Fullscreen") action Preference("display", "fullscreen")
frame:
style_group "pref"
has vbox
label _("Transitions")
textbutton _("All") action Preference("transitions", "all")
textbutton _("None") action Preference("transitions", "none")
frame:
style_group "pref"
has vbox
label _("Text Speed")
bar value Preference("text speed")
frame:
style_group "pref"
has vbox
textbutton _("Joystick...") action Preference("joystick")
vbox:
frame:
style_group "pref"
has vbox
label _("Skip")
textbutton _("Seen Messages") action Preference("skip", "seen")
textbutton _("All Messages") action Preference("skip", "all")
frame:
style_group "pref"
has vbox
textbutton _("Begin Skipping") action Skip()
frame:
style_group "pref"
has vbox
label _("After Choices")
textbutton _("Stop Skipping") action Preference("after choices", "stop")
textbutton _("Keep Skipping") action Preference("after choices", "skip")
frame:
style_group "pref"
has vbox
label _("Auto-Forward Time")
bar value Preference("auto-forward time")
if config.has_voice:
textbutton _("Wait for Voice") action Preference("wait for voice", "toggle")
vbox:
frame:
style_group "pref"
has vbox
label _("Music Volume")
bar value Preference("music volume")
frame:
style_group "pref"
has vbox
label _("Sound Volume")
bar value Preference("sound volume")
if config.sample_sound:
textbutton _("Test"):
action Play("sound", config.sample_sound)
style "soundtest_button"
if config.has_voice:
frame:
style_group "pref"
has vbox
label _("Voice Volume")
bar value Preference("voice volume")
textbutton _("Voice Sustain") action Preference("voice sustain", "toggle")
if config.sample_voice:
textbutton _("Test"):
action Play("voice", config.sample_voice)
style "soundtest_button"
init -2:
style pref_frame:
xfill True
xmargin 5
top_margin 5
style pref_vbox:
xfill True
style pref_button:
size_group "pref"
xalign 1.0
style pref_slider:
xmaximum 192
xalign 1.0
style soundtest_button:
xalign 1.0
##############################################################################
# Yes/No Prompt
#
# Screen that asks the user a yes or no question.
# http://www.renpy.org/doc/html/screen_special.html#yesno-prompt
screen yesno_prompt(message, yes_action, no_action):
modal True
window:
style "gm_root"
frame:
style_group "yesno"
xfill True
xmargin .05
ypos .1
yanchor 0
ypadding .05
has vbox:
xalign .5
yalign .5
spacing 30
label _(message):
xalign 0.5
hbox:
xalign 0.5
spacing 100
textbutton _("Yes") action yes_action
textbutton _("No") action no_action
# Right-click and escape answer "no".
key "game_menu" action no_action
init -2:
style yesno_button:
size_group "yesno"
style yesno_label_text:
text_align 0.5
layout "subtitle"
##############################################################################
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu():
# Add an in-game quick menu.
hbox:
style_group "quick"
xalign 1.0
yalign 1.0
textbutton _("Back") action Rollback()
textbutton _("Save") action ShowMenu('save')
textbutton _("Q.Save") action QuickSave()
textbutton _("Q.Load") action QuickLoad()
textbutton _("Skip") action Skip()
textbutton _("F.Skip") action Skip(fast=True, confirm=True)
textbutton _("Auto") action Preference("auto-forward", "toggle")
textbutton _("Prefs") action ShowMenu('preferences')
init -2:
style quick_button:
is default
background None
xpadding 5
style quick_button_text:
is default
size 12
idle_color "#8888"
hover_color "#ccc"
selected_idle_color "#cc08"
selected_hover_color "#cc0"
insensitive_color "#4448"
I'm gonna go check the options.rpy right now.
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
I changed it so everything was back to the original custom theme and the save button is still not usable.
Code: Select all
# This file is in the public domain. Feel free to modify it as a basis
# for your own screens.
# Note that many of these screens may be given additional arguments in the
# future. The use of **kwargs in the parameter list ensures your code will
# work in the future.
##############################################################################
# Say
#
# Screen that's used to display adv-mode dialogue.
# http://www.renpy.org/doc/html/screen_special.html#say
screen say(who, what, side_image=None, two_window=False):
# Decide if we want to use the one-window or two-window variant.
if not two_window:
# The one window variant.
window:
id "window"
has vbox:
style "say_vbox"
if who:
text who id "who"
text what id "what"
else:
# The two window variant.
vbox:
style "say_two_window_vbox"
if who:
window:
style "say_who_window"
text who:
id "who"
window:
id "window"
has vbox:
style "say_vbox"
text what id "what"
# If there's a side image, display it above the text.
if side_image:
add side_image
else:
add SideImage() xalign 0.0 yalign 1.0
# Use the quick menu.
use quick_menu
##############################################################################
# Choice
#
# Screen that's used to display in-game menus.
# http://www.renpy.org/doc/html/screen_special.html#choice
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.5
vbox:
style "menu"
spacing 2
for caption, action, chosen in items:
if action:
button:
action action
style "menu_choice_button"
text caption style "menu_choice"
else:
text caption style "menu_caption"
init -2:
$ config.narrator_menu = True
style menu_window is default
style menu_choice is button_text:
clear
style menu_choice_button is button:
xminimum int(config.screen_width * 0.75)
xmaximum int(config.screen_width * 0.75)
##############################################################################
# Input
#
# Screen that's used to display renpy.input()
# http://www.renpy.org/doc/html/screen_special.html#input
screen input(prompt):
window style "input_window":
has vbox
text prompt style "input_prompt"
input id "input" style "input_text"
use quick_menu
##############################################################################
# Nvl
#
# Screen used for nvl-mode dialogue and menus.
# http://www.renpy.org/doc/html/screen_special.html#nvl
screen nvl(dialogue, items=None):
window:
style "nvl_window"
has vbox:
style "nvl_vbox"
# Display dialogue.
for who, what, who_id, what_id, window_id in dialogue:
window:
id window_id
has hbox:
spacing 10
if who is not None:
text who id who_id
text what id what_id
# Display a menu, if given.
if items:
vbox:
id "menu"
for caption, action, chosen in items:
if action:
button:
style "nvl_menu_choice_button"
action action
text caption style "nvl_menu_choice"
else:
text caption style "nvl_dialogue"
add SideImage() xalign 0.0 yalign 1.0
use quick_menu
##############################################################################
# Main Menu
#
# Screen that's used to display the main menu, when Ren'Py first starts
# http://www.renpy.org/doc/html/screen_special.html#main-menu
screen main_menu():
# This ensures that any other menu screen is replaced.
tag menu
add "ui/background.png"
add "ui/menus/mainmenu/stripe.png"
add "ui/logo.png"
imagemap:
ground "ui/menus/mainmenu/mm_ground.png"
idle "ui/menus/mainmenu/mm_ground.png"
hover "ui/menus/mainmenu/mm_hover.png"
alpha False
cache False
hotspot (100,600,180,64) action Start() at buttonfade
hotspot (338,600,146,64) action ShowMenu('load') at buttonfade
hotspot (540, 600, 161, 64) action ShowMenu("preferences") at buttonfade
hotspot (764,600,154,64) action Quit(confirm=False) at buttonfade
# The background of the main menu.
#window:
#style "mm_root"
# The main menu buttons.
#frame:
#style_group "mm"
#xalign .98
#yalign .98
#has vbox
#textbutton _("Start Game") action Start()
#textbutton _("Load Game") action ShowMenu("load")
#textbutton _("Preferences") action ShowMenu("preferences")
#textbutton _("Help") action Help()
#textbutton _("Quit") action Quit(confirm=False)
#init -2:
# Make all the main menu buttons be the same size.
#style mm_button:
#size_group "mm"
##############################################################################
# Navigation
#
# Screen that's included in other screens to display the game menu
# navigation and background.
# http://www.renpy.org/doc/html/screen_special.html#navigation
screen navigation():
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
textbutton _("Preferences") action ShowMenu("preferences")
textbutton _("Save Game") action ShowMenu("save")
textbutton _("Load Game") action ShowMenu("load")
textbutton _("Main Menu") action MainMenu()
textbutton _("Help") action Help()
textbutton _("Quit") action Quit()
init -2:
# Make all game menu navigation buttons the same size.
style gm_nav_button:
size_group "gm_nav"
##############################################################################
# Save, Load
#
# Screens that allow the user to save and load the game.
# http://www.renpy.org/doc/html/screen_special.html#save
# http://www.renpy.org/doc/html/screen_special.html#load
# Since saving and loading are so similar, we combine them into
# a single screen, file_picker. We then use the file_picker screen
# from simple load and save screens.
screen file_picker:
imagemap:
ground "ui/menus/saveload/sl_ground.png"
hover "ui/menus/saveload/sl_hover.png"
idle "ui/menus/saveload/sl_ground.png"
selected_idle "ui/menus/saveload/sl_hover.png"
selected_hover "ui/menus/saveload/sl_hover.png"
add "ui/menus/saveload/sl_ground.png"
add "ui/background.png"
add "ui/scrap.png"
add "ui/protip.png"
cache False
alpha False
hotspot (106,624,65,41) at buttonfade action FilePagePrevious()
hotspot (882,624,65,41) at buttonfade action FilePageNext(max=5)
hotspot (175,624,95,36) at buttonfade clicked FilePage("auto")
hotspot (296, 634, 79, 27) at buttonfade clicked FilePage("1")
hotspot (402, 623, 94, 38) at buttonfade clicked FilePage("2")
hotspot (522, 612, 125, 47) at buttonfade clicked FilePage("3")
hotspot (670, 623, 87, 38) at buttonfade clicked FilePage("4")
hotspot (780, 623, 94, 38) at buttonfade clicked FilePage("5")
hotspot (69,306,272,208) clicked FileAction(1):
use load_save_slot(number=1)
hotspot (388,306,270,206) clicked FileAction(2):
use load_save_slot(number=2)
hotspot (691,306,271,206) clicked FileAction(3):
use load_save_slot(number=3)
key "save_delete" action FileDelete(1)
screen save:
# This ensures that any other menu screen is replaced.
tag menu
use file_picker
add "ui/menus/saveload/add_save_label.png"
screen load:
# This ensures that any other menu screen is replaced.
tag menu
use file_picker
add "ui/menus/saveload/add_load_label.png"
##############################################
############# ################
############## LOAD SAVE SLOTS #################
############# ################
##############################################
screen load_save_slot:
$ file_text = "%2s. %s\n %s" % (
FileSlotName(number, 3),
FileTime(number, empty=_("Empty Slot")),
FileSaveName(number))
add FileScreenshot(number) xpos 4 ypos 5
text file_text xpos 15 ypos 220 size 23 drop_shadow [(1, 2)] #font "palooka-bb.regular.ttf"
init -2 python:
config.thumbnail_width = 262
config.thumbnail_height = 196
##############################################################################
# Preferences
#
# Screen that allows the user to change the preferences.
# http://www.renpy.org/doc/html/screen_special.html#prefereces
screen preferences:
tag menu
add "ui/background.png"
add "ui/scrap.png"
add "ui/protip.png"
add "ui/menus/prefs/add_options_label.png"
imagemap:
ground "ui/menus/prefs/pm_ground.png"
hover "ui/menus/prefs/pm_hover.png"
selected_idle "ui/menus/prefs/pm_hover.png"
alpha False
cache False
hotspot (163,307,290,40) action Preference("display", "toggle") at buttonfade
hotspot (589,307,261,54) action Preference("skip", "toggle") at buttonfade
hotspot (589,413,273,55) action Preference("after choices", "toggle") at buttonfade
hotspot (152,413,311,42) action Preference("transitions","toggle") at buttonfade
bar pos (116,650) value Preference("sound volume") style "pref_slider"
bar pos (562,650) value Preference("music volume") style "pref_slider"
init -2 python:
style.pref_frame.xfill = True
style.pref_frame.xmargin = 5
style.pref_frame.top_margin = 5
style.pref_vbox.xfill = True
style.pref_button.size_group = "pref"
style.pref_button.xalign = 1.0
style.pref_slider.left_bar = "ui/menus/prefs/bar_full.png"
style.pref_slider.right_bar = "ui/menus/prefs/bar_empty.png"
style.pref_slider.hover_left_bar = "ui/menus/prefs/bar_full.png"
style.pref_slider.ymaximum = 18
style.pref_slider.xmaximum = 365
style.pref_slider.thumb = None
##############################################################################
# Yes/No Prompt
#
# Screen that asks the user a yes or no question.
# http://www.renpy.org/doc/html/screen_special.html#yesno-prompt
screen yesno_prompt:
#on "show" action With(dissolve)
#modal True
add "ui/background.png"
imagemap:
ground 'ui/menus/yesno/yesno_ground.png'
idle 'ui/menus/yesno/yesno_idle.png'
hover 'ui/menus/yesno/yesno_hover.png'
hotspot (314,438,135,48) action yes_action at buttonfade
hotspot (553,438,128,48) action no_action at buttonfade
if message == layout.ARE_YOU_SURE:
add "ui/menus/yesno/yesno_are_you_sure.png"
elif message == layout.DELETE_SAVE:
add "ui/menus/yesno/yesno_delete_save.png"
elif message == layout.OVERWRITE_SAVE:
add "ui/menus/yesno/yesno_overwrite_save.png"
elif message == layout.LOADING:
add "ui/menus/yesno/yesno_loading.png"
elif message == layout.QUIT:
add "ui/menus/yesno/yesno_quit.png"
elif message == layout.MAIN_MENU:
add "ui/menus/yesno/yesno_main_menu.png"
##############################################################################
# Quick Menu
#
# A screen that's included by the default say screen, and adds quick access to
# several useful functions.
screen quick_menu:
imagemap:
alpha False
cache False
ground "ui/menus/quickmenu/qm_ground.png"
idle "ui/blank.png"
hover "ui/menus/quickmenu/qm_hover.png"
selected_idle "ui/menus/quickmenu/qm_hover.png"
selected_hover "ui/menus/quickmenu/qm_hover.png"
hotspot (664,461,48,21) action ShowMenu('save') at buttonfade
hotspot (723,461,45,21) action ShowMenu('load') at buttonfade
hotspot (779,461,46,21) action Preference("auto-forward", "toggle") at buttonfade
hotspot (839,461,58,28) action ShowMenu('preferences') at buttonfade
transform buttonfade:
on idle:
alpha 1.0
on hover:
alpha 0.0
linear 0.1 alpha 1.0
on selected_hover:
alpha 0.0
linear 0.1 alpha 1.0
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Save option is grayed out?
Which page are you on? It'd be grayed out if you're stuck on the autosave page.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
There is a quick menu (which i want to take off anyway) and the save is not clickable.
And apparently I'm supposed to be able to exit menus using 'esc' and it doesn't work. I might just need to create a new project folder and transfer things over. I don't know.
And apparently I'm supposed to be able to exit menus using 'esc' and it doesn't work. I might just need to create a new project folder and transfer things over. I don't know.
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
This is the quick custom menu i made to debug with and you can see its unclickable:
and this is the quick menu that is there no matter what and you can't see it but it is unclickable here too:
So it's basically unclickable anywhere
and this is the quick menu that is there no matter what and you can't see it but it is unclickable here too:
So it's basically unclickable anywhere
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Save option is grayed out?
Hm... How are you starting your game. And what does the line:
"main_menu = [ main_menu ]"
say? (Place it right after start.)
I think you might have started your game wrong, so you're in the main menu context.
"main_menu = [ main_menu ]"
say? (Place it right after start.)
I think you might have started your game wrong, so you're in the main menu context.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- namastaii
- Eileen-Class Veteran
- Posts: 1350
- Joined: Mon Feb 02, 2015 8:35 pm
- Projects: Template Maker for Ren'Py, What Life
- Github: lunalucid
- Skype: Discord: lunalucid#1991
- Soundcloud: LunaLucidMusic
- itch: lunalucid
- Location: USA
- Contact:
Re: Save option is grayed out?
I think I did too because I was planning on creating a custom menu and probably accidentally bypassed a menu to begin with.
When I put "[main_menu]" it says True
How do I make sure the game goes through a beginning menu first?
When I put "[main_menu]" it says True
How do I make sure the game goes through a beginning menu first?
Who is online
Users browsing this forum: No registered users