From 5980ecade7e0abfd1cf4ab9dbd6ff8053f6b5fa5 Mon Sep 17 00:00:00 2001 From: CaveManon Date: Thu, 1 Jul 2021 01:07:25 -0500 Subject: [PATCH] implemented forward scroll --- game/screens.rpy | 4 ++++ game/script.rpy | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/game/screens.rpy b/game/screens.rpy index c886347..996ff7c 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -935,6 +935,10 @@ screen preferences(): style_prefix "check" label _("Naughty Stuff") textbutton _("Enable Lewd Images") action ToggleVariable("persistent.lewd", True, False) + vbox: + style_prefix "check" + label _("Requires Restart") + textbutton _("Enable Forward-Scroll Movement") action ToggleVariable("persistent.scroll", True, False) vbox: diff --git a/game/script.rpy b/game/script.rpy index 41c55d3..1eb9165 100644 --- a/game/script.rpy +++ b/game/script.rpy @@ -23,9 +23,8 @@ init python: picked = random.randint(0,length - 1) fileName = files[picked] renpy.show(fileName, at_list=[randPosition]) - #for issue #13 not finalized - #if persistent.scroll == True: - # config.keymap['dismiss'].append('mousedown_5') + if persistent.scroll == True: + config.keymap['dismiss'].append('mousedown_4') transform randPosition: alpha 0.0