C# Xna Game Scene/State Management
Hello,
Firstly im new to the forums here, i read a couple of peoples posts and it seems like your all very knowledgeable.
Have been working with the XNA framework for a little while, but i would still put myself in the novice category.
My question, im looking to implement "Game Scenes" or states into one of my 2d projects,
wondering if someone here could offer some code? or advice?
just a simple transition from one menu to another would be sweet
thankyou,
There's an example for game state management on xna.com:
http://creators.xna.com/samples/gamestatemanagement
Because above example bakes all kinds of very game specific things into its classes (eg. default graphics assets, transition effects between states and more) and because its design makes it hard to isolate the classes for unit testing, I have created my own game state management system for my current game:
Nuclex Framework: Game State Management
But the XNA example certainly gets you running faster if you're not that crazy about academic design exercises like me :)
http://creators.xna.com/samples/gamestatemanagement
Because above example bakes all kinds of very game specific things into its classes (eg. default graphics assets, transition effects between states and more) and because its design makes it hard to isolate the classes for unit testing, I have created my own game state management system for my current game:
Nuclex Framework: Game State Management
But the XNA example certainly gets you running faster if you're not that crazy about academic design exercises like me :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement