简体   繁体   English

如何在Windows窗体中实现XNA游戏

[英]How to implement an XNA-Game into a Windows-Form

I want to add a updatable and drawable Control into a windows Form, wherein I can let my game being played, but also is possible to go go fullscreen, if needed. 我想在Windows窗体中添加一个可更新且可绘制的控件,可以让我玩游戏,也可以在需要时全屏显示。 How can I do this? 我怎样才能做到这一点?

Here's a nice tutorial, it's quite easy. 这是一个很好的教程,非常简单。 You only have to make the base itself, such as the update void. 您只需要使基准本身即可,例如更新无效。 Here! 这里!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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