Changeset 6516 for 2015/27


Ignore:
Timestamp:
2015-06-29 14:34:37 (4 years ago)
Author:
misakana
Message:
 
Location:
2015/27/JesseS/Pong/Pong
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/JesseS/Pong/Pong/Pong/Pong.cs

    r6513 r6516  
    2222    IntMeter pelaajan1Pisteet; 
    2323    IntMeter pelaajan2Pisteet; 
     24    Image background = LoadImage("hianukuva"); 
     25 
    2426 
    2527    public override void Begin() 
     
    7375        maila2.Color = Color.Gold; 
    7476 
     77 
    7578     
    7679 
     
    9194        alaReuna.IsVisible = false; 
    9295 
    93         Level.Background.Color = Color.Turquoise; 
     96        Level.Background.Image = background; 
     97        Level.Background.FitToLevel(); 
    9498 
    9599        Camera.ZoomToLevel(); 
  • 2015/27/JesseS/Pong/Pong/PongContent/PongContent.contentproj

    r6501 r6516  
    4545    <Reference Include="AnimationExtension" /> 
    4646  </ItemGroup> 
     47  <ItemGroup> 
     48    <Compile Include="hianukuva.png"> 
     49      <Name>hianukuva</Name> 
     50      <Importer>TextureImporter</Importer> 
     51      <Processor>TextureProcessor</Processor> 
     52    </Compile> 
     53  </ItemGroup> 
    4754  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4855  <!--  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.