Пример #1
0
        void HowToPlayMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            const string msg2 = "Game Controls\n\n" +
                "Left Stick: Move\n" +
                "Right Stick: Aim\n" +
                "Y: Swap weapon\n" +
                "Right Trigger: Fire\n" +
                "Left Bumper: Reload\n" +
                "DPad Left: Buy weapons\n" +
                "DPad Right: Mod current weapon";
            MessageBoxScreen controlsMessageBox = new MessageBoxScreen(msg2, false);

            ScreenManager.AddScreen(controlsMessageBox, e.PlayerIndex);
        }
Пример #2
0
        void CreditsMenuEntrySelected(object sender, PlayerIndexEventArgs e)
        {
            const string msg1 = "Zomination XBIG Team\n\n"+
                "Created by: Wenchao Wang\n" +
                "Graphic Artists: Phil Washy, Xiangyu Wang\n" +
                "Music by: Jon Povirk, Andrew Hartwig\n" +
                "\nSpecial thanks to: \n" +
                "Neil Debski, Ryan (Tank) Skorski\n\n" +
                "Sound effect credits: bit.ly/1aXUP5n" +
                "\nv1.1";

            MessageBoxScreen creditsMessageBox = new MessageBoxScreen(msg1, false);

            ScreenManager.AddScreen(creditsMessageBox, e.PlayerIndex);
        }