Changeset 2424


Ignore:
Timestamp:
2011-07-01 12:36:23 (8 years ago)
Author:
janiemit
Message:

Talletus.

Location:
2011/26/JaniN/neon wars/neon wars
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaniN/neon wars/neon wars/neon wars/Peli.cs

    r2420 r2424  
    5555    Timer vihollistenLuomisenNopeutus = new Timer(); 
    5656    bool ksiitti = false; 
     57    SoundEffect rajahdysAani = LoadSoundEffect("explosionSound"); 
    5758 
    5859    int vaikeus = 0; 
     
    134135        alareuna = Level.CreateBottomBorder(); 
    135136 
    136         SoundEffect rajahdysAani = LoadSoundEffect("rajahdys"); 
    137137 
    138138 
     
    203203 
    204204        rajahdys.AddEffect(ammus.Position, 1000); 
     205        rajahdysAani.Play(); 
    205206        rajahdys.MaxScale = 8; 
    206207        rajahdys.MinScale = 4; 
  • 2011/26/JaniN/neon wars/neon wars/neon warsContent/neon warsContent.contentproj

    r2399 r2424  
    9191    </Compile> 
    9292  </ItemGroup> 
     93  <ItemGroup> 
     94    <Compile Include="explosionSound.wav"> 
     95      <Name>explosionSound</Name> 
     96      <Importer>WavImporter</Importer> 
     97      <Processor>SoundEffectProcessor</Processor> 
     98    </Compile> 
     99  </ItemGroup> 
    93100  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    94101  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.