Changeset 1597


Ignore:
Timestamp:
2010-08-04 14:57:31 (9 years ago)
Author:
mimakrja
Message:
 
Location:
2010/31/mimakrja
Files:
35 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/31/mimakrja/pong/Peli.cs

    r1569 r1597  
    2929    void LuoKentta() 
    3030    {         
    31         pallo = new PhysicsObject(100.0, 55.0); 
     31        pallo = new PhysicsObject(50.0, 50.0); 
    3232        pallo.Shape = Shapes.Circle; 
    3333        Add(pallo);        
    34         pallo.Restitution = 1.0; 
     34        pallo.Restitution = 5.0; 
    3535        Level.BackgroundColor = Color.Black; 
    3636        Camera.ZoomToLevel(); 
     
    6262    void AloitaPeli() 
    6363    { 
    64         Vector impulssi = new Vector(800.0, 0.0); 
     64        Vector impulssi = new Vector(800.0, 300.0); 
    6565        pallo.Hit(impulssi); 
    6666    } 
Note: See TracChangeset for help on using the changeset viewer.