Changeset 972
- Timestamp:
- 2010-06-18 12:35:44 (13 years ago)
- Location:
- 2010/24/tekrjant/Laskuvarjo
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/24/tekrjant/Laskuvarjo/Content/Content.contentproj
r956 r972 111 111 </Compile> 112 112 </ItemGroup> 113 <ItemGroup> 114 <Compile Include="plats.wav"> 115 <Name>plats</Name> 116 <Importer>WavImporter</Importer> 117 <Processor>SoundEffectProcessor</Processor> 118 </Compile> 119 </ItemGroup> 113 120 </Project> -
2010/24/tekrjant/Laskuvarjo/Peli.cs
r957 r972 14 14 Image seinanKuva; 15 15 Image[] pilvenKuvat; 16 SoundEffect plats; 16 17 17 18 PhysicsObject maasto; … … 25 26 { 26 27 LataaKuvat(); 28 plats = LoadSoundEffect("plats"); 27 29 28 30 Gravity = new Vector(0, -500); … … 108 110 if (Math.Abs(pelaaja.Velocity.Y) > 200) 109 111 { 112 plats.Play(); 110 113 Kuole(); 111 114 }
Note: See TracChangeset
for help on using the changeset viewer.