Ignore:
Timestamp:
2011-06-30 14:08:33 (8 years ago)
Author:
jaollipa
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Peli.cs

    r2355 r2358  
    3333        exitGameButton.Position = new Vector(0, -40); 
    3434        titleMenu.Add(exitGameButton); 
     35 
     36        MediaPlayer.Play("Sounds/TitleScreenMusic"); 
     37        MediaPlayer.Volume = 1.0; 
     38        MediaPlayer.IsRepeating = true; 
    3539 
    3640        foreach (Label titleMenuScreen in titleMenu) 
     
    7074        Gravity = new Vector(0, -1000); 
    7175 
     76        MediaPlayer.Stop(); 
    7277        // Starts playing the background music, which is set to repeat 
    7378        MediaPlayer.Play("Sounds/Stage1Music"); 
    74         MediaPlayer.Volume = 0.5; 
     79        MediaPlayer.Volume = 0.75; 
    7580        MediaPlayer.IsRepeating = true; 
    7681 
Note: See TracChangeset for help on using the changeset viewer.