简体   繁体   中英

How can I make a GUI for my C# XNA game?

My game has basic functionality and is playable with a command line, but I would like to put a GUI on top of it.

It is a platformer type game written in C# with the XNA framework.

I have googled and found a few libraries, but they all seem very gum and duct tape. Is there a mature or standard way of making a GUI for my situation?

I found http://www.3dbuzz.com did a wonderful tutorial section for XNA, it did a breif Hyperion game which was akin to the old infocom games which was great fun to make, and lead me to then make a networked MUCK based on some of the ideas it involved.

It then goes on to make various things, covering sound, GUI, sprites and so on. All done with good humor and attention to details.

The standard answer is: look at the Gamestate management tutorial in Education Catalog .

This doesn't give you very nice widgets, but rather shows a way of managing the game flow and some menus (including pause menu).

NEOForce Controls

Full featured, open source GUI library for XNA 4.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM