Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualsatsujin

Posted 11 November 2013 - 12:49 PM

This is my first Windows game so I'm somewhat confused. I'm using xna 4.0. I can create clickable Rectangle objects that change color but am not sure how to create separate screens. Do I define each screen as a GameComponent with its individual Draw and Update logic? If I want to exit one screen and go to another is there some event I can create like ChangeScreen where the current screen is removed as a Component and replaced with the new screen (maybe in GameComponentCollection)? 


#1satsujin

Posted 11 November 2013 - 12:48 PM

This is my first Windows game so I'm somewhat confused. I'm using xna 4.0. I can create clickable Rectangle objects that change color but am not sure how to create separate screens. Do I define each screen as a GameComponent with its individual Draw and Update logic? If I want to exit one screen and go to another is there some event I can create like ChangeScreen where the current screen is removed as a Component and replaced with the new screen? 


PARTNERS