Exemple #1
0
        public override void Create()
        {
            base.Create();

            Camera.BgColor = Color.IndianRed;

            StartGameText = new GenText("Press Start", Camera.CameraView.Width / 2, Camera.CameraView.Height / 2, 0, 20);
            StartGameText.TextAlignment = GenText.TextAlign.Center;
            StartGameText.HasShadow = true;
            StartGameText.ShadowColor = Color.DarkRed;
            StartGameText.Deceleration.Y = 700;
            Add(StartGameText);

            //Camera.Flash(1.2f, 3f, Color.White);
        }
        public override void Create()
        {
            base.Create();

            BgColor = Color.Black;

            LoadingText = new GenText("LOADING", Camera.CameraView.Width * 0.5f, Camera.CameraView.Height * 0.5f, 1, 24);
            LoadingText.Color = Color.PaleVioletRed;
            LoadingText.TextAlignment = GenText.TextAlign.Center;
            LoadingText.Scale.X = 2f;
            LoadingText.Scale.Y = 2f;
            LoadingText.HasShadow = true;
            LoadingText.ShadowColor = Color.Lime;
            Add(LoadingText);

            Camera.Flash(1f, 1f, Color.Black);
        }