mickelson / attract

A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
http://attractmode.org
GNU General Public License v3.0
393 stars 115 forks source link

Issue with hyperspin.nut #611

Open sergiohinniger opened 4 years ago

sergiohinniger commented 4 years ago

I am not a coder, so maybe i will say something wrong, but, here is the issue that i think that exists in hyperspin.nut:

In theory, when you choose the layout option "show_prompts" the stick animation should appear, loading a pair of animations when in the "display menu" and other pair of animations when in the game selection, at least i think should be this, but in reality it seems like all screens are recognized as "display menu" so the other animations are never loaded.

Here the part that i am talking about:

function setup_prompts( is_display_menu ) { if ( my_config["show_prompts"] != "yes" ) return;

if ( !is_display_menu )
{
    special1.file_name = work_d
        + "Main Menu/Images/Special/SpecialB1.swf";
    special1.set_pos( 0, 5 );

    special2.file_name = work_d +
        "Main Menu/Images/Special/SpecialB2.swf";
    special2.set_pos( 0, fe.layout.height-special2.texture_height-5 );
}
else
{
    special1.file_name = work_d
        + "Main Menu/Images/Special/SpecialA1.swf";
    special1.set_pos( 60, fe.layout.height-special1.texture_height-10 );

    special2.file_name = work_d +
        "Main Menu/Images/Special/SpecialA2.swf";
    special2.set_pos( fe.layout.width-special2.texture_width-60,
        fe.layout.height-special2.texture_height-10 );
}

}