XNA + Windows Forms: How make them work together without making the trick of the custom GraphicsDeviceControl?

Posted by Renann on Game Development See other posts from Game Development or by Renann
Published on 2012-11-05T00:44:33Z Indexed on 2012/11/05 5:14 UTC
Read the original article Hit count: 145

Filed under:
|
|

What I've found is a solution where you have to code a custom GraphicsDeviceControl to put inside the form (the well known tutorial from the APPHub), but that's not what I'm searching for.

I would like to say that before start to right my question here, I "googled" a lot and I saw some questions here, but I couldn't find what I'm looking for.

I would like to have the Draw/Update loops completly managed by XNAFrameWork (with XNA project and so), and not by a custom component.

I hope you understand what I asked.

Thanks in advance.

Edit

What's the most important thing for me and wasn't shown in the tutorial of APPHub is: where I have to put the input handling? That's one the problems that wasn't covered by the tutorial.

© Game Development or respective owner

Related posts about XNA

Related posts about xna-4.0