- Timestamp:
- 2015-06-30 20:55:36 (6 years ago)
- 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 100 100 InUse = true; 101 101 102 TheLegendOfGabriel.SwordSound.Play(); 103 102 104 if (SwordObject != null) 103 105 SwordObject.Destroy(); … … 195 197 { 196 198 Usages.Value--; 199 TheLegendOfGabriel.GunSound.Play(); 197 200 198 201 var bullet = new PhysicsObject(4, 4); -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs
r6626 r6630 81 81 82 82 #region Resources 83 84 public static SoundEffect SwordSound = LoadSoundEffect("swordsound"); 85 public static SoundEffect GunSound = LoadSoundEffect("gunsound"); 83 86 84 87 public static Image GunImage = LoadImage("gun"); -
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/TheLegendOfGabrielContent.contentproj
r6626 r6630 231 231 </Compile> 232 232 </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> 233 245 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 234 246 <!-- 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.