Changeset 8804 for 2017/24/MatiasK


Ignore:
Timestamp:
2017-06-17 23:58:31 (2 years ago)
Author:
npo17_7
Message:

Vähän vaikeampi ja jne kaikkee kivaa

Location:
2017/24/MatiasK/SimpleGame/SimpleGame/SimpleGame
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/MatiasK/SimpleGame/SimpleGame/SimpleGame/SimpleGame.cs

    r8803 r8804  
    4141        Level.Background.CreateStars(10000); 
    4242 
    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"); 
    4444        Add(tekstikentta); 
    4545 
    4646        tekstikentta.X = Screen.Left + 130; 
    4747        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; 
    5060 
    5161        tekstikentta.Color = Color.Gold; 
     
    8292        pelaajan1Ase.IsVisible = false; 
    8393 
    84         Mouse.Listen(MouseButton.Left, ButtonState.Down, AmmuAseella, "Shoot", pelaajan1Ase); 
     94        Mouse.Listen(MouseButton.Left, ButtonState.Pressed, AmmuAseella, "Shoot", pelaajan1Ase); 
    8595 
    8696        MediaPlayer.IsRepeating = true; 
    8797 
    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        
    99100 
    100101 
     
    224225 
    225226         
     227 
    226228        ajastin.Timeout += LisaaVihollisia2; 
    227229        ajastin.Start(); 
     
    368370class Vihu : PhysicsObject 
    369371{ 
    370     private IntMeter elamaLaskuri = new IntMeter(10, 0, 10); 
     372    private IntMeter elamaLaskuri = new IntMeter(3, 0, 3); 
    371373    public IntMeter ElamaLaskuri { get { return elamaLaskuri; } } 
    372374 
Note: See TracChangeset for help on using the changeset viewer.