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 Mon May 20, 2013 9:31 pm

All times are UTC - 5 hours [ DST ]


Forum rules


Ask questions about one topic per thread, and use a descriptive subject. "NotImplemented error in script.rpy" is a good subject, "Tom's problems" is not. Remember to include all of traceback.txt or error.txt when reporting a problem, as well as the relevant lines of script. Use the [code] tag to format scripts.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jan 31, 2012 12:41 pm 
Lemma-Class Veteran

Joined: Tue Aug 01, 2006 12:39 pm
Posts: 4051
When the game is first launched, I want a long main menu music that consists of the following loops:

"titlestart.ogg", "titleloop.ogg"

But when you quit from the middle of the game, I just want "titleloop.ogg" to play.

I tried starting titlestart from the presplash, then queueing titleloop, then calling the main menu directly so the music continues on. However, it seems I can't use action Start(). I tried using Jump("start") but then the Escape key ceases functioning. Moreover, I can access the Save menu directly, which shouldn't be possible.

I need a way to either:
1.) make a called main menu behave like a real main menu, or
2.) find a way to play queued music for the main menu


Top
 Profile Send private message  
 
PostPosted: Fri Feb 03, 2012 1:46 am 
Ren'Py Creator
User avatar

Joined: Mon Feb 02, 2004 10:58 am
Posts: 10773
Location: Kings Park, NY
Completed: Moonlight Walks
Projects: Ren'Py
Code:
label main_menu:
    play music "titleloop.ogg"
    queue music "titlestart.ogg"

    jump main_menu_screen


Make sure config.main_menu_music is None.

_________________
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  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Donmai


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