Is there any free XNA UI library?

随声附和 提交于 2019-12-21 21:34:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!