Changeset 7467 for 2016/25


Ignore:
Timestamp:
2016-06-20 11:57:59 (7 years ago)
Author:
tesatapa
Message:
 
Location:
2016/25/ToukoP
Files:
50 added
6 edited

Legend:

Unmodified
Added
Removed
  • 2016/25/ToukoP/Pong/Pong/Pong/Pong.cs

    r7461 r7467  
    22using System.Collections.Generic; 
    33using Jypeli; 
    4 using Jypeli.Assets; 
     4//using Jypeli.Assets; 
    55using Jypeli.Controls; 
    66using Jypeli.Effects; 
     
    99public class Pong : PhysicsGame 
    1010{ 
    11     Vector nopeusYlos = new Vector(0, 200); 
    12     Vector nopeusAlas = new Vector(0, -200); 
     11    Vector nopeusYlos = new Vector(0, 300); 
     12    Vector nopeusAlas = new Vector(0, -300); 
    1313    PhysicsObject pallo; 
    1414 
     
    4242        Add(pallo); 
    4343        pallo.Shape = Shape.Circle; 
    44         pallo.Color = Color.Gold; 
     44        pallo.Color = Color.White; 
    4545        pallo.Restitution = 1.0; 
    4646        maila1 = Luomaila(Level.Left + 20.0, 0.0); 
    4747        maila2 = Luomaila(Level.Right - 20.0, 0.0); 
    48         Level.Background.CreateGradient(Color.Black, Color.Blue); 
    49         pallo.X = -200.0; 
     48        Level.Background.CreateGradient(Color.Black, Color.Black); 
     49        pallo.X = -250.0; 
    5050        pallo.Y = 0.0; 
    51  
    52  
     51     
    5352        vasenReuna = Level.CreateLeftBorder(); 
    5453        vasenReuna.Restitution = 1.0; 
Note: See TracChangeset for help on using the changeset viewer.