public PositronGame(ThreadedRendering window) { _Window = window; // TODO: world objects need to be pending initialization before the world is controlled by the scene FarseerPhysics.Settings.VelocityIterations = 1; InputAccepterGroups = new OrderedDictionary(); SetupScenes(); //_CurrentScene = (Scene)_Scenes["SceneFirstMenu"]; }
public static void Main() { // Instantiate the main window // this also sets up OpenGL var main_window = new ThreadedRendering (); // Prepare game resources // This makes OpenGL calls PositronGame.InitialSetup (); // TEST: Dump all the settings: //Configuration.DumpEverything (); // Run the window thread // Game will be set up by render/update thread -because reasons- main_window.Run (); }
public static void Main() { // Instantiate the main window // this also sets up OpenGL var main_window = new ThreadedRendering(); // Prepare game resources // This makes OpenGL calls PositronGame.InitialSetup(); // TEST: Dump all the settings: //Configuration.DumpEverything (); // Run the window thread // Game will be set up by render/update thread -because reasons- main_window.Run(); }