Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我的游戏是 3D 时,我将如何在 Xna 中绘制 2D 文本。基本上我希望它覆盖在屏幕上,而不是在 3D 环境中的某个位置绘制它。
此处记录的 SpriteBatch将允许您编写 2D 文本,查看类似这样的教程。请参阅拉绳。这是一个来自微软的简单例子。