public void Startcredits() { startScreen = null; creditScreen = new CreditScreen(this); }
public void StartTutoScreen() { startScreen = null; tutoScreen = new TutoScreen(this); currentScreen = Screen.TutoScreen; }
/// <summary> /// LoadContent will be called once per game and is the place to load /// all of your content. /// </summary> protected override void LoadContent() { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(GraphicsDevice); // TODO: use this.Content to load your game content here startScreen = new StartScreen(this); currentScreen = Screen.StartScreen; // load _ballBounceWall = Content.Load<SoundEffect>("grassland"); SoundEffectInstance instance = _ballBounceWall.CreateInstance(); instance.IsLooped = true; _ballBounceWall.Play(0.1f, 0.0f, 0.0f); // reglage du volume. base.LoadContent(); }
public void StartStartScreen() { chooseLevelScreen = null; chooseWorldScreen = null; startScreen = new StartScreen(this); }
public void StartSelWorld() { startScreen = null; // endScreen = null; chooseLevelScreen = null; chooseWorldScreen = new ChooseWorldScreen(this); currentScreen = Screen.ChooseWorldScreen; }
public void StartSelLevel3() { chooseWorldScreen = null; startScreen = null; chooseLevelScreen = null; chooseLevelScreen2 = null; chooseLevelScreen3 = new ChooseLevelScreen3(this); }
public void Startgamew() { startScreen = null; // toute les autres a null ? loadingScreen = null; gamePlayScreen = new GamePlayScreen(this); //currentScreen = Screen.GamePlayScreen; }
public void Startgame() { // startScreen = null; // toute les autres a null ? // IsLoading = true; // is loading ? dat new new //loadingScreen = new LoadingScreen(this); //urrentScreen = Screen.LoadingScreen; startScreen = null; // toute les autres a null ? loadingScreen = null; gamePlayScreen = new GamePlayScreen(this); // gamePlayScreen = new GamePlayScreen(this); //currentScreen = Screen.GamePlayScreen; }