Changeset 8804
- Timestamp:
- 2017-06-17 23:58:31 (6 years ago)
- Location:
- 2017/24/MatiasK/SimpleGame/SimpleGame/SimpleGame
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
2017/24/MatiasK/SimpleGame/SimpleGame/SimpleGame/SimpleGame.cs
r8803 r8804 41 41 Level.Background.CreateStars(10000); 42 42 43 Label tekstikentta = new Label(205.0, 20.0, "Beat the score 1056");43 Label tekstikentta = new Label(205.0, 20.0, "Beat the score 500"); 44 44 Add(tekstikentta); 45 45 46 46 tekstikentta.X = Screen.Left + 130; 47 47 tekstikentta.Y = Screen.Top - 150; 48 49 48 49 Label NNae = new Label(200.0, 50.0, "Astropoint(Beta)"); 50 Add(NNae); 51 52 NNae.X = Screen.Left + 960; 53 NNae.Y = Screen.Top - 10; 54 55 56 57 NNae.Color = Color.BlueGray; 58 NNae.TextColor = Color.BloodRed; 59 NNae.BorderColor = Color.DarkGray; 50 60 51 61 tekstikentta.Color = Color.Gold; … … 82 92 pelaajan1Ase.IsVisible = false; 83 93 84 Mouse.Listen(MouseButton.Left, ButtonState. Down, AmmuAseella, "Shoot", pelaajan1Ase);94 Mouse.Listen(MouseButton.Left, ButtonState.Pressed, AmmuAseella, "Shoot", pelaajan1Ase); 85 95 86 96 MediaPlayer.IsRepeating = true; 87 97 88 Label NNae = new Label(200.0, 50.0, "Astropoint(Beta)"); 89 Add(NNae); 90 91 NNae.X = Screen.Left + 960; 92 NNae.Y = Screen.Top - 300; 93 94 95 96 NNae.Color = Color.BlueGray; 97 NNae.TextColor = Color.BloodRed; 98 NNae.BorderColor = Color.DarkGray; 98 99 99 100 100 101 … … 224 225 225 226 227 226 228 ajastin.Timeout += LisaaVihollisia2; 227 229 ajastin.Start(); … … 368 370 class Vihu : PhysicsObject 369 371 { 370 private IntMeter elamaLaskuri = new IntMeter( 10, 0, 10);372 private IntMeter elamaLaskuri = new IntMeter(3, 0, 3); 371 373 public IntMeter ElamaLaskuri { get { return elamaLaskuri; } } 372 374
Note: See TracChangeset
for help on using the changeset viewer.