Author Topic: Window placement bugette  (Read 975 times)

Offline PeeJay

  • Mr. Polyvector
  • ***
  • Posts: 244
    • View Profile
    • PeeJays Remakes
Window placement bugette
« on: 2008-Feb-26 »
When running a game in windowed mode, is it possible to automatically ensure the window fits on the screen?

While debugging, I prefer to have my game running in a window, but at the moment, while running the game in a window at 1024x768 on a desktop sized at 1280x1024, the window is only partly visible (it is off to the bottom right of the screen)

I hope that makes sense .......
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 10292
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Window placement bugette
« Reply #1 on: 2008-Feb-26 »
Oh!
The window should be centered. What OS do you have?

Offline PeeJay

  • Mr. Polyvector
  • ***
  • Posts: 244
    • View Profile
    • PeeJays Remakes
Window placement bugette
« Reply #2 on: 2008-Feb-26 »
Xp Sp 2
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity

Offline Ian Price

  • Global Moderator
  • Prof. Inline
  • ****
  • Posts: 3122
  • On the shoulders of giants.
    • View Profile
    • My Apps
Window placement bugette
« Reply #3 on: 2008-Feb-27 »
Yeah but it's XP on an Apple IIe :P
I came. I saw. I played.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 10292
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Window placement bugette
« Reply #4 on: 2008-Feb-27 »
Ah. Then I understand. Just wondering where he get's enough memory to have a 1280x1024 desktop :P
PeeJay, try the windowed mode in the project/options, not SETSCREEN. Maybe it's that.

Offline PeeJay

  • Mr. Polyvector
  • ***
  • Posts: 244
    • View Profile
    • PeeJays Remakes
Window placement bugette
« Reply #5 on: 2008-Feb-27 »
Yep, setting it in the project options works, and centralises the window properly, so it must be some small bugette in the SetScreen command ....
www.peejays-remakes.co.uk
For games, remakes, and GL Basic Tutorials
Artificial Intelligence is no match for Natural Stupidity