public override void Draw(SpriteBatch spriteBatch) { //GraphicsDevice.Clear(Color.CornflowerBlue); spriteBatch.Draw(background, new Rectangle(0, 0, 800, 700), Color.White); btnPlay.Draw(spriteBatch); btnLoad.Draw(spriteBatch); btnOp.Draw(spriteBatch); btnLoad.Draw(spriteBatch); btnExit.Draw(spriteBatch); btnTutorial.Draw(spriteBatch); }
public override void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(background, new Rectangle(0, 0, 800, 700), Color.White); btnResume.Draw(spriteBatch); btnOp.Draw(spriteBatch); btnExit.Draw(spriteBatch); }
public override void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(background, new Rectangle(0, 0, 800, 700), Color.White); btnSave.Draw(spriteBatch); btnLoad.Draw(spriteBatch); btnBack.Draw(spriteBatch); }
public override void Draw(SpriteBatch spriteBatch) { //GraphicsDevice.Clear(Color.CornflowerBlue); btnLoad2.Draw(spriteBatch); btnLoad1.Draw(spriteBatch); btnBack.Draw(spriteBatch); }
public override void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(backGround, new Rectangle(0, 0, screenWidth, screenHeight), Color.White); spriteBatch.Draw(potionBottle, new Vector2(350, 300), Color.White); spriteBatch.Draw(brassKnuckle, new Vector2(450, 300), Color.White); btnBack.Draw(spriteBatch); btnBuyP.Draw(spriteBatch); btnBuyF.Draw(spriteBatch); if (NoCoins) { spriteBatch.DrawString(shopText, "Not enough coins", new Vector2(100, 100), Color.DarkGoldenrod); } spriteBatch.DrawString(shopText, "30 Coins", new Vector2(450, 320), Color.Gold); spriteBatch.DrawString(shopText, "10 Coins", new Vector2(350, 320), Color.Gold); spriteBatch.DrawString(shopText, "Coins: " + playerCoins, new Vector2(700, 0), Color.Gold); }
public override void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(background, new Rectangle(0, 0, 800, 700), Color.White); spriteBatch.DrawString(HealthFont, "Health:" + playerHealth.ToString(), new Vector2(590, 370), Color.Green); spriteBatch.DrawString(enemyHealthFont, "Health:" + enemyHealth.ToString(), new Vector2(650, 50), Color.Red); spriteBatch.Draw(battleEnemy2, new Vector2(660, 70), Color.White); spriteBatch.Draw(battleEnemy, new Vector2(660, 70), Color.White); spriteBatch.DrawString(HealthFont, "Special Points: " + attackpts, new Vector2(590, 390), Color.Black); spriteBatch.DrawString(HealthFont, "Healing Potions: x" + healPotion, new Vector2(590, 520), Color.PaleVioletRed); DrawAnimation(spriteBatch); fightButton.Draw(spriteBatch); itemButton.Draw(spriteBatch); specialButton.Draw(spriteBatch); if (death) { spriteBatch.DrawString(HealthFont, "YOU DIED", new Vector2(400, 350), Color.Red); } }