Update v0.9:
So I looked into your idea of playing ads when snap videos are not available. It's a little tricky because of the way squirrel scripts work, so I decided to give it a go myself. I hope you don't mind!
Check out the code in the static video section and at the end of the snap video section especially - squirrel plays the videos only AFTER it finished loading the script, so we need a function that works with transitions in real-time.
If Lava doesn't find any ads to play, it will default to the "static.mp4" video.
This release also includes the bug fixes from v0.8.1
Download the full Lava v0.9 theme from here:
https://mega.nz/#!wNMzlITZ!KRlqkoevG920JUQhG3Ua0PBfnerFQIMDgbaCzC5lGI4
I do not mind at all! Nice work!! I grinned from ear to ear as soon as I looked at that code =D good choice on the ads too lol
I don't really have any other crucial additions at the moment. I did have an idea for art placement for several different emulators. For example, I've been using this layout for SNES and so the artwork doesn't come out just right so I have to manually change the x/y/h/w to get it just right. In a perfect world, it would be cool to have x/y/h/w change depending on the emulator so that the boxart is always right. And the ads could be the same way - for an N64 emulator, ads around the year 1996 could play, and so on.
However - it might be more practical to just call this, idk, Takoni-NES or Takaron-NES (Takoni+Yaron), and then I can add SNES with the right boxart coordinates (and the ads too!) at a later time. Sort of how Robospin did it. Then we can hit Takaron-N64, 2600, SegaCD, you name it. I'm stuck on any particular names, just throwing out a few examples.
Btw, if anyone comes across code on how to have the layout stop the AM ambient music that's playing and then play the layout music instead that would be great. Right now, if I have ambient music playing on AM, it will play at the same time the layout music is playing - which is fine, I can just switch off the ambient music. But once I leave the layout, the music stops. Not a huge deal - I'm just always looking for ways to push things over-the-top.
Thanks a million as always!