public override void LoadContent() { #region planeG1 = Static.CONTENT.Load <Texture2D>("planeGreen1"); planeG2 = Static.CONTENT.Load <Texture2D>("planeGreen2"); planeG3 = Static.CONTENT.Load <Texture2D>("planeGreen3"); planeR1 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed1"); planeR2 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed2"); planeR3 = Static.CONTENT.Load <Texture2D>("RedPlane/planeRed3"); planeY1 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow1"); planeY2 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow2"); planeY3 = Static.CONTENT.Load <Texture2D>("YellowPlane/planeYellow3"); Bronze = Static.CONTENT.Load <Texture2D>("medalBronze"); Silver = Static.CONTENT.Load <Texture2D>("medalSilver"); Gold = Static.CONTENT.Load <Texture2D>("medalGold"); gs = new Screen.GameScreens(); gs.LoadContent(); ss = new Screen.ScrollScreen(); ss.LoadContent(); //Hinh Quanh May Bay Pixel = Static.CONTENT.Load <Texture2D>("Rect"); #endregion //Hinh GameOver GameOver = Static.CONTENT.Load <Texture2D>("textGameOver"); base.LoadContent(); }
public void Reset() { _plane = new Plane.ImagePlane(); GS = new Screen.GameScreens(); SS = new Screen.ScrollScreen(); GS.Reset_1(); GS.score = 0; }
public override void LoadContent() { backgrounds1 = Static.CONTENT.Load <Texture2D>("background"); backgrounds2 = Static.CONTENT.Load <Texture2D>("BG1223"); Bronze = Static.CONTENT.Load <Texture2D>("medalBronze"); Silver = Static.CONTENT.Load <Texture2D>("medalSilver"); Gold = Static.CONTENT.Load <Texture2D>("medalGold"); Sc = new Screen.ScrollScreen(); STAR = new List <Score.Star>(); s = new Score.Star(); CR = new Rockets.CollisionRocket(); Font = Static.CONTENT.Load <SpriteFont>("font"); _plane1 = new Plane.ImagePlane(); Sc.LoadContent(); base.LoadContent(); }