Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am under planning stage of my game where I am creating controls for my game. I have create below control for stages but have no idea how this we can achieve in xna. enter image description here

Please also help me with your views regarding how to load, play multiple stages and persist score for each stage in game using xna. What we normally used to do is just put everything in infinite loop but here I want more intelligence in game, as one stage over it should go back to menu. Example can be something like angry bird stages.

share|improve this question

You're starting point is to look at the Game State Management tutorial provided by Microsoft here:

In that example, you can create and use global variables in the ScreenManager class for score etc. This would provide a simple method of persisting across the various states.

share|improve this answer
but how can I create above control in xna. I have already checked it out the game state management sample. – sunder Mar 4 '13 at 8:22
Try this coverflow example on Codeplex:… It has an Ms-Pl license, so you are able to reuse the code as you want – Jason Coombes Mar 4 '13 at 8:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.