Changeset 2430 for 2011


Ignore:
Timestamp:
2011-07-04 13:09:25 (8 years ago)
Author:
akosrahi
Message:
 
Location:
2011/24/AkiR/pong
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2011/24/AkiR/pong/pong/pong/Peli.cs

    r2161 r2430  
    4141        pallo = new PhysicsObject(40.0, 40.0); 
    4242        Add(pallo); 
    43         pallo.Shape = Shape.Hexagon; 
     43        pallo.Shape = Shape.Circle; 
    4444        pallo.X = -200.0; 
    4545        pallo.Y = 0.0; 
     46        pallo.Restitution = 1.0; 
    4647 
    4748        vasenReuna = Level.CreateLeftBorder(); 
    48         vasenReuna.Restitution = 1.0; 
    49         vasenReuna.IsVisible = true; 
    50         pallo.Restitution = 1.0; 
     49        vasenReuna.Restitution = 2.0; 
     50        vasenReuna.IsVisible = false; 
     51         
    5152 
    5253        Level.Background.CreateGradient(Color.Black, Color.Black); 
     
    5758        oikeaReuna = Level.CreateRightBorder(); 
    5859        oikeaReuna.Restitution = 1.0; 
    59         oikeaReuna.IsVisible = true; 
     60        oikeaReuna.IsVisible = false; 
    6061 
    6162        PhysicsObject alaReuna = Level.CreateBottomBorder(); 
Note: See TracChangeset for help on using the changeset viewer.