Changeset 1331 for 2010/30/pyryl/pong
- Timestamp:
- 2010-07-27 14:57:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/30/pyryl/pong/Peli.cs
r1317 r1331 41 41 42 42 43 43 44 AddCollisionHandler(pallo, KasittelePallonTormays); 44 45 … … 59 60 60 61 61 pallo.Restitution = 3.0;62 pallo.Restitution = 100.0; 62 63 pallo.KineticFriction = 0; 63 Level.BackgroundColor = Color.Black; 64 Level.BackgroundColor = Color.Turquoise 65 ; 64 66 Camera.ZoomToLevel(); 65 67 … … 70 72 void AloitaPeli() 71 73 { 72 Vector impulssi = new Vector( 500.0, 30.0);74 Vector impulssi = new Vector(2500.0, 0.0); 73 75 pallo.Hit(impulssi); 74 76 } … … 82 84 Add(maila); 83 85 return maila; 86 84 87 } 85 88 void AsetaOhjaimet() … … 139 142 { 140 143 IntMeter laskuri = new IntMeter(0); 141 laskuri.MaxValue = 10 ;144 laskuri.MaxValue = 100; 142 145 Label Naytto = new Label(); 143 146 Naytto.BindTo(laskuri);
Note: See TracChangeset
for help on using the changeset viewer.