- Timestamp:
- 2015-06-26 00:09:53 (8 years ago)
- Location:
- 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun.cs
r6412 r6413 322 322 { 323 323 MediaPlayer.Play("hillbilly_intro"); 324 ShowStoryText(new Queue<string>(new[] { "Innit just da warmest here, sis?", "Seems to me our establishment's a-burnin'.", "...Must 'vebeen 'em nasty witches!" }));324 ShowStoryText(new Queue<string>(new[] { "Innit just da warmest here, sis?", "Seems to me our establishment's a-burnin'.", "...Musta been 'em nasty witches!" })); 325 325 } 326 326 … … 973 973 shroom.Tag = "burn"; 974 974 shroom.Tag += "shroom"; 975 //shroom.AnimWalk = new Animation();975 shroom.AnimWalk = new Animation(tattiMageAnimation); 976 976 shroom.CollisionIgnoreGroup = 3; 977 977 Add(shroom, 1); … … 998 998 castTimer.Timeout += delegate 999 999 { 1000 //shroom.PlayAnimation();1000 shroom.PlayAnimation(tattiMageCastAnimation); 1001 1001 1002 1002 Timer.SingleShot(RandomGen.NextDouble(3, 5), delegate { shroom.Brain = attackBrain; }); … … 1007 1007 for (int i = 0; i < matoja; i++) 1008 1008 { 1009 CreateWorm(shroom.Position + RandomGen.NextVector(-200, 0, 200, 0), TILE_SIZE, TILE_SIZE);1009 CreateWorm(shroom.Position + RandomGen.NextVector(-200, shroom.Height * 1.5, 200, shroom.Height * 2), TILE_SIZE, TILE_SIZE); 1010 1010 shroom.Brain = brain; 1011 1011 } … … 1025 1025 AddCollisionHandler(shroom, "pitchfork", delegate(PhysicsObject s, PhysicsObject f) 1026 1026 { 1027 matoja += RandomGen.NextInt(1, 5);1027 matoja += RandomGen.NextInt(1, 2); 1028 1028 rahkeet--; 1029 1029 if (rahkeet < 1) … … 1031 1031 shroom.Destroy(); 1032 1032 castTimer.Stop(); 1033 //Timer.SingleShot(6, NextLevel);1033 Timer.SingleShot(6, NextLevel); 1034 1034 } 1035 1035 });
Note: See TracChangeset
for help on using the changeset viewer.