xna menu system

Started by
3 comments, last by jeffreyp23 12 years, 5 months ago
hii all im still new to xna and i have a lot of trouble finding a good to tutorial to explain everything about the menu system so can anyone help rolleyes.gifrolleyes.gif
Advertisement
Assuming you know c#, the fastest way is to create a base Menu class, and for each menu you want, like options and so, you create classes that inherit Menu named like OptionsMenu, or MainMenu. Each will have your own set of menu controls. In a game component set up to process input, check for a click, if so and the locations falls on a control, do something like switch active menus. Or you can wait for my UI library and it will be a lot easier, but that might take a while.
There are plenty of UI system already out including mine (link below); however, XNA doesn't come with a menu system though creating a basic one is very easy.

http://xnagui.codeplex.com/
[size=2]

There are plenty of UI system already out including mine (link below)

http://xnagui.codeplex.com/


Well... That just hurts... I've been working on mine, ALONE, on and off for about a year and I only just now got the labels working...
Here is the "menu" tutorial from microsoft :


http://create.msdn.com/en-US/education/catalog/sample/game_state_management

Ready for use : )

This topic is closed to new replies.

Advertisement