Changeset 9825 for 2017/30


Ignore:
Timestamp:
2018-07-31 14:44:17 (13 months ago)
Author:
lukrmoil
Message:
 
Location:
2017/30/HugoE/HanniAndHoo
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/HanniAndHoo.cs

    r9824 r9825  
    3535    void LuoPelaajat() 
    3636    { 
    37         Hanni = new PeliUkko(80.0, 80.0);         
     37        Hanni = new PeliUkko(90.0, 90.0);         
    3838        Hanni.X = Level.Left + 100.0; 
    3939        Hanni.Y = 0.0; 
    40         Hanni.Shape = Shape.Circle; 
     40        Hanni.Shape = Shape.Hexagon; 
    4141        Hanni.Color = Color.Blue; 
    4242        Hanni.Image = HanninKuva; 
     
    5656        Hoo.X = Level.Right - 100.0; 
    5757        Hoo.Y = 0.0; 
    58         Hoo.Shape = Shape.Circle; 
     58        Hoo.Shape = Shape.Hexagon; 
    5959        Hoo.Color = Color.Red; 
    6060        Hoo.Image = HoonKuva; 
     
    134134    { 
    135135        if (!Kohde.Tag.Equals("pelaaja")) return; 
     136        //Kohde.Hit(Tormaaja.Velocity * 25 + new Vector(0,100)); 
     137        //Kohde.Y += 100; 
     138        //Kohde.LinearDamping = 1; 
     139        //Kohde.Velocity = (Tormaaja.Velocity * 25 + new Vector(0, 100)); 
     140        //PeliUkko KohdeUkko = (PeliUkko)Kohde; 
     141        //KohdeUkko.ForceJump(1000); 
     142        //{ 
     143        //    if (Tormaaja.Y > Kohde.Y); 
     144        //} 
    136145        PeliUkko pu = (PeliUkko)Kohde; 
    137146        pu.Elamalaskuri.AddValue(-2); 
     
    147156        PeliUkko pu = (PeliUkko)Kohde; 
    148157         
    149         pu.Elamalaskuri.AddValue(-5); 
     158        pu.Elamalaskuri.AddValue(-6); 
    150159        if (Ammus.Tag.Equals("PelaajanAmmus")) 
    151160        { 
Note: See TracChangeset for help on using the changeset viewer.