Changeset 3743 for 2012/30/JereK/ponfs


Ignore:
Timestamp:
2012-07-25 14:44:48 (8 years ago)
Author:
anlakane
Message:

Talletus.

Location:
2012/30/JereK/ponfs/ponfs
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2012/30/JereK/ponfs/ponfs/ponfs/ponfs.cs

    r3720 r3743  
    4040        pallo.MomentOfInertia = Double.PositiveInfinity; 
    4141        pallo.Color = Color.Gold; 
     42        pallo.Image = LoadImage("troll"); 
    4243        Add(pallo); 
     44        pallo.CanRotate = false; 
    4345        AddCollisionHandler(pallo, KasittelePallonTormays); 
    4446 
     
    7779        maila.X = x; 
    7880        maila.Y = y; 
    79         maila.Restitution = 1.0; 
     81        maila.Restitution = 1.2; 
    8082        maila.KineticFriction = 0.0; 
    8183        maila.Color = Color.Rose; 
     
    9395    { 
    9496        IntMeter laskuri = new IntMeter(0); 
    95         laskuri.MaxValue = 10; 
     97        laskuri.MaxValue = 666; 
    9698         
    9799        Label naytto = new Label(); 
  • 2012/30/JereK/ponfs/ponfs/ponfsContent/ponfsContent.contentproj

    r3720 r3743  
    4444    <Reference Include="TextFileContentExtension" /> 
    4545  </ItemGroup> 
     46  <ItemGroup> 
     47    <Compile Include="troll.png"> 
     48      <Name>troll</Name> 
     49      <Importer>TextureImporter</Importer> 
     50      <Processor>TextureProcessor</Processor> 
     51    </Compile> 
     52  </ItemGroup> 
    4653  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    4754  <!--  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.