Page 1 of 1

(Solved) Skipping is always enabled?

Posted: Thu Jul 23, 2020 4:03 pm
by lunamoon
Hello! I recently finished my first game and as I was playing through it I noticed that skipping was enabled even though none of the skipping options were turned on in the settings menu. One of my friends who is testing my game said the same thing is happening to him. I tried to look around in the files to see if there was any code that indicates that skipping is always enabled, but to no avail. Unfortunately, it is difficult for me to pinpoint where this problem may have originated as I have been working on this game for a really long time. I'd like to have skipping disabled unless it is turned on in the settings menu.
Where should I go in the game files to find what's causing this issue, and/or what code should I use to fix it?

Re: Skipping is always enabled?

Posted: Fri Jul 24, 2020 12:19 pm
by Andredron

Code: Select all

screen preferences():
    if main_menu:
        add gui.main_menu_background
    else:
        add "black2"

    use game_menu(_("環境設定"), scroll="viewport"):
        
        vbox:
            

            hbox:
                spacing 10
                box_wrap True


###################################################################################################Here are the settings you need
                vbox:
                    style_prefix "radio"
                    label _("After Choices")
                    textbutton _("Stop Skipping") action Preference("after choices", "stop")
                    textbutton _("Keep Skipping") action Preference("after choices", "skip")
                    
                vbox:
                    style_prefix "radio"
                    label _("Skip")
                    textbutton _("Seen Messages") action Preference("skip", "seen")
                    textbutton _("All Messages") action Preference("skip", "all")

###################################################################################################

                if renpy.variant("pc"):
                    vbox:
                        style_prefix "radio"
                        label _("Display")
                        textbutton _("Window") action Preference("display", "window")
                        textbutton _("Fullscreen") action Preference("display", "fullscreen")
                        
                if renpy.variant("mobile"):
                    vbox:
                        style_prefix "radio"
                        label _("Rollback Side")
                        textbutton _("Disable") action Preference("rollback side", "disable")
                        textbutton _("Left") action Preference("rollback side", "left")
                        textbutton _("Right") action Preference("rollback side", "right")


                ## この場所に "radio_pref" または "check_pref" をスタイルに持つ
                ## vbox を追加して、開発者が定義した環境設定を増やすことができま
                ## す。

            null height (4 * gui.pref_spacing)

            hbox:
                style_prefix "slider"
                box_wrap True

                vbox:

                    label _("文字表示速度")

                    bar value Preference("text speed")

                    label _("オート待ち時間")

                    bar value Preference("auto-forward time")
                    vbox:
                        style_prefix "radio"
                        label _("Language")
                        textbutton _("Japan") action Language(None)
                        textbutton _("Русский")  action Language("russian")
                vbox:
                    if config.has_music:
                        label _("音楽の音量")

                        hbox:
                            bar value Preference("music volume")


                    if config.has_sound:

                        label _("効果音の音量")

                        hbox:
                            bar value Preference("sound volume")

                            if config.sample_sound:
                                textbutton _("テスト") action Play("sound", config.sample_sound)


                    if config.has_voice:
                        label _("ボイスの音量")

                        hbox:
                            bar value Preference("voice volume")

                            if config.sample_voice:
                                textbutton _("テスト") action Play("voice", config.sample_voice)

                    if config.has_music or config.has_sound or config.has_voice:
                        null height gui.pref_spacing
                    vbox:
                        style_prefix "radio"
                        textbutton _("Takayuki Voice") action ToggleVoiceMute("taka")
                        textbutton _("Voice male") action ToggleVoiceMute("male")
                        textbutton _("Voice female") action ToggleVoiceMute("female")
                        
Then, you go into the renpy launcher, and there you Delete Persistent. Profit


As a last resort, if it did not work, you registered a pass automatically somewhere in the settings, then you need to look where you wrote it down

Re: Skipping is always enabled?

Posted: Fri Jul 24, 2020 2:19 pm
by lunamoon
It worked!! Thank you so much!