Ignore:
Timestamp:
2017-06-16 11:12:47 (5 years ago)
Author:
npo17_16
Message:
 
Location:
2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE

    • Property svn:global-ignores set to
      bin
    • Property svn:ignore set to
      *.cachefile
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/piXgel_GAmE.cs

    r8769 r8770  
    1616    Image hahmonkuvaoikealle = LoadImage("hahmooikealle"); 
    1717    Image vihollinenkuva = LoadImage("vihollinen"); 
     18    Image olioruumis = LoadImage("olioruumis"); 
    1819 
    1920    Image[] hahmonKavely = LoadImages("hahmo", "hahmo2"); 
     
    180181        vihollinen3.Image = vihollinenkuva; 
    181182        FollowerBrain seuraajanAivot3 = new FollowerBrain(hahmo); 
     183 
    182184 
    183185 
     
    225227        //Level.CreateBorders(1.0, true); 
    226228 
    227         Level.Background.Color = Color.Aqua; 
     229        Level.Background.Color = Color.Gray; 
    228230        Camera.Follow(hahmo); 
    229         Camera.Zoom(2.0); 
     231        Camera.Zoom(1.5); 
     232        Image background = LoadImage ("areena"); 
     233        Level.Background.Image = background; 
     234        Level.Background.FitToLevel(); 
    230235 
    231236 
     
    237242        if (kohde.Tag.Equals("vihu")) 
    238243        { 
    239             kohde.Destroy(); 
     244            kohde.Image = olioruumis; 
     245            kohde.Brain.Active = false; 
     246            Timer.SingleShot(1.0, delegate 
     247            { 
     248                
     249                kohde.Destroy(); 
     250            }); 
     251             
    240252        } 
    241253         
Note: See TracChangeset for help on using the changeset viewer.