406
Themes / Re: Dragon Ball Vertical Theme
« on: May 25, 2018, 05:39:40 AM »
Updated 
- GUI improvement
- add some dragon ball sound effect in theme

- GUI improvement
- add some dragon ball sound effect in theme
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Try to download attract mode latest version and then replace H:\HyperPC\Attract\modules\animate.nut file.
Hi, that removed the error message but the progress bar still don't move when I scroll through the games.
Hmm, the progress bar does not work for me and I get this error in the console:
*** Initializing display: 'Atari 2600'
- Loaded master romlist 'Atari 2600' in 16 ms (667 entries kept, 0 discarded)
- Constructed 2 filters in 0 ms (1334 comparisons)
- Loaded layout: H:\HyperPC\Attract\layouts/NoName/ (layout.nut)
Script Error in H:\HyperPC\Attract\modules\animate.nut - the index 'Transition' does not exist
Writing config to: H:\HyperPC\Attract\attract.cfg
This is how it looks for me:
https://youtu.be/Af2u1D4lWz8
Any ideas?
Download the latest SDARCADE module from my site... it includes code that pulls up snaps only... then separate code that places and plays a video over the top of the snapshot after x number of seconds. This should achieve the goal you're looking for, no?
local ui_filters=[];
local ui_underline=[];
// System
for ( local i = 0; i < fe.displays.len(); i++ ) {
local filter = fe.displays[i];
local shortname = filter.name.toupper();
local offset = 55 * i;
switch(filter.name) {
//prefer known abbreviations
case "Sega Model 2":
shortname = "SM2";
break;
case "Sega Model 3":
shortname = "SM3";
break;
case "Sega Naomi":
shortname = "NAO";
break;
//grab the first three letters as the short name
default:
if (shortname.len() > 3)
shortname = shortname.slice(0, 3);
break;
}
local newfilt = fe.add_text(shortname, -18 + offset, 1, 73, 18);
newfilt.set_rgb( 240, 240, 240 );
local underline = fe.add_image("white.png", -18 + offset, 20, 60, 3);
underline.set_rgb( 240, 0, 0 );
underline.visible = false ;
if (i == fe.list.display_index)
underline.visible = true;
ui_filters.push(newfilt);
ui_underline.push(underline);
}
fe.add_transition_callback( this, "on_transition" );
function on_transition( ttype, var, ttime )
{
//Update filter highlight
for ( local i = 0; i < ui_underline.len(); i++ )
ui_underline[i].visible = false;
ui_underline[fe.list.display_index].visible = true;
}
Code: [Select]artwork snap e:\Emulator\Attract Mode\emu\Sammy Atomiswave\snap;e:\Emulator\Attract Mode\emu\Sammy Atomiswave\videos