コード例 #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
ファイル: Options.xaml.cs プロジェクト: Nantangitan/GI-PJ2
 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);
 }