Ignore:
Timestamp:
2016-07-29 12:19:09 (3 years ago)
Author:
sieerinn
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/RoniM/savethebase/savethebase/savethebase/savethebase.cs

    r8253 r8254  
    3030    Image Points = LoadImage("Points"); 
    3131    Image vihu5 = LoadImage("vihu"); 
     32    Image zzombi = LoadImage("zzombi"); 
    3233 
    3334    Pelaaja pelaaja1; 
     
    268269    { 
    269270        Timer aikaLaskuri = new Timer(); 
    270         aikaLaskuri.Interval = 10; 
     271        aikaLaskuri.Interval = 7; 
    271272        aikaLaskuri.Timeout += delegate 
    272273        { 
     
    302303    { 
    303304        Timer aikaLaskuri = new Timer(); 
    304         aikaLaskuri.Interval = 10; 
     305        aikaLaskuri.Interval = 40; 
    305306        aikaLaskuri.Timeout += delegate 
    306307        { 
    307             PhysicsObject zombi = new PhysicsObject(RUUDUN_KOKO / 3, RUUDUN_KOKO / 3); 
     308            PhysicsObject zombi = new PhysicsObject(17,17); 
    308309 
    309310            zombi.Position = paikka; 
     
    311312 
    312313 
    313  
    314             zombi.Color = Color.Violet; 
     314            
    315315            LabyrinthWandererBrain labyrinttiAivot = new LabyrinthWandererBrain(RUUDUN_KOKO); 
    316             labyrinttiAivot.Speed = 30.0; 
     316            labyrinttiAivot.Speed = 70.0; 
     317            zombi.Image = zzombi; 
    317318            zombi.LifetimeLeft = TimeSpan.FromSeconds(80.0); 
    318319            AddCollisionHandler(zombi, "pelaaja", pelaajaosui2); 
Note: See TracChangeset for help on using the changeset viewer.