- Timestamp:
- 2011-07-05 11:37:55 (12 years ago)
- Location:
- 2011/26/OssiV/sotapeli/sotapeli/sotapeli
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2011/26/OssiV/sotapeli/sotapeli/sotapeli/kentta1.txt
r2436 r2438 19 19 * * V ############# # 20 20 ## ## V # # 21 # £21 # # 22 22 * * # V # 23 23 V ## ## ## V ############################ -
2011/26/OssiV/sotapeli/sotapeli/sotapeli/sotapeli.csproj
r2396 r2438 121 121 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 122 122 </Content> 123 <None Include="kentta2" /> 123 124 </ItemGroup> 124 125 <ItemGroup> -
2011/26/OssiV/sotapeli/sotapeli/sotapeli/tasohyppely.cs
r2436 r2438 48 48 } 49 49 50 50 51 void luoKentta() 51 52 { … … 62 63 Level.CreateBorders(); 63 64 Level.Background.CreateGradient(Color.White, Color.SkyBlue); 65 66 GameObject tausta = new GameObject(Level.Width, Level.Height); 67 //tausta.Image = taustanKuva; 68 Add(tausta, -3); 69 70 Level.AmbientLight = 0.1; 71 Light valo = new Light(); 72 valo.Intensity = 1.0; 73 valo.Distance = 150; 74 valo.Position = pelaaja2.Position; 75 Add(valo); 76 64 77 } 65 78 … … 195 208 196 209 210 211 197 212 return pelaaja2; 198 213 } … … 363 378 kohta1.Position = new Vector(0, 40); 364 379 valikonKohdat.Add(kohta1); 365 380 366 381 Label kohta2 = new Label("Lopeta"); 367 kohta2.Position = new Vector(0, - 40);382 kohta2.Position = new Vector(0, -80); 368 383 valikonKohdat.Add(kohta2); 384 369 385 370 386 foreach (Label valikonKohta in valikonKohdat) … … 375 391 Mouse.ListenOn(kohta1, MouseButton.Left, ButtonState.Pressed, AloitaAlusta, null); 376 392 Mouse.ListenOn(kohta2, MouseButton.Left, ButtonState.Pressed, Exit, null); 393 377 394 378 395 Mouse.IsCursorVisible = true; … … 513 530 514 531 532 515 533 public class Pahis : PhysicsObject 516 534 {
Note: See TracChangeset
for help on using the changeset viewer.