Hello Guest

Author Topic: Embedding in WinForms  (Read 3506 times)

0 Members and 1 Guest are viewing this topic.


  • Member
  • Posts: 1
    • View Profile
Embedding in WinForms
« on: October 03, 2016, 11:44:29 AM »
Is there a way to make otter be embedded into a winforms control? (basically use a different target HWND handle upon creation?)
I want to make an editor and use WinForms for the side UI.

Something like done with SFML.net here:

The post that contains "Just paste this into any new C# Win Forms Application. I just threw this code together for behind a form named Form1."


  • Administrator
  • Member
  • Posts: 259
    • View Profile
Re: Embedding in WinForms
« Reply #1 on: October 12, 2016, 07:56:46 PM »
Hmm I can't make any promises on this front. This seems to require a core modification of the game loop. If I can figure out a good way to implement this in the current API without changing a bunch of stuff, then I can check this out.  My current priorities at this point are to fix a few more bugs in the engine, and convert it over to the FNA runtime sometime next year.

This definitely would be possible though on your own branch if you want to fork it and modify the loop in Game.cs to work with a windows form.