I want to disable the ability to skip through transitions or animations via the dismiss keys. However as far as I can tell, I can't do this unless Ren'py's core code is modified.
In core.py, there is the line sb = renpy.display.behavior.SayBehavior() within interact_core, which I believe controls if transitions and animations can be skipped over, regardless or not if the player's seen them. I'm not sure there's any way to append/alias this block, or the related code (the surrounding class or SayBehaviour).
All I need to do is turn it to sb = renpy.display.behavior.SayBehavior(dismiss=[]). A change functional for the end user would be more like dimiss=config.atl_lang_dismiss (whose default setting is ['dismiss'].) Or, I guess it would be. I can't change SayBehaviour itself -- even if I could, it affects dialogue, pauses, movie display, and probably other elements. I want to leave those alone.
Feature request: disable dismiss of transitions
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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: Feature request: disable dismiss of transitions
Why not just use renpy.transition followed by a call to renpy.pause with hard=True?
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?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Re: Feature request: disable dismiss of transitions
That's something I've tried before, but it wasn't working as I expected it to...?
Oh, I see what was going on - in skip mode the hard pause would not be skipped if "unread", but the transition still would. Once the pause was "read", the unplaying transition was fine, because the pause was skipped and avoided making the behaviour visible.
EDIT: And the dimiss=[] edit makes it that the transition will not skip on dismiss, but will under skip, read or not. Which may or may not mean my issue is something entirely different to what I think. Oops.
EDIT: Addendum 2; it seems atl works well as an alternative for the thing where hard pause transitions will still skip the transition parts. Dunno how flexible atl blocks are though.
Oh, I see what was going on - in skip mode the hard pause would not be skipped if "unread", but the transition still would. Once the pause was "read", the unplaying transition was fine, because the pause was skipped and avoided making the behaviour visible.
EDIT: And the dimiss=[] edit makes it that the transition will not skip on dismiss, but will under skip, read or not. Which may or may not mean my issue is something entirely different to what I think. Oops.
EDIT: Addendum 2; it seems atl works well as an alternative for the thing where hard pause transitions will still skip the transition parts. Dunno how flexible atl blocks are though.
Who is online
Users browsing this forum: No registered users