Toggleable forward-scroll for game #13

Closed
opened 2021-06-13 02:18:55 +00:00 by MichaelYick · 3 comments
Owner

As of now, scrolling forward and back only goes over text the player has seen. Anon has requested we implement a feature in where merely scrolling pushes text forward. This conflicts with traditional renpy functionality (as scrolling up and down go back and forth respectively in text you've already seen) thus it should be an enabled feature rather than a feature hard-coded in.

Tips:
"enable lewd images" is a custom menu option I programmed in and can work as a template on how to make menu options.
I think the renpy wiki has some stuff on rebinding controls, but I wouldn't bet on it.

As of now, scrolling forward and back only goes over text the player has seen. Anon has requested we implement a feature in where merely scrolling pushes text forward. This conflicts with traditional renpy functionality (as scrolling up and down go back and forth respectively in text you've already seen) thus it should be an enabled feature rather than a feature hard-coded in. Tips: "enable lewd images" is a custom menu option I programmed in and can work as a template on how to make menu options. I think the renpy wiki has some stuff on rebinding controls, but I wouldn't bet on it.
MichaelYick added the
enhancement
Low Priority
labels 2021-06-13 02:18:55 +00:00

Shockingly they do! keymap
Adding

config.keymap['dismiss'].append('mousedown_5')

inside the init python adds that functionality, now I just need to tweak it to set it to a variable

EDIT: Using the template you laid out worked perfectly to add a menu option to enable it, although as written it needs a game restart to take effect (assumedly because it's inside the init) will tweak later.

Shockingly they do! [keymap](https://www.renpy.org/doc/html/keymap.html) Adding ``` config.keymap['dismiss'].append('mousedown_5') ``` inside the init python adds that functionality, now I just need to tweak it to set it to a variable EDIT: Using the template you laid out worked perfectly to add a menu option to enable it, although as written it needs a game restart to take effect (assumedly because it's inside the init) will tweak later.
Author
Owner

neat.

neat.
MichaelYick added this to the Monster-Update-6 milestone 2021-06-21 22:15:04 +00:00
MichaelYick referenced this issue from a commit 2021-07-01 06:47:44 +00:00
Author
Owner

863aa68070
fixes this issue

https://git.snootgame.xyz/Cavemanon/SnootGame/commit/863aa680709ea16e2f0e798e73600ae34c0e6113 fixes this issue
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Cavemanon/SnootGame#13
No description provided.