Changeset 1546 for 2010/31


Ignore:
Timestamp:
2010-08-03 10:43:35 (9 years ago)
Author:
paaaanro
Message:
 
Location:
2010/31/vinekova
Files:
11 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/31/vinekova/Pong/Peli.cs

    r1519 r1546  
    3131        pallo = new PhysicsObject(40.0, 40.0); 
    3232        pallo.Shape = Shapes.Circle; 
    33         pallo.X = -200.0; 
     33        pallo.X = 0.0; 
    3434        pallo.Y = 0.0; 
    35         pallo.Restitution = 1.0; 
     35        pallo.Restitution = 9.0; 
    3636        Add(pallo); 
    3737        Vector impulssi = new Vector(1.0, 0.0); 
     
    5656        alaReuna.IsVisible = false; 
    5757 
    58         Level.BackgroundColor = Color.Black; 
    59  
     58        Level.BackgroundColor = Color.DarkViolet; 
    6059        Camera.ZoomToLevel(); 
    6160    } 
     
    6362    PhysicsObject LuoMaila(double x, double y) 
    6463    { 
    65         PhysicsObject maila = PhysicsObject.CreateStaticObject(20.0, 100.0); 
     64        PhysicsObject maila = PhysicsObject.CreateStaticObject(40.0, 120.0); 
    6665        maila.Shape = Shapes.Rectangle; 
    6766        maila.X = x; 
Note: See TracChangeset for help on using the changeset viewer.