public void Initialize()
        {
            Length = 2500;
            TransitionInProgress = false;

            WorldName = new Translator(this, new Vector3(0, 50, 0), "Alien", Colors.Default.AlienBright, @"Pixelite", Colors.Default.NeutralDark, Descriptor.Name, 3, true, 1500, 100, Preferences.PrioriteGUIPanneauGeneral, false);
            WorldName.CenterText = true;

            VisualEffects.Add(WorldName.ToTranslate, Core.Visual.VisualEffects.FadeInFrom0(255, 0, 1000));
            VisualEffects.Add(WorldName.Translated, Core.Visual.VisualEffects.FadeInFrom0(255, 0, 1000));

            Background.Color = new Color(Main.Random.Next(235, 255), Main.Random.Next(235, 255), Main.Random.Next(235, 255));
        }
Пример #2
0
 private void InitPressStart()
 {
     PressStart = new Translator(
         Scene, new Vector3(0, 65, 0),
         "Alien", Colors.Default.AlienBright,
         @"Pixelite", Colors.Default.NeutralBright,
         (Preferences.Target == Core.Utilities.Setting.Xbox360) ? "Press a button to start your engine" : "Click a mouse button to start your engine",
         3, true, 3000, 250, Preferences.PrioriteGUIMenuPrincipal, false)
         {
             CenterText = true
         };
 }