View Full Version : Permanent menu loop in Sonic Scenarist ?
lutinor
9th October 2011, 09:18
Hi all,
I seen on a tutorial from rekroona a way to make 'long' loop menu:
You make many many play item and you drag and drop always the same thing (the background video), so the menu 'loop' during a few minutes. Nonetheless if your background is 30sec , you have to make a lot of same play item if you want a 10 minutes still menu.
Question : Is there a better way ? Something like 'i want the menu loop for ever option' somewhere ? I see on Playitem option 'still mode' , Is this the solution ?
Thx in adv,
Max.
mp3dom
9th October 2011, 11:19
Still mode 'freeze' the menu. It doesn't make it to loop for infinite time.
You need to create lots of playitem and add at MO level the commands to do the loop at the end of the playlist (even if you create a 10min. playlist, if the user doesn't do anything for that 10 minutes, you need to re-play the playlist from the beginning or the bluray will stop. This will reload the IG so you will see a hiccup)
lutinor
9th October 2011, 11:35
Still mode 'freeze' the menu. It doesn't make it to loop for infinite time.
You need to create lots of playitem and add at MO level the commands to do the loop at the end of the playlist (even if you create a 10min. playlist, if the user doesn't do anything for that 10 minutes, you need to re-play the playlist from the beginning or the bluray will stop. This will reload the IG so you will see a hiccup)
Thx but what is the command to do the loop ? (on the end of the playlist) ?
mp3dom
9th October 2011, 13:06
Basic approach:
:Loop
PlayPL Menu
Jump :Loop
This will reload the IG from start (Page0). If you want to restart the IG but show the latest page currently viewed by the user (prior of page reload), you need to store the button/page (System Registers) in two GPRs and use the SetButtonPage in Page0 of the Menu IG.
lutinor
9th October 2011, 16:02
Basic approach:
:Loop
PlayPL Menu
Jump :Loop
This will reload the IG from start (Page0). If you want to restart the IG but show the latest page currently viewed by the user (prior of page reload), you need to store the button/page (System Registers) in two GPRs and use the SetButtonPage in Page0 of the Menu IG.
I'm a bit dumb sorry ^^
My Cmd list is :
PLayPL menu , menu is my menu stream, simple.
If i want to permanent loop, what i need to do ? I don't see the command :loop , on the manual i see that you can put 'jumptitle top menu' after the first cmd but on my test, the disc exit :( Maybe i need a newer version ? Or i miss something?
mp3dom
9th October 2011, 16:15
Loop is a label name (you can call it like you want, I've used "loop" just for reference). You can then use a Jump command to <label>
lutinor
9th October 2011, 16:46
Loop is a label name (you can call it like you want, I've used "loop" just for reference). You can then use a Jump command to <label>
I see but actually , this :
http://imageshack.us/photo/my-images/190/sadgdl.jpg/
Mean direct exit (when first command finished) , where is the mistake ?
rik1138
9th October 2011, 22:50
You can assign a 'label' to any line of code in the nav editor. Look for the button that says 'Label' on the right side.
But, what you have in the image will work too. At the end of the PlayList, it will just jump back to TopMenu, no problem. It will reset the IG (so if someone is looking at Bonus features or something, it will reset back to the main part of the menu. If you want it to remember where the user is, you need to store the Page and Button states, store a variable that tells your code that the menus is looping. If that loop variable is stored, then execute a SetButtonPage to the values you stored.)
dvdboy
10th October 2011, 13:05
Something I've always had an issue with is remembering the current page and button values.
If you do something like this:
:Loop
PlayPL Menu
Store Current Page
Store Current Button
Jump :Loop
And then on your 0 page of your IG do:
SetPage(CurrentPage), Button (CurrentButton)
It doesn't seem to work.
The best I can do is to store the current page PSR as I navigate between pages, but without doubling up on every button to store that value, I always end up just highlight the first 'valid' button on said page. By making the loop very long, you never see this 'issie' but I would love to be able to do this properly.
Thanks
mp3dom
10th October 2011, 16:39
I do that all the times and it works without problems (at least in QC, TMT and almost 5 standalone players). Are you forcing a default button? You need to look that no default buttons are forced on that page.
dvdboy
10th October 2011, 17:42
I do that all the times and it works without problems (at least in QC, TMT and almost 5 standalone players). Are you forcing a default button? You need to look that no default buttons are forced on that page.
Strange.
Do you know if it works in Scenarist QC? I might work up a dummy project if that's ok as this is one of those annoying things I'd like to put to bed.
mp3dom
10th October 2011, 19:22
Yes, works in QC without problems.
dvdboy
16th April 2012, 15:55
Sorry to drag up an old topic, but I haven't done any authoring for quite a while.
I've gone to do a loop in my project, and it seems to just loop infinitely with a page value of 0 as if it hasn't stored the current page and button values:
Here's my loop code:
http://img820.imageshack.us/img820/429/topmenuobject.png (http://imageshack.us/photo/my-images/820/topmenuobject.png/)
And here's the code on my initial IG Page:
http://img521.imageshack.us/img521/5561/topmenufirstpageofig.jpg (http://imageshack.us/photo/my-images/521/topmenufirstpageofig.jpg/)
As I say, for some reason, it seems to be storing a value of 0 for the current page, even though when the menu is looping it has been on page ID3.
Any help greatly appreciated!
mp3dom
16th April 2012, 19:53
After "PlayPL TOP_MENU[ID:5]" (line 3) you need to store the page/button in use (the same as you have in line 6,7). When line 5 (PlayPLatMK) gets executed, the IG is reloaded but since you've not stored those values, the actual page/button can't be determined. It's also a bit risky.
dvdboy
17th April 2012, 09:29
After "PlayPL TOP_MENU[ID:5]" (line 3) you need to store the page/button in use (the same as you have in line 6,7). When line 5 (PlayPLatMK) gets executed, the IG is reloaded but since you've not stored those values, the actual page/button can't be determined. It's also a bit risky.
Aah!
Thanks I'll give that a go.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.