421
Scripting / Re: [Plugin WIP] SavestateLoader (only for retroarch-windows)
« on: August 26, 2019, 11:15:07 AM »
very good.....great project.
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 sound =1;
function on_transition( ttype, var, ttime )
{
switch ( ttype )
{
case Transition.EndNavigation:
case Transition.StartLayout:
case Transition.FromGame:
move_sound();
break;
}
}
function move_sound2() {
local click = fe.add_sound("select.mp3");
click.playing=true;
}
function on_signal( sig )
{
switch ( sig )
{
case "custom2":
if (sound == 1){
move_sound2()
}
return true;
default:
}
return false;
}
fe.add_signal_handler(this, "on_signal");
class clickme
{
function sound1() {
local click = fe.add_sound("select.mp3");
click.playing=true;
}
function on_signal( signal )
{
if ( signal == "custom2" )
{
sound1()
return true;
}
return false;
}
}
local stuff = clickme();