Lemma Soft Forums

Supporting creators of visual novels and story-based games since 2003.


Visit our new games list, blog aggregator, IRC, and wiki.
Activation problem? Email [email protected]
It is currently Fri May 24, 2013 1:53 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ren'Py specific discussion will be moved to the Ren'Py support forum.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: In-game menu music
PostPosted: Thu Apr 26, 2012 5:48 pm 
Veteran
User avatar

Joined: Sat Jan 15, 2011 5:41 pm
Posts: 448
Location: England
Completed: Toketsu, Never Lonely Again, CLANNAD -The Past Path-, The Rape of the Lock, Blister
Projects: Nijiko
Organization: Colorful Visual Arts (formerly Scope Games)
Is there any way to give the in-game menu its own music theme? So you pause the game and certain music plays and when you return to the game, the game music picks up again? I just wondered if it was possible considering renpy's line by line coding basis.

_________________
New Games as [pen-kun]:
http://colorfulvisualarts.wordpress.com

Old Games as clannadman:
http://clannadppvisualproject.wordpress.com
http://scopegames.wordpress.com


Top
 Profile Send private message  
 
 Post subject: Re: In-game menu music
PostPosted: Thu Apr 26, 2012 11:20 pm 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10778
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Probably the easiest way is to add to screen save the line:

Code:
    on "show" action Play("music", "mymusic.ogg")

_________________
Another Old-Fashioned Bishoujo Gamer
Supporting creators since 2004; Code > Drama
(When was the last time you backed up your game?)
"It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face in marred by dust and sweat and blood; who strives valiantly; who errs, who comes short again and again, because there is no effort without error and shortcoming" - Theodore Roosevelt


Top
 Profile Send private message  
 
 Post subject: Re: In-game menu music
PostPosted: Mon Apr 30, 2012 8:43 pm 
Veteran
User avatar

Joined: Sat Jan 15, 2011 5:41 pm
Posts: 448
Location: England
Completed: Toketsu, Never Lonely Again, CLANNAD -The Past Path-, The Rape of the Lock, Blister
Projects: Nijiko
Organization: Colorful Visual Arts (formerly Scope Games)
Thank you :)

_________________
New Games as [pen-kun]:
http://colorfulvisualarts.wordpress.com

Old Games as clannadman:
http://clannadppvisualproject.wordpress.com
http://scopegames.wordpress.com


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Protected by Anti-Spam ACP
Powered by phpBB® Forum Software © phpBB Group