Changeset 7473 for 2016/25


Ignore:
Timestamp:
2016-06-20 15:56:16 (3 years ago)
Author:
koannak
Message:
 
Location:
2016/25/AaroV
Files:
45 added
6 edited

Legend:

Unmodified
Added
Removed
  • 2016/25/AaroV/Pong!/Pong!/Pong_/Pong_.cs

    r7462 r7473  
    1212    PhysicsObject oikeaReuna; 
    1313 
    14     Vector nopeusYlos = new Vector(0, 700); 
    15     Vector nopeusAlas = new Vector(0, -700); 
     14    Vector nopeusYlos = new Vector(0, 800); 
     15    Vector nopeusAlas = new Vector(0, -800); 
    1616    PhysicsObject pallo; 
    1717    PhysicsObject maila1; 
     
    3333    { 
    3434        pallo = new PhysicsObject(50, 50); 
    35         pallo.Shape = Shape.Circle; 
    36         pallo.Color = Color.Emerald; 
     35        pallo.Shape = Shape.Octagon; 
     36        pallo.Color = Color.Crimson; 
    3737 
    3838        maila1 = LuoMaila(Level.Left + 20.0, 0.0); 
     
    5050        oikeaReuna = Level.CreateRightBorder(); 
    5151        vasenReuna.Restitution = 1.0; 
    52         vasenReuna.IsVisible = false; 
     52        oikeaReuna.IsVisible = false; 
    5353        pallo.Restitution = 1.0; 
    5454        Camera.ZoomToLevel(); 
     
    5656        vasenReuna.Restitution = 1.0; 
    5757        vasenReuna.IsVisible = false; 
    58         Level.Background.CreateGradient(Color.Red, Color.Turquoise); 
     58        Level.Background.CreateGradient(Color.OrangeRed, Color.DarkBlue); 
    5959    } 
    6060 
     
    125125            return; 
    126126        } 
    127         if ((nopeus.Y < 0) && (maila.Bottom < Level.Bottom)) 
     127        if ((nopeus.Y <=0) && (maila.Bottom < Level.Bottom)) 
    128128        { 
    129129            maila.Velocity = Vector.Zero; 
     
    146146    { 
    147147        IntMeter laskuri = new IntMeter(0); 
    148         laskuri.MaxValue = 10; 
     148        laskuri.MaxValue = 100; 
    149149        Label naytto = new Label(); 
    150150        naytto.BindTo(laskuri); 
    151151        naytto.X = x; 
    152152        naytto.Y = y; 
    153         naytto.TextColor = Color.White; 
     153        naytto.TextColor = Color.LightYellow; 
    154154        naytto.BorderColor = Level.Background.Color; 
    155155        naytto.Color = Level.Background.Color; 
Note: See TracChangeset for help on using the changeset viewer.