//--------------------------------------------------------------------------------------------------------------------------------------------------- // // Copyright (C)2007 DarkWynter Studios. All rights reserved. // //--------------------------------------------------------------------------------------------------------------------------------------------------- // {Contact : darkwynter.com for licensing information //--------------------------------------------------------------------------------------------------------------------------------------------------- // namespace DarkWynter.Engine.Menus.GameScreens { #region Using Statements using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Storage; using DarkWynter.Engine.Menus; using Arkstraction.Statics; #endregion //using Scurvy.Media; /// /// Our Starting Title Screen. /// Snowflake graphic thanks to Robert Redwood http://www.easyelements.com/photoshop-snowflake-brush-set.html /// public class OpeningCreditScreen : GameScreen { Texture2D snowFlake; Vector2 location; Vector2 scale; float rotation; float frontBack; Vector2 backgroundLocation; Vector2 backgroundOrigin; float alpha = 1.0f; bool alphaIncreasing = false; Random rand = new Random(); bool surveyLaunched = false; /// /// Title Screen constructor. /// public OpeningCreditScreen(Enums_Engine.MenuState GameEngineState) : base(GameEngineState) { //Instantiate the GameMenu // Title screen will only have the splash image menu = new GameMenu("", Arkstraction.Statics.Globals.GAME_WINDOW_WIDTH / 2, Arkstraction.Statics.Globals.GAME_WINDOW_HEIGHT / 2); // Game Screen Backgrounds // Check for widescreen and load appropriatly // Load the textures for the game screens SetBackground(Arkstraction.Statics.Globals.content.Load("_textures/CreditScreen"), 1.0f); // snowFlake = Statics_Engine.SystemSettings.content.Load("Content/_textures/thoughtImage"); location = new Vector2(200, 0); rotation = 0.0f; scale = new Vector2(0.5f, 0.5f); //Video vid = Statics_Engine.SystemSettings.content.Load