public override void Draw(SpriteBatch spriteBatch) { _graphicsDevice.Clear(Color.Black); spriteBatch.Begin(transformMatrix: Game1.m_scaleMatrix); // Draw sprites here /* * for (int i = 0; i < touchcollection.Count; i++) * { * spriteBatch.DrawString(font, "Tapping point:" + touchcollection[i].Position.ToString(), new Vector2(0, 0 + i * 20), Color.White); * * } */ m_titlescreen.Draw(spriteBatch); m_PlayButton.Draw(spriteBatch); m_HighscoreButton.Draw(spriteBatch); m_CreditButton.Draw(spriteBatch); spriteBatch.End(); }
public override void Draw(SpriteBatch spriteBatch) { _graphicsDevice.Clear(m_color); spriteBatch.Begin(transformMatrix: Game1.m_scaleMatrix); // Draw sprites here m_backButton.Draw(spriteBatch); m_creditcolourlerp.Draw(spriteBatch); //spriteBatch.DrawString(font, "Created by Anthony Bogli", new Vector2(200, 200), Color.White); //spriteBatch.DrawString(font, "Github: https://github.com/monarchshield", new Vector2(200, 220), Color.White); //spriteBatch.DrawString(font, "Website: https://anthonybogli.com", new Vector2(200, 240), Color.White); spriteBatch.End(); }