Topic was automatically imported from the old Question2Answer platform.
Asked By
adrios
I’ m considering to use Godot as Engine to develop basic games for a project. I would be very happy if I could use it since I like the ease of use and the idea behind (instead of using a well known competitor) but before starting I must be sure it has a certain functionality.
Since the games need to run inside an already existing WPF Application I made, is it possible to embed a Godot App inside a Window or something?
Then, Export your Godot program. For example, ming is called “Gmae1. exe”
Then, create methods using the win32 api in the WinForms project, “SetParent”, “ShowWindow”, “MoveWindow”, and embed the handle of the third-party exe program into UserControl.
Finally, if you use it in wpf, you only need to use WindowsFormsHost to host UserControl. However, there is an airspace problem, and we need to consider how to deal with it.
I don’t see any other solution better than this one. This is also a good approach too…