1
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.
local move2_cfg = {
when = Transition.StartLayout,
property = "x",
start = 2000,
end = 785,
time = 3000
delay = 1000
}
local move4_cfg = {
when = Transition.ToNewSelection,
wait = true,
property = "x",
start = 805,
end = 785,
time = 40
delay = 40
tween = Tween.Expo
pulse = true
}
The following code will write the current game name to "/.attract/current_name.txt", the current game title to "/.attract/current_title.txt", and the current system to "/.attract/current_system.txt". Hopefully this will get you started, you can paste this into a new plugin or just as part of your layout script....Code: [Select]fe.add_transition_callback( "gamename_transition" );
function gamename_transition( ttype, var, ttime )
{
if (( ttype == Transition.EndNavigation )
|| ( ttype == Transition.StartLayout ))
{
system( "echo '" + fe.game_info( Info.Name ) + "' > ~/.attract/current_name.txt" );
system( "echo '" + fe.game_info( Info.Title ) + "' > ~/.attract/current_title.txt" );
system( "echo '" + fe.game_info( Info.System ) + "' > ~/.attract/current_system.txt" );
}
return false;
}
cheers
Thank you for sharing! However, is there a way to use this theme without all of the folders included? If I try to use this theme with my current setup, the main menu doesn't seem to work