Attract-Mode Support Forum
Attract-Mode Support => Scripting => Topic started by: 8bitsdeep on November 02, 2017, 02:18:00 AM
-
Instead of just having a single video snap for each system, I'd like to play random game snaps from the selected system while on the display menu.
For example, when I'm selecting a system in the Display Menu, if I'm currently on the NES, random game snaps for NES games should play.
Is this possible? All the code I've found uses fe.list.index = rand(); to just jump around games in the current list. Is there any way to access a list other than the current one?
-
Actually, you may refer AM default screensaver.nut file ;)
-
I did look at the default screensaver, but unless I'm missing something it seems to only select videos from the current list. I'd like to get videos from a specific emulator's list.
-
Well, Can you test my theme about screen saver function. Does it what you want ? It can randomly shown system intro videos. :)
http://forum.attractmode.org/index.php?topic=1824.0
-
Hmm, no, that screensaver picks a random video from the current list just like the default.
Let me try to explain again. :)
In the Display Menu, let's say the cursor is on NES:
-Arcade
-Atari 2600
>>>NES<<<
-Genesis
-SNES
To the right of the list, I have a video element. I don't want it to play an NES system video. I want to play a random NES game video. It should pick a random NES game from my library and play the video snap of that game.
If I move the cursor to Genesis, it should play a random Genesis game snap, etc.
-
oic, As my known, I think AM can't do it in currently since program architecture limitation ???
-
I have no experience with Displays. However, just an idea - create an "All" list for each system and change the list to "All" when you navigate to a different display. is my thinking on the subject proper?
-
Here is a "workaround": Create a folder in your snaps dir named as the title. Put the snaps in that folder. AM will then pick one randomly
Eg. menu-art/snap/Nintendo Game Boy/1.mp4, 2.mp4 etc.
-
Here is a "workaround": Create a folder in your snaps dir named as the title. Put the snaps in that folder. AM will then pick one randomly
Eg. menu-art/snap/Nintendo Game Boy/1.mp4, 2.mp4 etc.
Clever! I'd hate to duplicate all my snaps but I might do this with a few of my favorite games until I figure out something better.