George Clingerman

      XNADevelopment.com
posts - 188, comments - 1521, trackbacks - 181

My Links

News



Twitter












Tag Cloud

Article Categories

Archives

Post Categories

. XNADevelopment.com .

XNADevelopment.com - The State of Things

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. 

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Monday, March 09, 2009 10:24 PM |

Feedback

Gravatar

# re: XNADevelopment.com - The State of Things

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!
3/10/2009 6:39 AM | Mom
Gravatar

# re: XNADevelopment.com - The State of Things

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
3/11/2009 2:12 PM | Kensei
Gravatar

# re: XNADevelopment.com - The State of Things

Hi George,
thank you very much for your tutorials. I think the third solution is perfect for any game.

Ale
3/17/2009 2:48 PM | Alessandro
Gravatar

# re: XNADevelopment.com - The State of Things

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.
3/19/2009 1:41 AM | Shion
Gravatar

# re: XNADevelopment.com - The State of Things

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
5/4/2009 3:48 AM | theo
Gravatar

# re: XNADevelopment.com - The State of Things

Great tutorial.

I just started looking into the XNA and after reading that tutorial I got off to a great start:)
5/4/2009 8:42 AM | Shade
Gravatar

# re: XNADevelopment.com - The State of Things

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. :(
5/4/2009 7:22 PM | Ty
Gravatar

# re: XNADevelopment.com - The State of Things

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 ;)
10/29/2009 1:42 PM | Sean McKenna
Gravatar

# re: XNADevelopment.com - The State of Things

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
12/6/2009 12:40 PM | christian hough
Gravatar

# re: XNADevelopment.com - The State of Things

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 :-)
2/14/2010 9:35 AM | Oli
Gravatar

# re: XNADevelopment.com - The State of Things

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;
}
}
}
3/27/2010 6:01 AM | Byron
Gravatar

# The

books to this post. No real reason for it to be there, I took it (well, technically
4/28/2010 1:14 PM | puma sneakers
Gravatar

# re: XNADevelopment.com - The State of Things

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
2/17/2011 9:30 AM | daniel
Gravatar

# re: XNADevelopment.com - The State of Things

thanks much for you r sgare720
7/19/2011 9:24 PM | Microsoft Office 2007 Enterprise
Gravatar

# re: XNADevelopment.com - The State of Things

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.
8/3/2011 4:03 AM | kingdom hearts cosplay costumes
Gravatar

# re: XNADevelopment.com - The State of Things

Another is scouring the two shorts. In fact, the same style you, but just different colors. Very loose very casual kind of big party
8/17/2011 4:57 AM | Cheap Air Jordan Sneakers
Gravatar

# re: XNADevelopment.com - The State of Things

A navy blue one apricot. Play when called yesterday wearing a long cotton pants, it is to heat my bad. Others are looking sleeveless
8/17/2011 4:58 AM | Jordan Mix Shoes
Gravatar

# re: XNADevelopment.com - The State of Things

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
8/17/2011 4:59 AM | Cheap Puma Sneakers
Gravatar

# re: XNADevelopment.com - The State of Things

Now apply a seaweed mask DIY blogging, still feel very comfortable, very at home is very casual.
8/17/2011 5:00 AM | Cheap MBT Shoes
Gravatar

# re: XNADevelopment.com - The State of Things

Oh, think women really strange, seaweed paste this muddy things Baji will find beauty in the face, ha ha, really incredible.
8/17/2011 5:01 AM | Links Of London Sale
Gravatar

# Mr

<H2>Dez Bryant Jersey</H2>,
<H2>Steelers Ike Taylor Jerseys</H2>
11/8/2011 7:24 PM | VinceColemanJersey
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: