Changeset 1002 for 2010/24


Ignore:
Timestamp:
2010-06-18 14:02:15 (9 years ago)
Author:
malaleht
Message:
 
Location:
2010/24/malaleht
Files:
12 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2010/24/malaleht/Tasohyppely1/Content/Content.contentproj

    r996 r1002  
    7676    </Compile> 
    7777  </ItemGroup> 
     78  <ItemGroup> 
     79    <Compile Include="Mario.mp3"> 
     80      <Name>Mario</Name> 
     81      <Importer>Mp3Importer</Importer> 
     82      <Processor>SongProcessor</Processor> 
     83    </Compile> 
     84  </ItemGroup> 
    7885  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    7986  <!-- 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  
    2929        luoKentta(0, 0); 
    3030 
    31  
     31        MediaPlayer.Play("Mario"); 
    3232 
    3333 
     
    9595    { 
    9696        Level.CreateBorders(); 
    97         Level.BackgroundColor = Color.Green; 
     97        Level.Background.Image = LoadImage("qwerty"); 
     98        Level.Background.FitToLevel(Level); 
    9899 
    99100        Gravity = new Vector(0, -2000); 
     
    216217        pelaaja2 = new PlatformCharacter(60, 80); 
    217218        pelaaja2.Mass = 10.0; 
    218         pelaaja2.Image = LoadImage("untitled"); 
     219        pelaaja2.Image = LoadImage("Untitled"); 
    219220        AddCollisionHandler(pelaaja2, osuiMaaliin); 
    220221        Add(pelaaja2); 
Note: See TracChangeset for help on using the changeset viewer.