- Timestamp:
- 2016-06-20 11:57:59 (7 years ago)
- Location:
- 2016/25/ToukoP
- Files:
-
- 50 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
2016/25/ToukoP/Pong/Pong/Pong/Pong.cs
r7461 r7467 2 2 using System.Collections.Generic; 3 3 using Jypeli; 4 using Jypeli.Assets;4 //using Jypeli.Assets; 5 5 using Jypeli.Controls; 6 6 using Jypeli.Effects; … … 9 9 public class Pong : PhysicsGame 10 10 { 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); 13 13 PhysicsObject pallo; 14 14 … … 42 42 Add(pallo); 43 43 pallo.Shape = Shape.Circle; 44 pallo.Color = Color. Gold;44 pallo.Color = Color.White; 45 45 pallo.Restitution = 1.0; 46 46 maila1 = Luomaila(Level.Left + 20.0, 0.0); 47 47 maila2 = Luomaila(Level.Right - 20.0, 0.0); 48 Level.Background.CreateGradient(Color.Black, Color.Bl ue);49 pallo.X = -2 00.0;48 Level.Background.CreateGradient(Color.Black, Color.Black); 49 pallo.X = -250.0; 50 50 pallo.Y = 0.0; 51 52 51 53 52 vasenReuna = Level.CreateLeftBorder(); 54 53 vasenReuna.Restitution = 1.0;
Note: See TracChangeset
for help on using the changeset viewer.