Changeset 1002
- Timestamp:
- 2010-06-18 14:02:15 (13 years ago)
- Location:
- 2010/24/malaleht
- Files:
-
- 12 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/24/malaleht/Tasohyppely1/Content/Content.contentproj
r996 r1002 76 76 </Compile> 77 77 </ItemGroup> 78 <ItemGroup> 79 <Compile Include="Mario.mp3"> 80 <Name>Mario</Name> 81 <Importer>Mp3Importer</Importer> 82 <Processor>SongProcessor</Processor> 83 </Compile> 84 </ItemGroup> 78 85 <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 79 86 <!-- To modify your build process, add your task inside one of the targets below and uncomment it. -
2010/24/malaleht/Tasohyppely1/Peli.cs
r996 r1002 29 29 luoKentta(0, 0); 30 30 31 31 MediaPlayer.Play("Mario"); 32 32 33 33 … … 95 95 { 96 96 Level.CreateBorders(); 97 Level.BackgroundColor = Color.Green; 97 Level.Background.Image = LoadImage("qwerty"); 98 Level.Background.FitToLevel(Level); 98 99 99 100 Gravity = new Vector(0, -2000); … … 216 217 pelaaja2 = new PlatformCharacter(60, 80); 217 218 pelaaja2.Mass = 10.0; 218 pelaaja2.Image = LoadImage(" untitled");219 pelaaja2.Image = LoadImage("Untitled"); 219 220 AddCollisionHandler(pelaaja2, osuiMaaliin); 220 221 Add(pelaaja2);
Note: See TracChangeset
for help on using the changeset viewer.