Changeset 8944 for 2016/koodauskerho
- Timestamp:
- 2017-07-05 15:02:58 (6 years ago)
- Location:
- 2016/koodauskerho/VilleH
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/ninjakissanhikileikit.cs
r8926 r8944 17 17 Image pelaajanKuva = LoadImage("genzo"); 18 18 SoundEffect Heals = LoadSoundEffect("i-need-healing_wrhVDnC"); 19 SoundEffect cena = LoadSoundEffect("john-cena_1"); 19 20 20 21 Image doritos = LoadImage("doritos-nacho-cheese"); … … 54 55 kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 55 56 Level.CreateBorders(); 57 58 Level.Background.Image = LoadImage("tausta"); 59 Level.Background.FitToLevel(); 60 Level.Background.TextureWrapSize = new Vector(3, 1); 56 61 57 62 } … … 227 232 Add(viesti); 228 233 } 229 if (vastaus[0] == "doggo") 234 if (vastaus[0] == "cena") 235 { 236 cena.Play(); 237 } 238 if (vastaus[0] == "genji") 239 { 240 Heals.Play(); 241 } 242 if (vastaus[0] == "doggo") 230 243 { 231 244 int dogot = 1; -
2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/TasohyppelypeliContent.contentproj
r8920 r8944 136 136 <Processor>SoundEffectProcessor</Processor> 137 137 </Compile> 138 <Content Include="kentta.png"> 139 <Name>kentta</Name> 138 </ItemGroup> 139 <ItemGroup> 140 <Compile Include="tausta.jpg"> 141 <Name>tausta</Name> 140 142 <Importer>TextureImporter</Importer> 141 143 <Processor>TextureProcessor</Processor> 142 </Content> 144 </Compile> 145 </ItemGroup> 146 <ItemGroup> 147 <Compile Include="john-cena_1.mp3"> 148 <Name>john-cena_1</Name> 149 <Importer>Mp3Importer</Importer> 150 <Processor>SongProcessor</Processor> 151 </Compile> 143 152 </ItemGroup> 144 153 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> -
2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/TasohyppelypeliContent/kentta1.txt
r8919 r8944 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 21 3
Note: See TracChangeset
for help on using the changeset viewer.