Ignore:
Timestamp:
2018-08-02 11:05:49 (15 months ago)
Author:
lukrmoil
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/HanniAndHoo.cs

    r9834 r9836  
    129129    void Avaruus() 
    130130    { 
    131         MediaPlayer.Stop(); 
     131        //MediaPlayer.Stop(); 
    132132        ClearAll(); 
    133133        PhysicsObject AlaReuna = PhysicsObject.CreateStaticObject(Screen.Width, 50); 
     
    142142        LuoTaso(Level.Left + 400.0, 0, true); 
    143143        LuoTaso(Level.Right - 400.0, 0, true); 
     144        MediaPlayer.Stop(); 
     145        MediaPlayer.Volume = 0.2; 
     146        MediaPlayer.Play("taistelumusaehdokas2"); 
     147        MediaPlayer.IsRepeating = true; 
    144148    } 
    145149 
    146150    void Pihamaa() 
    147151    { 
    148         MediaPlayer.Stop(); 
     152        //MediaPlayer.Stop(); 
    149153        ClearAll(); 
    150154        PhysicsObject AlaReuna = PhysicsObject.CreateStaticObject(Screen.Width, 50); 
     
    160164        LuoTaso(Level.Left + 400.0, -50); 
    161165        LuoTaso(Level.Right - 400.0, -50); 
     166        MediaPlayer.Stop(); 
     167        MediaPlayer.Volume = 0.2; 
     168        MediaPlayer.Play("hannivshoo"); 
     169        MediaPlayer.IsRepeating = true; 
    162170    } 
    163171 
     
    230238        taso.Image = Taso; 
    231239        taso.Tag = "taso"; 
    232         //taso.CollisionIgnoreGroup = 7; 
     240         
    233241        taso.MakeOneWay(); 
    234242        if (heiluu) taso.Oscillate(new Vector(0, 18), 68, 0.20); 
     
    237245    void LuoKentta() 
    238246    {      
    239         MediaPlayer.Stop(); 
    240         MediaPlayer.Volume = 0.2; 
    241         MediaPlayer.Play("TaistelumusaEhdokas2"); 
    242         MediaPlayer.IsRepeating = true;         
     247        //MediaPlayer.Stop(); 
     248        //MediaPlayer.Volume = 0.2; 
     249        //MediaPlayer.Play("taistelumusaehdokas2"); 
     250        //MediaPlayer.IsRepeating = true;         
    243251        Level.Width = Screen.Width; 
    244252        Level.Height = Screen.Height; 
Note: See TracChangeset for help on using the changeset viewer.