Changeset 422 for santeri_h


Ignore:
Timestamp:
2009-08-07 13:01:02 (12 years ago)
Author:
saolhaka
Message:
 
Location:
santeri_h/Kynari
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • santeri_h/Kynari/Content/Content.contentproj

    r400 r422  
    8888    </Compile> 
    8989  </ItemGroup> 
     90  <ItemGroup> 
     91    <Compile Include="tausta.mp3"> 
     92      <Name>tausta</Name> 
     93      <Importer>Mp3Importer</Importer> 
     94      <Processor>SongProcessor</Processor> 
     95    </Compile> 
     96  </ItemGroup> 
    9097  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    9198  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.  
  • santeri_h/Kynari/Peli.cs

    r400 r422  
    4747            Camera.ZoomFactor = 0.7; 
    4848            aloitaUusiPeli(); 
    49             naytaTiedot(); 
     49            Song musiikki = Content.Load<Song>("tausta"); 
     50            MediaPlayer.IsRepeating = true; 
     51            MediaPlayer.Play(musiikki); 
    5052        } 
    5153 
     
    5759            pelaaja1asevaihto = true; 
    5860            pelaaja2asevaihto = true; 
     61            naytaTiedot(); 
    5962 
    6063        } 
Note: See TracChangeset for help on using the changeset viewer.