Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

window/menu manager design

Name: Chris 2009-02-20 12:32

Hi, all.  I've been working with C#/XNA for a while and have had a pretty good bit of fun making small, simple games with the framework.  I'm looking to go a little more advanced, though, and I'm getting tripped up on an implementation/design issue.

I want to open the game with a splash screen or two (maybe some bg music being played), then come to a main screen with highlight-able fields (start game, options, return to windows).  From there, I want nice transition effects from that screen to other screens (options, save/load game), and/or to the game screen.

Can anyone give me some ideas/examples of this sort of menu/screen manager system in action?  Any example games that do a good job of this that are extensible enough to easily add in animated background and foreground sprites?

Thank you for your input :)

Name: Anonymous 2009-02-20 12:56

Read SICP.

Name: sage 2009-02-20 13:08

Sage.

Name: Chris 2009-02-20 13:23

SICP...yes it's wonderful but it doesn't cover everything.  Anyone that would like to be kind and offer a pointer or two?

Name: Anonymous 2009-02-20 13:31

0x8134

Name: Anonymous 2009-02-20 13:34

DONT HELP HIM!!!!

Name: Anonymous 2009-02-20 13:50

void* help = 0x2fffff

Name: Anonymous 2009-02-20 16:49

Nigger* nigger = new Nigger();
Robber* robber = nigger;

Name: Anonymous 2009-02-20 16:54

>>8
Back to /b/, please.

Name: Anonymous 2009-02-20 18:25

Make a Screen and ScreenManager class.  Make an AnimatedBackground and Sprite class.  Your Sprite class can have Animation classes in it which will have an array of Rectangles to various frames on a Texture2D class.

Name: Anonymous 2009-02-20 18:32

Dont forget the WindowFactory

Name: Anonymous 2009-02-20 18:33

>>1
The only language Christopher knows is lojban. Nice try, Christopher.

Name: Anonymous 2009-02-20 21:01

One of the better parts of XNA is its documentation and samples. Learn to search!

I even looked up the link for you since I'm feeling nice today:
http://creators.xna.com/en-US/samples/gamestatemanagement

Name: Anonymous 2009-02-20 22:34

>>12
That is not me. Nice to have stupid posts attributed to me, though. Makes me feel warm inside.

Name: Anonymous 2010-12-06 9:33

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-08 20:33

Name: Anonymous 2011-02-04 14:19

<

Name: Anonymous 2014-01-21 20:55

>>18
>le pedophile sage

Don't change these.
Name: Email:
Entire Thread Thread List