Hello everyone, I would like to know if it's possible to play an animation (video or series of images) on Renpy in the following way:
show myvideo
-Idle, no click or movement = frame 1
-Click on the image + drag to the left, for example = video playback until the last frame. The further to the left I drag, the more the video progresses until the last frame.
-If I drag to the right the further to the right I drag, the more the video goes back to the beginning.
-When I drag for more than 3 seconds to the left and I am at the last frame, it continues to the next image, or a label, or an image button, whatever (maybe imagebutton is the best option).
To put it simply, imagine a character on the right side of the screen, I click on it (or anywhere on the screen if it's easier) and when I drag the mouse to the left while holding the click, the video plays, showing the character moving from the right side of the screen to the left.
(i can send an exemple in PM)
Thanks for your help.
show myvideo
-Idle, no click or movement = frame 1
-Click on the image + drag to the left, for example = video playback until the last frame. The further to the left I drag, the more the video progresses until the last frame.
-If I drag to the right the further to the right I drag, the more the video goes back to the beginning.
-When I drag for more than 3 seconds to the left and I am at the last frame, it continues to the next image, or a label, or an image button, whatever (maybe imagebutton is the best option).
To put it simply, imagine a character on the right side of the screen, I click on it (or anywhere on the screen if it's easier) and when I drag the mouse to the left while holding the click, the video plays, showing the character moving from the right side of the screen to the left.
(i can send an exemple in PM)
Thanks for your help.