Changeset 8725 for 2017/24/SebastianH


Ignore:
Timestamp:
2017-06-15 13:56:23 (2 years ago)
Author:
npo17_13
Message:
 
Location:
2017/24/SebastianH/JumpingAdventure/JumpingAdventure/JumpingAdventure
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/SebastianH/JumpingAdventure/JumpingAdventure/JumpingAdventure/JumpingAdventure.cs

    r8704 r8725  
    1616        Gravity = new Vector(0.0, -800.0); 
    1717 
    18         LuoVihollinen(new Vector(100.0, 100.0), 80.0, 700.0); 
     18        LuoVihollinen(new Vector(0.0, -380.0), 30.0, 30.0); 
    1919        LuoElinvoimalaskuri(); 
    2020 
    21         spaceship = new PhysicsObject(30, 40, Shape.Star); 
     21 
     22 
     23        spaceship = new PhysicsObject(30, 30, Shape.Star); 
    2224        spaceship.X = 0.0; 
    23         spaceship.Y = 0.0; 
     25        spaceship.Y = -300.0; 
    2426        spaceship.Color = Color.Fuchsia; 
    2527        spaceship.CanRotate = false; 
     
    5254    void LuoVihollinen(Vector paikka, double leveys, double korkeus) 
    5355    { 
    54         ufo = new PhysicsObject(leveys, korkeus, Shape.Ellipse); 
     56        ufo = new PhysicsObject(leveys, korkeus, Shape.Hexagon); 
    5557        ufo.Position = paikka; 
    5658        ufo.Tag = "pahis"; 
     
    6163    void LuoElinvoimalaskuri() 
    6264    { 
    63         elinvoimaLaskuri = new IntMeter(3000); 
     65        elinvoimaLaskuri = new IntMeter(100); 
    6466 
    6567        Label elinvoimaNaytto = new Label(); 
Note: See TracChangeset for help on using the changeset viewer.