I want to make a little window that pops up in a corner of the screen whenever a song starts playing, saying tha name of the song and the composer, my game has more than one composer for the music,
I believe it's fairly doable with some python code but i'm still learning Python and I don't know how
to make it work in Renpy. I was wondering if this was already made by someone.
Sorry if this seems a noob question. Advice is appreciated.
'Now Playing' popup window[solved]
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.
- DannyGMaster
- Regular
- Posts: 113
- Joined: Fri Sep 02, 2016 11:07 am
- Contact:
'Now Playing' popup window[solved]
Last edited by DannyGMaster on Thu Jun 08, 2017 2:23 pm, edited 1 time in total.
Re: 'Now Playing' popup window
What you need for is to use the renpy.notify() function.
When the music begin, use that function to notify the user. Something like:
When the music begin, use that function to notify the user. Something like:
Code: Select all
play music "I believe in a thing called love.mp3"
$ renpy.notify("Now playing: I believe in a thing called love - The Darkness")
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- DannyGMaster
- Regular
- Posts: 113
- Joined: Fri Sep 02, 2016 11:07 am
- Contact:
Thanks!
Thank you so much, this will do!
Who is online
Users browsing this forum: No registered users