Changeset 8478


Ignore:
Timestamp:
2017-06-09 13:36:17 (6 years ago)
Author:
nupeohje
Message:
 
Location:
2017/23/VenlaV/platformerproto
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2017/23/VenlaV/platformerproto/platformerproto/platformerproto/platformerproto.cs

    r8470 r8478  
    9595        Musta.CollisionIgnoreGroup = 1; 
    9696        Add(Musta); 
     97        Musta.Tag = "Maa"; 
    9798        Musta.Restitution = 0;} 
    9899    void LuoPelaaja(Vector paikka, double leveys, double korkeus) 
     
    254255        Add(Coin, -1); 
    255256    } 
     257 
     258 
    256259    void AmmusOsui(PhysicsObject ammus, PhysicsObject kohde) 
    257260    { 
    258261        ammus.Destroy(); 
     262        if (kohde.Tag == "Vihu") { kohde.Destroy(); } 
    259263    } 
    260264    void AmmuAseella(PlatformCharacter pelaaja) 
Note: See TracChangeset for help on using the changeset viewer.