Ignore:
Timestamp:
2016-07-29 10:18:42 (5 years ago)
Author:
lemaline
Message:

PELI ON VALMIS!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/LeoM/Akupeli/Akupeli/Akupeli/Akupeli.cs

    r8215 r8228  
    2121 
    2222    SoundEffect maaliAani = LoadSoundEffect("maali"); 
    23  
     23    SoundEffect hyppyAani = LoadSoundEffect("jump"); 
     24    SoundEffect roopeAani = LoadSoundEffect("loppu"); 
    2425    public override void Begin() 
    2526    { 
     
    116117        pelaaja1.Destroyed += delegate ()  
    117118        { 
     119            roopeAani.Play(); 
     120 
    118121            MessageDisplay.Add("ROOPE SEDÖ SAI SUT KIINNI"); 
    119             Timer.SingleShot(1.0, Begin); 
     122            Timer.SingleShot(2.0, Begin); 
    120123 
    121124        }; 
     
    154157    { 
    155158        hahmo.ForceJump(nopeus); 
     159        hyppyAani.Play(); 
    156160    } 
    157161 
Note: See TracChangeset for help on using the changeset viewer.