Making something happen with bars
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.
-
MisterHarold
- Regular
- Posts: 49
- Joined: Tue Jul 17, 2018 10:32 am
- Location: Philippines
- Contact:
Making something happen with bars
For example, if you slide a bar slider and it reaches a certain or specific value the background will change or it will jump to a label. Is it possible to do this with bars?
- Ocelot
- Eileen-Class Veteran
- Posts: 1882
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Making something happen with bars
You can use:
a) changed property of bar itself:
https://www.renpy.org/doc/html/screens.html#bar
https://www.renpy.org/doc/html/screen_p ... adjustment
a) changed property of bar itself:
https://www.renpy.org/doc/html/screens.html#bar
b) changed member of associated adjustment:changed
If given, this should be a Python function. The function is called with the value of the adjustment when the adjustment is changed.
https://www.renpy.org/doc/html/screen_p ... adjustment
changed
This function is called with the new value when the value of the adjustment changes.
< < insert Rick Cook quote here > >
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot]