ok, I just removed the music from that screen, and that seems to have stopped it from playing in that scene. soooo, I guess that's a fix, although I still want music to play there. Is there another way to add it?
oh, and I thought I'd shared the zip of the game folder but I posted the wrong one: https://drive.google.com/open?id=1PqjfO ... HzaA8HXMLX
Music starts randomly (?) playing
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.
- poorlyformed
- Regular
- Posts: 53
- Joined: Mon Jan 22, 2018 11:43 am
- Projects: Shadowburg
- Tumblr: poorlyformed
- itch: poorlyformed
- Location: NYC
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3792
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Music starts randomly (?) playing
I think its because you use python to play the music.
Try replacing that with:
Going by memory, so code is probably wrong.
Try replacing that with:
Code: Select all
on Show:
Play music "filename.mp3"
on Hide:
Stop music
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- poorlyformed
- Regular
- Posts: 53
- Joined: Mon Jan 22, 2018 11:43 am
- Projects: Shadowburg
- Tumblr: poorlyformed
- itch: poorlyformed
- Location: NYC
- Contact:
Re: Music starts randomly (?) playing
I'd tried that and another code I'd found in the documentation, but neither seemed to work. Thank you for your help, though. I'm just going to try something else with that screen, I think.
Who is online
Users browsing this forum: decocloud