GoblinXNA without inherit from Game class?

Mar 18, 2012 at 8:51 AM

Can I use GoblinXNA without inherit from the Game class? I'm trying to create an application that uses a GoblinXNA inside a Windows Forms application and i cant use the Game Class, would i have a problem?

I see that i need create my own ContentManager to initialize Goblin, and I see that the Update method of Scene uses the ElapsedGameTime and I don't know if i have problems trying to do my application because of this. 

 

Thanks a lot, and sorry for my bad english!

Coordinator
Mar 18, 2012 at 3:12 PM

If you go to App Hub, there should be an example of integrating XNA application with WinForms. You should be able to figure out how you can integrate GoblinXNA with WinForms using that sample code.

Ohan

Mar 18, 2012 at 3:22 PM

Thanks! Yes, i've already seen that and i have implemented yet. But I have a problem, the Control where I render with XNA flicked a lot... and in the tutorial doesn't occurs... I'm working on that!

 

Ruben