Centering Gamplay Screen

edited June 2012 in Help request
Just wondering if anybody knew right off hand at positioning the gameplay window to center screen, I attempted to use "glutInitWindowPosition" to no success , and as little opengl(or sdl im a bit fuzzy on orx's base libraries) experience I have i figured someone might know, thx in advance. :)

Comments

  • edited June 2012
    Ther's no direct way to do that with orx itself but it should be easy to add.
    You can try calling glfwSetWindowPosition yourself till then (orx is not using glut but glfw). :)
  • edited June 2012
    Thx for clearing that up, now I wont be calling non existent functions, and I figured if nothing I could also just set it via native means but ill go ahead and use glfw, thx again. :lol:
  • edited June 2012
    If you sync the svn, you now have the config property Display.ScreenPosition that should do the trick. :)
  • edited June 2012
    Oh hell ya Iarwain, thx man now I don't have to reference glfw libraries, time to load up tortoise.
Sign In or Register to comment.