So my question here is can I fix how far the slider thumb goes along the bar?
The reason is my bar has decorations on both ends, and I don't want the slider to go past those decorations. Is there a way to code that?
When I fix the xmaximum it chops off the decorations off my bar, so that's not what I want. What I want is the slider to start at a certain point on the bar and end a certain point on the bar. Is this possible? I tried looking in the documentation and other forum posts but couldn't find something (although if I missed something a link would help too!!)
Thank you to anyone who can help!
Fixing Slider Thumb's Space To Move
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.
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.
-
- Newbie
- Posts: 18
- Joined: Fri Oct 07, 2016 9:58 pm
- Tumblr: dozenroses.tumblr.com
- Contact:
- Empish
- Veteran
- Posts: 221
- Joined: Thu Jan 14, 2016 9:52 pm
- Projects: Efemural Hearts, It Ends With Graduation
- itch: empish
- Contact:
Re: Fixing Slider Thumb's Space To Move
Try using left_gutter and right_gutter. You can see it working in action in my tutorial video for bars here.
Also, if you want to limit the size of your bar and don't want it to crop the decorations, try bar_resizing True.
Also, if you want to limit the size of your bar and don't want it to crop the decorations, try bar_resizing True.
-
- Newbie
- Posts: 18
- Joined: Fri Oct 07, 2016 9:58 pm
- Tumblr: dozenroses.tumblr.com
- Contact:
Re: Fixing Slider Thumb's Space To Move
This is perfect, worked exactly as I wanted, thank you so much!
(I cant believe i missed that in the documentation, my goodness )
Who is online
Users browsing this forum: Google [Bot], Ocelot