protected override void Build() { DeathTaunts.Add(null, "What a shame, I had such high hopes for you"); const double STEP_WIDTH = 1.2; Add(Platform.Concrete(new Point2(2.5, 4), width: STEP_WIDTH)); Platforms.Last().OnActorStanding += actor => LevelContext.DisplayHint(JUMP_HINT); for (int i = 1; i < 5; i++) { Add(Platform.Concrete(new Point2(3 + i * i / 2.8 + 2 * i, 4 + i), width: STEP_WIDTH)); } Platforms[2].OnActorStanding += actor => { if (actor.Velocity.IsZero) { LevelContext.DisplayHint(MOMENTUM_HINT); } }; Platforms[3].OnActorStanding += actor => LevelContext.DisplayHint(HOLD_JUMP_HINT); DeathTaunts.Add(Platforms[Platforms.Count - 2], "You snooze, you lose"); Platforms.Last().OnActorStanding += actor => LevelContext.DisplayMessage("You're not too old for this after all!"); }
protected override void Build() { Add(Platform.PassThrough(new Point2(8, 13), width: 3)); Platforms[0].OnActorLanding += actor => LevelContext.DisplayMessage("That doesn't look too bad..."); Add(Platform.Concrete(new Point2(15.35, 8.8), width: 0.5, height: 0.5)); Platforms.Last().OnActorStanding += actor => LevelContext.DisplayMessage("If it fits, I sits"); DeathTaunts.Add(Platforms.Last(), "Well yes, but actually no"); Add(Platform.Concrete(new Point2(18, 7.4), width: 2, height: 2.2)); DeathTaunts.Add(Platforms.Last(), "Absolutely but not really"); Add(Platform.Concrete(new Point2(19.5, 7.5), width: 0.5, height: 0.1)); DeathTaunts.Add(Platforms.Last(), "Maybe this isn't the right game for you"); _boop = Add(Platform.Concrete(new Point2(18.8, 10.4), width: 0.9, height: 0.9)); Platforms.Last().OnActorLanding += actor => LevelContext.DisplayMessage("This is exciting! Or is it..."); DeathTaunts.Add(Platforms.Last(), "So cautious. Yet so dead"); Add(Platform.Concrete(new Point2(13.1, 3), width: 1, height: 1)); Platforms.Last().OnActorLanding += actor => LevelContext.DisplayMessage("Captain obvious to the rescue!"); DeathTaunts.Add(Platforms.Last(), "LOL you knew this would fail"); Add(Platform.Concrete(new Point2(22.0, 13.0), width: 0.3, height: 8.0)); Add(Platform.Concrete(new Point2(18.3, 3), width: 2.5)); Platforms.Last().OnActorLanding += actor => LevelContext.DisplayMessage("Deep in my heart I have always believed in you"); }
protected override void Build() { Add(Platform.Concrete(new Point2(1, 9.5), width: 2)); for (int i = 0; i < 5; i++) { Add(Platform.Concrete(new Point2(3 + i * i / 6.5 + i * 2, 9.5 - i), width: 1.3)); } Platforms[0].OnActorStanding += actor => LevelContext.DisplayHint(RIGHT_HINT); Platforms[2].OnActorStanding += actor => { LevelContext.SuppressHint(RIGHT_HINT); LevelContext.DisplayMessage("Good. Was just making sure you have pulse", seconds: 2); }; DeathTaunts.Add(Platforms[4], "Stop being so insecure!"); DeathTaunts.Add(Platforms[5], "You're a goner"); Platforms.Last().OnActorStanding += actor => LevelContext.DisplayHint(DOOR_HINT); }
protected override void Build() { Add(Platform.Concrete(new Point2(7, 3), width: 1, height: 0.3)); Platforms.Last().OnActorLanding += actor => LevelContext.DisplayMessage("Find your inner peace"); _checkpoint = Add(Platform.OneWay(new Point2(7, 7), width: 4.5)); Add(Platform.PassThrough(new Point2(16.9, 8), width: 0.3)); Add(Platform.OneWay(new Point2(18.3, 5), width: 1.5)); DeathTaunts.Add(Platforms.Last(), "Such lack of creativity"); Add(Platform.OneWay(new Point2(10, 9), width: 3.7)); Add(Platform.OneWay(new Point2(15.6, 9), width: 5.4)); Platforms.Last().OnActorLanding += actor => { if (actor.Size == 1) { LevelContext.DisplayMessage("Just do it"); } }; Add(Platform.PassThrough(new Point2(19, 8), width: 1.3)); Platforms.Last().OnActorLanding += actor => { if (actor.Size == 2) { LevelContext.DisplayMessage("Ah! I see you are a man of culture"); } }; Add(Platform.OneWay(new Point2(14.3, 7), width: 2)); Add(Platform.PassThrough(new Point2(9, 4), width: 1.5)); Add(Platform.PassThrough(new Point2(10.5, 8), width: 2.6)); Add(Platform.PassThrough(new Point2(20, 7), width: 1)); Add(Platform.PassThrough(new Point2(12.9, 4), width: 1.5)); Add(Platform.OneWay(new Point2(13.2, 5), width: 1.5)); DeathTaunts.Add(Platforms.Last(), "You should use your head for thinking"); Add(Platform.Concrete(new Point2(14.5, 3), width: 1.3, height: 0.3)); DeathTaunts.Add(Platforms.Last(), "Suicide is never the answer"); Add(Platform.Concrete(new Point2(16, 5.3), width: 0.3, height: 0.3)); Add(Platform.Concrete(new Point2(18, 5.3), width: 0.3, height: 0.3)); DeathTaunts.Add(Platforms.Last(), "Epic fail"); Add(Platform.Concrete(new Point2(14, 7), width: 0.3, height: 0.3)); Add(Platform.Concrete(new Point2(13.7, 9.3), width: 0.3, height: 0.3)); Add(Platform.Concrete(new Point2(17.8, 3), width: 1, height: 0.3)); Add(Platform.Concrete(new Point2(20.2, 3.8), width: 0.3)); DeathTaunts.Add(Platforms.Last(), "Wow, you really blew it this time!"); Add(Platform.Concrete(new Point2(21, 8), width: 0.3, height: 0.5)); Add(Platform.Concrete(new Point2(21, 16.5), width: 0.3, height: 4)); Add(Platform.Concrete(new Point2(21, 10.8), width: 0.3, height: 0.8)); Add(Platform.Concrete(new Point2(15.1, 11.2), width: 0.3, height: 0.3)); Add(Platform.Concrete(new Point2(17.5, 11.5), width: 0.3, height: 0.3)); Add(Platform.OneWay(new Point2(10, 12), width: 11)); Add(Platform.Concrete(new Point2(23.5, 4), width: 4, height: 0.3)); }