Is there a way to swap Auto-Forward Speed around?

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.
Post Reply
Message
Author
User avatar
magicfindsheep
Newbie
Posts: 7
Joined: Mon Apr 11, 2016 1:48 pm
Contact:

Is there a way to swap Auto-Forward Speed around?

#1 Post by magicfindsheep » Mon Apr 11, 2016 1:55 pm

Hello,

I'm new to the forum and definitely new to Renpy. I've kind of made a visual novel that is set to completion soon but I would like to know how to swap the Auto-Forward Speed?

This is because the Artwork for Auto Forward has Slow on the Left hand side when the bar is empty and Fast on the Right Hand side.

The current version of Renpy I'm using is renpy-6.99.4-sdk

I do not wish to update it at this current point because I am well aware that if I start coding on a newer engine, all the codes in this version might be messed up and the deadline is really soon.

[EDIT] there was one thread out there in a quick search that says that I had to tamper with some file in the renpy folder thing. Am wondering if it's possible not to? Or if i change it then everyone who gets the working version of the VN that i made, gets my changes as well?

Do help me out.

Thanks in advance!

Image

User avatar
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: Is there a way to swap Auto-Forward Speed around?

#2 Post by PyTom » Mon Apr 11, 2016 10:04 pm

You can give the bar the bar_invert True property.

But you might as well fix the graphics, since there's a misspelling in it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

User avatar
magicfindsheep
Newbie
Posts: 7
Joined: Mon Apr 11, 2016 1:48 pm
Contact:

Re: Is there a way to swap Auto-Forward Speed around?

#3 Post by magicfindsheep » Mon Apr 11, 2016 11:12 pm

Hello and thanks for the suggestion.

However, where do I put the bar_invert at?

Will it affect the other bars as well?

User avatar
Belgerum
Regular
Posts: 110
Joined: Thu Nov 06, 2014 12:24 am
Skype: belgerum09
Soundcloud: Belgerum
itch: Belgerum
Contact:

Re: Is there a way to swap Auto-Forward Speed around?

#4 Post by Belgerum » Tue Apr 12, 2016 1:00 am

magicfindsheep wrote:Hello and thanks for the suggestion.

However, where do I put the bar_invert at?

Will it affect the other bars as well?
Look through your screens.rpy file, find the bar you want to invert, and add the invert code like so:

Code: Select all

            frame:
                style_group "pref"
                has vbox

                label _("Auto-Forward Time")
                bar value Preference("auto-forward time") bar_invert True

                if config.has_voice:
                    textbutton _("Wait for Voice") action Preference("wait for voice", "toggle")
Last edited by Belgerum on Tue Aug 02, 2016 7:23 pm, edited 1 time in total.

User avatar
magicfindsheep
Newbie
Posts: 7
Joined: Mon Apr 11, 2016 1:48 pm
Contact:

Re: Is there a way to swap Auto-Forward Speed around?

#5 Post by magicfindsheep » Tue Apr 12, 2016 12:04 pm

it worked!

thanks a lot!!

User avatar
Nayru774
Regular
Posts: 118
Joined: Thu Sep 03, 2015 5:25 pm
Completed: SoulSet, Blankspace
Projects: The Elevator Game with Catgirls
Tumblr: NoBreadStudio
itch: nobreadstudio
Location: Poland
Contact:

Re: Is there a way to swap Auto-Forward Speed around?

#6 Post by Nayru774 » Tue Aug 02, 2016 8:41 am

I was also having this problem and the "bar_invert" you suggested was exactly what I was looking for and it worked great. Thank you for the help!
Image Image Image

Post Reply

Who is online

Users browsing this forum: _ticlock_