Пример #1
0
        public Instructions(MainPage parent)
        {
            InitializeComponent();
            this.parent = parent;
            parent.InGameView(Visibility.Collapsed);
            txtInstructions.Text = ("Jump around, dodge enemy projectile, don't die\n\n" +
                "Blue Tile gives extra speed, Red Tile lets you jump higher, Grey tile gives permission to shoot\n\n" +
                "You don't need to aim, sophisticated path finding algorithm is implemented on the projectile, to boost your gameplay and performance\n" +
                "All you need to do is P2W (press to win), press Jump to jump, press Shoot to shoot\n\n" +
                "If Shoot button is Red, you can't shoot, make sure you are in Yellow Tile, and it will turn green, and you shoot\n\n"+
                "Enjoy the game scrub, L2P if you die, stop hacking if you don't die...");

            bluehelpblock.Text = "Blue Tile: Extra speed.";
            redhelpblock.Text = "Red Tile: Jump Higher.";
            yellowblock.Text = "Grey Tile: Enable Shooting.";
        }
Пример #2
0
 public Instructions(MainPage parent)
 {
     InitializeComponent();
     this.parent = parent;
 }
Пример #3
0
 public MainMenu(MainPage parent)
 {
     this.parent = parent;
     InitializeComponent();
     this.instructions = new Instructions(parent);
 }
Пример #4
0
 public MainMenu(MainPage parent)
 {
     this.parent = parent;
     InitializeComponent();
 }
Пример #5
0
 public Options(MainPage parent)
 {
     this.parent = parent;
     InitializeComponent();
 }
Пример #6
0
 public Help(MainPage parent)
 {
     InitializeComponent();
     this.parent = parent;
 }
Пример #7
0
 private void OnLoaded(object s, RoutedEventArgs e)
 {
     MainPage newmain = new MainPage();
     game = new ProjectGame(newmain);
     game.Run(swapppy);
 }