Changeset 4009
- Timestamp:
- 2013-06-07 12:03:57 (10 years ago)
- Location:
- 2013/23/LeoS
- Files:
-
- 6 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
2013/23/LeoS/Tasohyppelypeli2.cs
r4006 r4009 37 37 Image olionkuva3 = LoadImage("Copcar"); 38 38 Image seina = LoadImage("wall"); 39 Image umad = LoadImage("mad"); 40 SoundEffect trolli = LoadSoundEffect("badumtss"); 41 SoundEffect hah = LoadSoundEffect("gay"); 39 42 IntMeter elamat; 40 43 List<PushButton> potionit = new List<PushButton>(); … … 44 47 { 45 48 LuoKentta(); 46 //MediaPlayer.Play("biaatch"); 47 //MediaPlayer.IsRepeating = true; 49 MediaPlayer.Play("biaatch"); 50 MediaPlayer.IsRepeating = true; 51 MediaPlayer.Volume = 50; 48 52 Gravity = new Vector(0, -2000); 49 53 elamat = new IntMeter(10, 0, 10); 50 elamat.LowerLimit += delegate { homo.Destroy(); }; 54 elamat.LowerLimit += delegate { 55 homo.Destroy(); 56 MediaPlayer.Stop(); 57 hah.Play(); 58 Widget imaku = new Widget(umad); 59 Add(imaku); 60 61 }; 51 62 Level.CreateBorders(); 52 63 tpajastin = new Timer(); … … 97 108 k.Destroy(); 98 109 Rapetime(); 110 trolli.Play(); 111 99 112 100 113 }
Note: See TracChangeset
for help on using the changeset viewer.