问题
I'm thinking of game in game user interface.
回答1:
Check out XNAML:
http://msmvps.com/blogs/valentin/pages/xnaml-component.aspx
http://xnaml.codeplex.com/
[The] engine is designed to run in a pure Xna environement on all supported device. My engine is extensible, you can add your own controls, inherit from base classes (such as Control or Pane) to make your own behavior. The compatibility with Xaml is complete. Create your interface on Blend and make a simple copy/past action to add the Xaml file in your Xna project ! Extract a C# code from a Silverlight project and just add it to your own Xna project !
回答2:
I would definitely check out the suggestions the The ZMan has put up on this post. There are lots of UI libraries in his post.
回答3:
I think you should look at this list:
I remember Crazy Eddie as a good GUI builder.
回答4:
Probably a bare-bones approach (but anything XNA will be) would be the ScreenManager class as used by the Microsoft code samples. A guide to using it can be found in the Game State Management documentation.
回答5:
Another possibility is XPF, an XNA-compatible library that seeks to replicate some of WPF's UI architecture. I use it myself - it's simple and elegant. It will be free for non-commercial use, with commercial pricing TBA.
(I haven't been able to load the XNAML website, but I'd guess XPF and XNAML have similar goals.)
来源:https://stackoverflow.com/questions/4749294/is-there-any-free-xna-ui-library