Setting different startup window

Hey,

first, sorry if this is the wrong category.

I’m currently working on a game for which I created a MenuWindow in WPF which I want to initialize as the first window. Button clicks will bring up the game window.

However, I couldn’t find a way to set the WPF window as the startup window.

Is there a solution to do this?

Thanks in advance!

Playing with Main() springs to mind. but there are also Launch ARGS you can play with too.

Check out how a MG game is created and run in a fresh project’s Program.cs file. All you really need to do is create a Game instance and call Game.Run on it. Note that by default that call blocks until the game exits.