Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

How to play a tune upon winning

A topic by PapaQuark created Feb 16, 2020 Views: 82 Replies: 2
Viewing posts 1 to 3
Submitted

I want to play some music when you win the game.

Where can I put this subroutine?

Submitted

According to this thread, if you put it in a subroutine called win_game_jingle, it will execute your own jingle.

Submitted

Oh, in case you didn't know, the subroutine itself is located in the subroutines{} block. For example:

subroutines {
   win_game_jingle : subroutine {
      // Do your jingle code in here
   }
}