Example #1
0
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra)
 {
     spriteBatch.Draw(BGPic, new Rectangle(0, 0, 1100, 720), Color.White);
     spriteBatch.DrawString(Font.SelectionFont, "Move On", new Vector2(35, 400), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Endless Mode", new Vector2(35, 430), Color.Red);
     spriteBatch.Draw(extra.NimbusPic, extra.NimbusRect, Color.White);
 }
Example #2
0
 public void DeathDraw(SpriteBatch spriteBatch, Extra extra, font Font, Goku goku)
 {
     spriteBatch.Draw(extra.DeadBGPic, new Rectangle(0,0,1100,720), Color.White);
     spriteBatch.DrawString(Font.LevelUp, "GAME OVER", new Vector2(200, 250), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Press [ENTER] to Start Again", new Vector2(350, 600), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "You're Score: " + goku.score, new Vector2(100, 100), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "High Score: " + goku.HighScore, new Vector2(100, 150), Color.Red);
 }
Example #3
0
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra)
 {
     spriteBatch.Draw(extra.SelectionBackgroundPic, BGRect, Color.White);
     spriteBatch.DrawString(Font.TitleFont, "Welcome To The DBZ GAME", new Vector2(30, 30), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "Start", new Vector2(35, 400), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Chapter Selection", new Vector2(35, 430), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Instructions", new Vector2(35, 460), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Credits", new Vector2(35, 490), Color.Red);
     spriteBatch.Draw(extra.NimbusPic, extra.NimbusRect, Color.White);
 }
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra)
 {
     spriteBatch.Draw(extra.SelectionBackgroundPic, new Rectangle(0,0,1100,720), Color.White);
     spriteBatch.DrawString(Font.TitleFont, "Welcome To The DBZ GAME", new Vector2(30, 30), Color.Black);
     spriteBatch.DrawString(Font.TitleFont, "Chapter Selection", new Vector2(35, 100), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Chapter 1", new Vector2(35, 400), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Chapter 2", new Vector2(35, 430), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Chapter 3", new Vector2(35, 460), Color.Red);
     spriteBatch.DrawString(Font.SelectionFont, "Chapter 4", new Vector2(35, 490), Color.Red);
     spriteBatch.Draw(extra.NimbusPic, extra.NimbusRect, Color.White);
 }
Example #5
0
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra, Goku goku,SenzuBeans senzuBean, Villain buu, Redbull redBull)
 {
     spriteBatch.Draw(extra.GameplayBackgroundPic, BGRect, Color.White);
     spriteBatch.Draw(goku.Sprite, goku.Position, Color.White);
     foreach (Rectangle rect in senzuBean.SenzuBeanRect)
         spriteBatch.Draw(senzuBean.Pic, rect, Color.White);
     spriteBatch.Draw(extra.pixel, bar.HealthRect, Color.Red);
     spriteBatch.Draw(extra.pixel, bar.EXPRect, Color.WhiteSmoke);
     LevelUpDraw(spriteBatch, goku, Font);
     spriteBatch.DrawString(Font.SelectionFont, "Health: " + goku.health, new Vector2(5, -7), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "Level: " + goku.level, new Vector2(5, 690), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "You're Score: " + goku.score * goku.level, new Vector2(570, 0), Color.Black);
     spriteBatch.Draw(buu.Sprite, buu.Position, Color.White);
     foreach (Rectangle rect in redBull.redBullRect)
         spriteBatch.Draw(redBull.redBullPic, rect, Color.White);
     redBull.RedbullIconDraw(spriteBatch, Font);
 }
Example #6
0
 public void Draw(SpriteBatch spriteBatch, Extra extra, Ch2Goku goku2, Ch2Goku MirrorGoku, SenzuBeans senzuBean, font Font, Redbull redBull, Ch2Villain Villain2)
 {
     spriteBatch.Draw(extra.GameplayBackgroundPic, new Rectangle(0, 0, 545, 720), Color.White);
     spriteBatch.Draw(extra.Namek, new Rectangle(540, 0, 545, 720), Color.White);
     spriteBatch.Draw(goku2.Sprite, goku2.Position, Color.White);
     spriteBatch.Draw(MirrorGoku.Sprite, MirrorGoku.Position, Color.White);
     foreach (Rectangle rect in senzuBean.SenzuBeanRect)
         spriteBatch.Draw(senzuBean.Pic, rect, Color.White);
     spriteBatch.Draw(extra.pixel, bar.HealthRect, Color.Red);
     spriteBatch.Draw(extra.pixel, bar.EXPRect, Color.WhiteSmoke);
     spriteBatch.DrawString(Font.SelectionFont, "Health: " + goku2.health, new Vector2(5, -7), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "Level: " + goku2.level, new Vector2(5, 690), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "You're Score: " + score, new Vector2(570, 0), Color.Green);
        foreach (Rectangle rect in redBull.redBullRect)
         spriteBatch.Draw(redBull.redBullPic, rect, Color.White);
        redBull.RedbullIconDraw(spriteBatch, Font);
        spriteBatch.Draw(Villain2.Sprite, Villain2.Position, Color.White);
 }
Example #7
0
 private void LevelUpDraw(SpriteBatch spriteBatch, Goku goku, font Font)
 {
     if (goku.Lvled == true)
     {
         spriteBatch.DrawString(Font.LevelUp, "LEVEL UP!", new Vector2(200, 200), Color.Red);
         timer++;
         if (timer == 90)
         {
             goku.Lvled = false;
             timer = 0;
         }
     }
 }
Example #8
0
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra)
 {
     spriteBatch.Draw(extra.Slide[OnSlide], BGRect, Color.White);
     spriteBatch.DrawString(Font.SelectionFont, "[<--] Back", new Vector2(35, 680), Color.Black);
     spriteBatch.DrawString(Font.SelectionFont, "Forward [-->]", new Vector2(900, 680), Color.Black);
 }
Example #9
0
 public void Draw(SpriteBatch spriteBatch, font Font, Extra extra)
 {
     spriteBatch.Draw(extra.Credits, BGRect, Color.White);
     spriteBatch.DrawString(Font.SelectionFont, "[<--] Back", new Vector2(35, 680), Color.Black);
 }
Example #10
0
 public void RedbullIconDraw(SpriteBatch spriteBatch, font Font)
 {
     if (XBoost != 0)
     {
         spriteBatch.Draw(BoostIcon, IconRect, Color.White);
         spriteBatch.DrawString(Font.timeBoostFont, ((int)(boostTimer / 60)).ToString(), new Vector2(1030, 40), Color.Red);
         spriteBatch.DrawString(Font.xboostFont, XBoost.ToString(), new Vector2(1060, 30), Color.Green);
     }
 }