Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

hugofarsilva

1
Posts
A member registered Oct 31, 2023

Recent community posts

I made some changes to go to the menu, but when it does the audio stops, it only starts playing again if I pause and press resume.

///        Select Button    ///

    if ( kConfirm ){

        if ( pause ){

            // audio_play_sound( sound[1], 0, 0 );

        switch( b ){

            case 0: // Resume

                alarm[0]    = game_get_speed(gamespeed_fps)* 0.1; //resume timer
            break;

            //case 1: // Opções

            //    global.origin_screen = "jogo";

            //    room_goto(rm_config);

            //break;

            case 1: // MainMenus

                room_goto(rm_menu);

                alarm[0]    = game_get_speed(gamespeed_fps)* 0.1; //resume timer
            break;

            case 2: // Exit

                switch os_type

                {

                    case os_android:
                        android_game_end();    

                        break;

                    default:

                        game_end();

                        break;

                }

            break;

        }

        }

        } //end Confirm statement

}