Auto-forward time bar

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
Keinart
Regular
Posts: 133
Joined: Sun May 13, 2012 8:28 pm
Completed: One Thousand Lies
Projects: Lotus Reverie
Organization: Keinart Lobre
Tumblr: keinart
itch: keinart
Location: Spain
Contact:

Auto-forward time bar

#1 Post by Keinart » Sun Sep 27, 2015 9:26 pm

So I'm not sure if this is a new version thing because I don't really remember it being like this, but when I have the auto-forward bar filled it actually goes really slow, while it goes really fast the other way around. I think it should be the opposite especially considering how the "text speed" slider works that way, the text goes really fast when the bar is full and really slow when it's empty.

My code is normal and all the bars use the same style so I don't understand why the auto-forward works the other way around compared to the other bars. Am I the only one with this issue? Any way to change this around?

Code: Select all

    imagemap:   
        auto "menu/prefs_%s.png"
        
        hotspot (206, 261, 178, 124) action Preference("display", "fullscreen")
        hotspot (216, 126, 159, 121) action Preference("display", "window")
        hotspot (985, 131, 205, 118) action Preference("skip", "seen")
        hotspot (1000, 256, 169, 122) action Preference("skip", "all")
        hotspot (175, 528, 113, 116) action Language(None)
        hotspot (300, 524, 117, 121) action Language("english")
        bar pos (0.711, 128) value Preference("text speed") style "pref_slider"
        bar pos (0.711, 293) value Preference("auto-forward time") style "pref_slider"
        bar pos (0.711, 458) value Preference("music volume") style "pref_slider"
        bar pos (0.711, 623) value Preference("sound volume") style "pref_slider"
    
init -2 python:
    style.pref_frame.xfill = True
    style.pref_frame.xmargin = 5
    style.pref_frame.top_margin = 5

    style.pref_vbox.xfill = True

    style.pref_button.size_group = "pref"
    style.pref_button.xalign = 1.0

    style.pref_slider.left_bar = "menu/bar_full.png"
    style.pref_slider.right_bar = "menu/bar_empty.png"
    style.pref_slider.hover_left_bar = "menu/bar_hover.png"
    style.pref_slider.thumb = None
    style.pref_slider.xmaximum = 380
    style.pref_slider.ymaximum = 22
    style.pref_slider.xalign = 1.0
    style.soundtest_button.xalign = 1.0

philat
Eileen-Class Veteran
Posts: 1853
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Auto-forward time bar

#2 Post by philat » Sun Sep 27, 2015 10:27 pm

It's always been that way. The reason is that it's literally setting the TIME (more time before continuing meaning slower speed), whereas text speed sets the cps (more characters per second meaning faster speed).

You can fiddle around with the bars to adjust behavior or do away with the bar and just have slow / normal / fast, etc. Frankly most users won't benefit from the granularity of the bars. But it's up to you.

User avatar
Keinart
Regular
Posts: 133
Joined: Sun May 13, 2012 8:28 pm
Completed: One Thousand Lies
Projects: Lotus Reverie
Organization: Keinart Lobre
Tumblr: keinart
itch: keinart
Location: Spain
Contact:

Re: Auto-forward time bar

#3 Post by Keinart » Sun Sep 27, 2015 11:28 pm

I had this feeling it was the other way around but I guess I was mistaken. I was just rechecking my settings menu since I got a new brand GUI redesigned for my project and I realized this.

I guess I'll just change the behaviour of that bar, I think most players won't think of it in terms of time but of speed, for consistency. I also think most users would be ok with slow, normal, fast, but it is also true that some people is really picky with their reading speed and sometimes they want the auto speed to adjust to their own pace, so if you don't get it just right it can be frustating, so I prefer going for the bars so people can just mess around until they get satisfied. They also reduce the numbers of words in the settings menu, and since I'm aiming for minimalistic style I want to keep it as clear as possible.

In any case thanks for confirming me this. I just inverted its value and it works just fine

Code: Select all

    imagemap:   
        auto "menu/prefs_%s.png"
        
        hotspot (206, 261, 178, 124) action Preference("display", "fullscreen")
        hotspot (216, 126, 159, 121) action Preference("display", "window")
        hotspot (985, 131, 205, 118) action Preference("skip", "seen")
        hotspot (1000, 256, 169, 122) action Preference("skip", "all")
        hotspot (175, 528, 113, 116) action Language(None)
        hotspot (300, 524, 117, 121) action Language("english")
        bar pos (0.711, 128) value Preference("text speed") style "pref_slider"
        bar pos (0.711, 293) value Preference("auto-forward time") style "pref_slider2"
        bar pos (0.711, 458) value Preference("music volume") style "pref_slider"
        bar pos (0.711, 623) value Preference("sound volume") style "pref_slider"
    
init -2 python:
    style.pref_frame.xfill = True
    style.pref_frame.xmargin = 5
    style.pref_frame.top_margin = 5

    style.pref_vbox.xfill = True

    style.pref_button.size_group = "pref"
    style.pref_button.xalign = 1.0

    style.pref_slider.left_bar = "menu/bar_full.png"
    style.pref_slider.right_bar = "menu/bar_empty.png"
    style.pref_slider.hover_left_bar = "menu/bar_hover.png"
    style.pref_slider.thumb = None
    style.pref_slider.xmaximum = 380
    style.pref_slider.ymaximum = 22
    style.pref_slider.xalign = 1.0
    style.soundtest_button.xalign = 1.0
    
    style.pref_slider2 = Style(style.pref_slider)
    style.pref_slider2.bar_invert = True

Post Reply

Who is online

Users browsing this forum: No registered users