Ignore:
Timestamp:
2016-09-17 14:09:18 (3 years ago)
Author:
koannak
Message:
 
Location:
2016/30/TaavettiV/Street Alien Domination/Street Alien Domination
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street Alien DominationContent/kentta3.txt

    r8285 r8286  
    99#N...#..............................................................................pppppppppppppppppppppppppppppppppppppppppppppppppp 
    1010##.......................................................................mmm.........AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 
    11 #...................................................................................AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 
     11#....V..............................................................................AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 
    1212#...................BBBB...........................................................****************************************************************** 
    1313######################################################################################################################################################################################################################################## 
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street_Alien_Domination/Street_Alien_Domination.cs

    r8285 r8286  
    2222    Image asevihukuva = LoadImage("kesken"); 
    2323    Image tähtäinkuva = LoadImage("tähtäin"); 
    24     Image bosskuva = LoadImage("bosspoop"); 
     24    Image vauvaBoss = LoadImage("bosspoop"); 
     25    Image vihreaBossKuva = LoadImage("outohirvio"); 
    2526 
    2627    Image knightkuva = LoadImage("knight"); 
     
    6869        kentta.SetTileMethod('m', LisaaOlio3); 
    6970        kentta.SetTileMethod('B', LisaaOlio4); 
     71        kentta.SetTileMethod('V', LisaaOlio5); 
    7072        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    7173        Level.CreateBorders(); 
     
    156158        PlatformCharacter B = new PlatformCharacter(leveys * 1.0, korkeus * 1.0); 
    157159        B.Position = paikka; 
    158         B.Image =bosskuva; 
     160        B.Image =vauvaBoss; 
    159161        Add(B); 
    160162        B.Tag = "B"; 
     
    171173 
    172174 
     175    void LisaaOlio5(Vector paikka, double leveys, double korkeus) 
     176    { 
     177        PlatformCharacter m = new PlatformCharacter(leveys * 2.9, korkeus * 2.9); 
     178        m.Position = paikka; 
     179        m.Image = vihreaBossKuva; 
     180        Add(m); 
     181        m.Tag = "m"; 
     182 
     183        PlatformWandererBrain tasoAivot = new PlatformWandererBrain(); 
     184        tasoAivot.Speed = 100; 
     185 
     186        tasoAivot.FallsOffPlatforms = true; 
     187        tasoAivot.TriesToJump = true; 
     188 
     189        m.Brain = tasoAivot; 
     190 
     191    } 
    173192 
    174193    void Tormaap(PhysicsObject pelaaja1, PhysicsObject p) 
Note: See TracChangeset for help on using the changeset viewer.