Changeset 6630 for 2015/27


Ignore:
Timestamp:
2015-06-30 20:55:36 (4 years ago)
Author:
sieerinn
Message:

Alustavia ääniefektejä lisätty.

Location:
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/Item.cs

    r6628 r6630  
    100100        InUse = true; 
    101101 
     102        TheLegendOfGabriel.SwordSound.Play(); 
     103 
    102104        if (SwordObject != null) 
    103105            SwordObject.Destroy(); 
     
    195197        { 
    196198            Usages.Value--; 
     199            TheLegendOfGabriel.GunSound.Play(); 
    197200 
    198201            var bullet = new PhysicsObject(4, 4); 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6626 r6630  
    8181 
    8282    #region Resources 
     83 
     84    public static SoundEffect SwordSound = LoadSoundEffect("swordsound"); 
     85    public static SoundEffect GunSound = LoadSoundEffect("gunsound"); 
    8386 
    8487    public static Image GunImage = LoadImage("gun"); 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/TheLegendOfGabrielContent.contentproj

    r6626 r6630  
    231231    </Compile> 
    232232  </ItemGroup> 
     233  <ItemGroup> 
     234    <Compile Include="gunsound.wav"> 
     235      <Name>gunsound</Name> 
     236      <Importer>WavImporter</Importer> 
     237      <Processor>SoundEffectProcessor</Processor> 
     238    </Compile> 
     239    <Compile Include="swordsound.wav"> 
     240      <Name>swordsound</Name> 
     241      <Importer>WavImporter</Importer> 
     242      <Processor>SoundEffectProcessor</Processor> 
     243    </Compile> 
     244  </ItemGroup> 
    233245  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    234246  <!--  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.