How to disable /remove save options (solved)

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.
Message
Author
kahmehkahzeh
Regular
Posts: 62
Joined: Thu Apr 13, 2017 6:47 am
Contact:

Re: How to disable /remove save options

#16 Post by kahmehkahzeh »

the only thing missing is the script, why it works I do not know I am putting the script into my game, and I have trust issues and crap so I have not released any of my script to anyone yet. but that so far is working fine its only the GUI I have issues with... if that makes any sense... I try to keep my channel updated on this things progress, not sure if you can call it a game a novel or what... I just call it an experience

2/3 is put into the game now working on the last part and the endings

User avatar
Saltome
Veteran
Posts: 244
Joined: Sun Oct 26, 2014 1:07 pm
Deviantart: saltome
Contact:

Re: How to disable /remove save options

#17 Post by Saltome »

Okay, try this. create a new project, and only copy the screens file.
And tell me if you are getting an error when you test it, or if the bug is gone.

By the way, I know how you feel but you really don't have to worry about it.
Besides, most developers are too self-righteous to think that any project, other than their own. is worth their time, let alone stealing.
Deviant Art: Image
Discord: saltome
Itch: Phoenix Start

kahmehkahzeh
Regular
Posts: 62
Joined: Thu Apr 13, 2017 6:47 am
Contact:

Re: How to disable /remove save options

#18 Post by kahmehkahzeh »

So after destroying everything holy in this engine! I did this to create a blank right click page

Code: Select all

screen file_slots(title):
    
    default page_name_value = FilePageNameInputValue(pattern=_("Page {}"), auto=_("Automatic saves"), quick=_("Quick saves"))
    use navigation
   # use game_menu(title):

        #fixed:

            ## This ensures the input will get the enter event before any of the
            ## buttons do.
            #order_reverse True

            ## The page name, which can be edited by clicking on a button.
           # button:
            #    style "page_label"

               # key_events True
              #  xalign 0.5
              #  action page_name_value.Toggle()

              #  input:
                 #   style "page_label_text"
                 #   value page_name_value

            ## The grid of file slots.
           # 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, %B %d %Y, %H:%M"), empty=_("empty slot")):
                      #      style "slot_time_text"

                      #  text FileSaveName(slot):
                      #      style "slot_name_text"

                     #   key "save_delete" action FileDelete(slot)

            ## Buttons to access other pages.
           # hbox:
              #  style_prefix "page"

             #   xalign 0.5
             #   yalign 1.0

              #  spacing gui.page_spacing

              #  textbutton _("<") action FilePagePrevious()

              #  if config.has_autosave:
              #      textbutton _("{#auto_page}A") action FilePage("auto")

              #  if config.has_quicksave:
              #      textbutton _("{#quick_page}Q") action FilePage("quick")

                ## range(1, 10) gives the numbers from 1 to 9.
              #  for page in range(1, 10):
              #      textbutton "[page]" action FilePage(page)

              #  textbutton _(">") action FilePageNext()
under default page name I added a
use navigation
and now when you right click it shows the navigation in the top left corner.

This removed all save buttons and pages.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Nozori_Games