[solved] Controlling the songs. Is there a code for that?

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
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

[solved] Controlling the songs. Is there a code for that?

#1 Post by Nanahs »

I wanted to make kind of a music room on my game.
And I was wondering if there's a code that controls the song like this for example:

Image

This bar would start when the song begins and end with the song as well.
You'd also be able to "control" the song. By dragging the bar you can choose the part of the song you want to listen to.

I think that could be something interesting.
I looked through cookbook and didn't find anything like this.

Is there a code like this on renpy?
I was not able to find information about it.

Thanks.
Last edited by Nanahs on Fri Nov 09, 2018 5:37 pm, edited 1 time in total.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1960
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
Projects: Slumberland
Location: Brazil
Contact:

Re: Controlling the songs. Is there a code for that?

#2 Post by Donmai »

Akakyouryuu created such code some time ago. I tested it at that time and it worked well, but I don't know if it's compatible with the latest Ren'Py version. His site is in Japanese, but Google can help you.
http://akakyouryuu.com/%E9%85%8D%E5%B8% ... %A9/renpy/
Look for the link ミュージックルーム用シークバー to download a file named music_pos.zip.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Nanahs
Veteran
Posts: 310
Joined: Wed Aug 22, 2018 5:50 pm
Contact:

Re: Controlling the songs. Is there a code for that?

#3 Post by Nanahs »

Donmai wrote: Fri Nov 09, 2018 5:04 pm Akakyouryuu created such code some time ago. I tested it at that time and it worked well, but I don't know if it's compatible with the latest Ren'Py version. His site is in Japanese, but Google can help you.
http://akakyouryuu.com/%E9%85%8D%E5%B8% ... %A9/renpy/
Look for the link ミュージックルーム用シークバー to download a file named music_pos.zip.
Oh! Thank you so much! :D Google translated the page for me.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]