Changeset 676
- Timestamp:
- 2010-06-10 13:54:58 (13 years ago)
- Location:
- 2010/23/kajysail
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
2010/23/kajysail/Ping Pong/Content/Content.contentproj
r608 r676 48 48 </Compile> 49 49 </ItemGroup> 50 <ItemGroup> 51 <Compile Include="Tausta.png"> 52 <Name>Tausta</Name> 53 <Importer>TextureImporter</Importer> 54 <Processor>TextureProcessor</Processor> 55 </Compile> 56 </ItemGroup> 57 <ItemGroup> 58 <Compile Include="Ilmapallo.png"> 59 <Name>Ilmapallo</Name> 60 <Importer>TextureImporter</Importer> 61 <Processor>TextureProcessor</Processor> 62 </Compile> 63 </ItemGroup> 50 64 </Project> -
2010/23/kajysail/Ping Pong/Peli.cs
r662 r676 17 17 18 18 Alku(); 19 Level.CreateBorders(1.05, true); 20 21 ajastin = new Timer(); 22 ajastin.Interval = 20; 23 ajastin.Trigger += Ajastinapu; 24 25 Add(ajastin); 26 ajastin.Reset(); 27 ajastin.Start(); 19 28 20 } 29 21 void Alku() … … 35 27 36 28 AddCollisionHandler(pelihahmo, KasitteleOsumama); 29 30 Level.Background.Image = LoadImage("Tausta"); 31 Level.CreateBorders( 1.05, false); 32 33 ajastin = new Timer(); 34 ajastin.Interval = 20; 35 ajastin.Trigger += Ajastinapu; 36 37 Add(ajastin); 38 ajastin.Reset(); 39 ajastin.Start(); 40 41 Camera.ZoomToLevel(160); 42 37 43 } 38 44 … … 46 52 pelihahmo = new PhysicsObject(50.0, 50.0); 47 53 pelihahmo.Shape = Shapes.Rectangle; 54 pelihahmo.Image = LoadImage("Ilmapallo"); 48 55 Add(pelihahmo); 49 56
Note: See TracChangeset
for help on using the changeset viewer.