Search found 7 matches

by luoying
Sun Apr 10, 2022 11:09 am
Forum: Ren'Py Questions and Announcements
Topic: How to return a music name?
Replies: 2
Views: 425

Re: How to return a music name?

Oh, yes, thank you for your help, thank you!
by luoying
Sun Apr 10, 2022 4:12 am
Forum: Ren'Py Questions and Announcements
Topic: How to return a music name?
Replies: 2
Views: 425

How to return a music name?

This is my code. I want to add a function to display the name of the music being played,I found it renpy.music.get_playing(channel='music') 。 When I run the program, the music starts playing, and the return value displays none, which does not return the name of the music. I added the code to lines 6...
by luoying
Sat Apr 09, 2022 6:40 am
Forum: Development of Ren'Py
Topic: Ren'Py Gripes
Replies: 556
Views: 862118

Re: Ren'Py Gripes

I built a music room. I hope it can adjust the music progress. It's complicated, but I succeeded in the end. I hope it can be made simpler. Of course, there is a video player. I hope it can adjust the playback progress through the progress bar. This function is very good. There are many video games ...
by luoying
Fri Apr 08, 2022 9:15 pm
Forum: Ren'Py Questions and Announcements
Topic: In the music room, the progress bar controls the playing time of music
Replies: 6
Views: 769

Re: In the music room, the progress bar controls the playing time of music

It seems to be an error, but I don't know how to change it. This is the code I changed. If there is an error, I hope you can point it out. Thank you for your help! #### To set position on an audio bar, put this displayable over it: ## To prevent second action on mouse up in the same position default...
by luoying
Fri Apr 08, 2022 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: In the music room, the progress bar controls the playing time of music
Replies: 6
Views: 769

Re: In the music room, the progress bar controls the playing time of music

When I move the mouse over the bar, it will report an error. This is its feedback. I just add the code to my file and try to run it. ``` I'm sorry, but an uncaught exception occurred. While running game code: File "game/script.rpy", line 187, in script call screen audio File "renpy/co...
by luoying
Thu Apr 07, 2022 7:26 am
Forum: Ren'Py Questions and Announcements
Topic: In the music room, the progress bar controls the playing time of music
Replies: 6
Views: 769

In the music room, the progress bar controls the playing time of music

I made a music room. I hope it can drag and change the progress like a player (the progress bar can be dragged), and drag the progress bar to change the time point of music. I am a novice and have no programming experience, which is too difficult for me.What should I do? My English is very poor. I'm...