Changeset 2605 for 2011


Ignore:
Timestamp:
2011-08-05 12:28:44 (8 years ago)
Author:
tolinnav
Message:

Talletus.

Location:
2011/31/TommiL/pallopeli/pallopeli
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2011/31/TommiL/pallopeli/pallopeli/pallopeli/Peli.cs

    r2584 r2605  
    1515    Image olionKuva = LoadImage("kuva"); 
    1616    Image olionKuva2 = LoadImage("sydän"); 
     17    Image olionKuva3 = LoadImage("pallonpää"); 
    1718 
    1819    PhysicsObject[] sydamet = new PhysicsObject[10]; 
     
    7475    { 
    7576        int i = 0; 
    76         while (i < 30) 
     77        while (i < 32) 
    7778        { 
    7879            PhysicsObject pallo = new PhysicsObject(20, 20); 
     
    8687            pallo.CollisionIgnoreGroup = (1); 
    8788            robotti.LinearDamping = 0.95; 
     89            pallo.Image = olionKuva3; 
    8890 
    8991 
  • 2011/31/TommiL/pallopeli/pallopeli/pallopeliContent/pallopeliContent.contentproj

    r2563 r2605  
    6565    </Compile> 
    6666  </ItemGroup> 
     67  <ItemGroup> 
     68    <Compile Include="pallonpää.png"> 
     69      <Name>pallonpää</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72    </Compile> 
     73  </ItemGroup> 
    6774  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    6875  <!--  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.