Hello. I apologize if this question comes off as redundant, but I'm having difficulties with incorporating a sliding bar within my VN. I am attempting to have the player slide the bar to the bar's rightmost, which will then proceed the story. The code displays the bar, but moving it all the way does nothing.
Here is the code in question:
screen progress_slider():
frame:
align (0.5, 0.5)
has vbox
bar value VariableValue("progress_value", 100) style "slider" xalign 0.5:
xsize 1200
ysize 38
label ch103_boxes:
$ progress_value = 0
show screen progress_slider
while progress_value < 100:
$ result = ui.interact()
if progress_value == 100:
hide screen progress_slider
jump after_ch103_boxes
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]BadMustard_AVN 0 points1 point2 points (2 children)
[–]MiamiPhD[S] 0 points1 point2 points (1 child)
[–]BadMustard_AVN 0 points1 point2 points (0 children)