Geeks With Blogs
George Clingerman       XNADevelopment.com

g-comics I've posted a new tutorial up at XNADevelopment.com. I'll warn you now it's a doozy! If you're up to it, head on over and check out "The State of Things". I think this one has been sitting heavy on my heart for quite a while and when I finally sat down to write it up, everything just started pouring out. This tutorial doesn't just introduce one little way of managing screen state in your game, nope, this tutorial walks you THREE DIFFERENT SOLUTIONS!

(and one of them uses event handlers and polymorphism..yikes!)

And well, I'm tired now. I've been working on this tutorial for three days straight now. The only left to do is for you to head over and check it and please if you do check it out, let me some dang feedback. The good, the bad or the ugly. I really just want to hear what you think. If the tutorials aren't useful, I want to know. If you wish I would change the format, let me know. If they're just at the right level for you, LET ME KNOW!

Oh, and I think I'll add the picture of my comic books to this post. No real reason for it to be there, I took it (well, technically wifey took it) for an example I was making in the tutorial and well I just like it. 

Posted on Monday, March 9, 2009 10:24 PM | Back to top


Comments on this post: XNADevelopment.com - The State of Things

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Sorry son but I haven't a clue??? Enjoyed the picture!!!! So over my head that I truly wonder if I am in existence with all this techno stuff!Amazing writing! Did see Jeanie Kline your teacher in High School and she seemed very interested in all that Dad shared about you and your family. Love to all!
Left by Mom on Mar 10, 2009 6:39 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
George my hero!

Thanks for the great tutorial, I had worked through another tutorial on GameState and it used your second solution. Your final solution of using objects is a lot more elegant - I will integrate it immediately into my game.

Thanks and please keep up with your excellent tutorials
Left by Kensei on Mar 11, 2009 2:12 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Hi George,
thank you very much for your tutorials. I think the third solution is perfect for any game.

Ale
Left by Alessandro on Mar 17, 2009 2:48 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Good morning.

I've been searching for something like this, and finally, after years :p, found a tutorial for gamestatemanagement.
Thank you very much, it's great.
Left by Shion on Mar 19, 2009 1:41 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
that was a great tutorial and very helpful.thanks .the 3rd solution was great.it helps u add more easy staff to one object.i mean more properties for future use.

thanks

keep them coming
Left by theo on May 04, 2009 3:48 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Great tutorial.

I just started looking into the XNA and after reading that tutorial I got off to a great start:)
Left by Shade on May 04, 2009 8:42 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Ive been up for 3 days straight trying to grasp the concept of all the coding and stuff and I just cant seem to get it. I want to make my own game so bad but no matter what I read or where I look I just cant grasp something and its driving me crazy.

Great job of explaining things, I just wish I understood it. :(
Left by Ty on May 04, 2009 7:22 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Really really good tutorial!! Very clear and exactly what I need to help me create my game for my Computer Science Degree :) Will definitely be using the Object Oriented design. Any tutorials you could do to help create a platform style game would be greatly appreciated..........although maybe too much to ask for, sorry ;)
Left by Sean McKenna on Oct 29, 2009 1:42 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
thanks for helping me understand the basics of gamestates and screens, wondering how i add a press space/start command to get into my actual game - having difficulty writing the code for this
Left by christian hough on Dec 06, 2009 12:40 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Dude, nice tutorial. I really like how you share your knowlege. Just one question however...

the 3rd tutorial works of a system where it invokes an event, but what if I wanted multiple events, would I have to set up multiple event handlers?

Thanks in advance :-)
Left by Oli on Feb 14, 2010 9:35 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
hey i been having problem with the second screen state
private void UpdateControllerDetectScreen()
{
//Poll all the gamepads (and the keyboard) to check to see
//which controller will be the player one controller
for (int aPlayer = 0; aPlayer < 4; aPlayer++)
{
if (GamePad.GetState((PlayerIndex)aPlayer).Buttons.A == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.A) == true)
{
mPlayerOne = (PlayerIndex)aPlayer;
mCurrentScreen = ScreenState.Title; <-- that part was an error all the ScreenState had an error
return;
}
}
}
Left by Byron on Mar 27, 2010 6:01 AM

# The
Requesting Gravatar...
books to this post. No real reason for it to be there, I took it (well, technically
Left by puma sneakers on Apr 28, 2010 1:14 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Thank u very much, i didnt c this tutorial before, my fault. I only went through the first method and it is very easy to understand. I am going to use it for my game. I search the internet for all entire day and all of those tutorial were just to complex for me at my stage. I am so pleased with this ease solution. In the future i am going to check other ways u wrote but for now. Just the first one is enough
thanks again
Left by daniel on Feb 17, 2011 9:30 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
thanks much for you r sgare720
Left by Microsoft Office 2007 Enterprise on Jul 19, 2011 9:24 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
I don't comment on many blogs but after reading a few of your posts I thought I would just say thanks and keep up the good work.
Left by kingdom hearts cosplay costumes on Aug 03, 2011 4:03 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Another is scouring the two shorts. In fact, the same style you, but just different colors. Very loose very casual kind of big party
Left by Cheap Air Jordan Sneakers on Aug 17, 2011 4:57 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
A navy blue one apricot. Play when called yesterday wearing a long cotton pants, it is to heat my bad. Others are looking sleeveless
Left by Jordan Mix Shoes on Aug 17, 2011 4:58 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
As the legs feel fairly thick, and leg does not look good, so they dared to wear shorts, usually also wearing a skirt that long to wear knee
Left by Cheap Puma Sneakers on Aug 17, 2011 4:59 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Now apply a seaweed mask DIY blogging, still feel very comfortable, very at home is very casual.
Left by Cheap MBT Shoes on Aug 17, 2011 5:00 AM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Oh, think women really strange, seaweed paste this muddy things Baji will find beauty in the face, ha ha, really incredible.
Left by Links Of London Sale on Aug 17, 2011 5:01 AM

# Mr
Requesting Gravatar...
Left by VinceColemanJersey on Nov 08, 2011 7:24 PM

# re: XNADevelopment.com - The State of Things
Requesting Gravatar...
Now apply a seaweed mask DIY blogging, still feel very comfortable.
Left by Slendertone Flex Go on Jun 21, 2012 3:24 AM

Your comment:
 (will show your gravatar)


Copyright © George Clingerman | Powered by: GeeksWithBlogs.net