Changeset 1331 for 2010/30


Ignore:
Timestamp:
2010-07-27 14:57:41 (9 years ago)
Author:
paaaanro
Message:
 
Location:
2010/30/pyryl
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2010/30/pyryl/pong/Peli.cs

    r1317 r1331  
    4141 
    4242 
     43 
    4344        AddCollisionHandler(pallo, KasittelePallonTormays); 
    4445 
     
    5960 
    6061 
    61         pallo.Restitution = 3.0; 
     62        pallo.Restitution = 100.0; 
    6263        pallo.KineticFriction = 0; 
    63         Level.BackgroundColor = Color.Black; 
     64        Level.BackgroundColor = Color.Turquoise 
     65            ; 
    6466        Camera.ZoomToLevel(); 
    6567 
     
    7072    void AloitaPeli() 
    7173    { 
    72         Vector impulssi = new Vector(500.0, 30.0); 
     74        Vector impulssi = new Vector(2500.0, 0.0); 
    7375        pallo.Hit(impulssi); 
    7476    } 
     
    8284        Add(maila); 
    8385        return maila; 
     86 
    8487} 
    8588    void AsetaOhjaimet() 
     
    139142    { 
    140143        IntMeter laskuri = new IntMeter(0); 
    141         laskuri.MaxValue = 10; 
     144        laskuri.MaxValue = 100; 
    142145        Label Naytto = new Label(); 
    143146        Naytto.BindTo(laskuri); 
Note: See TracChangeset for help on using the changeset viewer.