XNA 中非常简单的菜单 [英] Very simple menu in XNA

查看:28
本文介绍了XNA 中非常简单的菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和其他一些人正在创建一个游戏,我想添加一个非常简单的菜单,只有开始和退出游戏.现在我已经下载了游戏状态管理示例,但那是一段很长很复杂的代码.我的问题:有人知道我可以制作如此简单菜单的网站或其他东西,或者有人自己创建了这样的菜单并希望帮助我.

Me and some other guys are creating a game, and i would like to add a very simple menu with only Start and Exit Game. Now I already downloaded the Game state management sample, but thats a very long and complicated code. My question: someone knows a site or something where i can make such a simple menu or someone created such a menu by himself and wants to help me.

我在 Xna4.0 中工作.

Im working in Xna4.0.

带有按回车键开始游戏"或类似内容的标题屏幕也不错.

A Titlescreen with "press enter to start the game" or something like that would be nice too.

推荐答案

游戏状态管理示例不长也不复杂.

The Game State Management sample is not long or complicated.

我的建议是通过它,直到您了解他们是如何实现菜单系统的,这与您可以拥有的最基本的菜单很接近,同时保持菜单应该做的最低限度的功能.

My recommendation is to make your way through it until you understand how they implemented the menu system, which is close to the most basic menu that you can have, while maintaining the minimum functionality of what a menu should do.

这篇关于XNA 中非常简单的菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆