Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+2)

Update 3 


Challenge 

  • Initiating music to play as soon as the game loads
  • Making sure the music loads only once and keeps even when player goes to another layout scene 

Proceduere

  • Added the audio file to the project
  • Added a ‘Audio’ object to a placeholder scene (i.e template) 
  • Created an Global events file that will always be loaded on the top of every new ‘Event’ for the game. 

Now every time one creates a new layout, add the Global event sheet to the top. The game checks the global event and executes the events. Game find a a system command that tells it to play the audio track, with a bunch of variables assigned to it. Variables are - Loop or no loop, Volume.