Alt + Enter to toggle fullscreen

  • Bp103
    1st Aug 2010 Member 0 Permalink
    Not much to say here.....

    I would like Alt + Enter to toggle fullscreen.
  • bchandark
    1st Aug 2010 Member 0 Permalink
    Not possible, unless you mean scaling.
    Then, on Windows, create a shortcut to the .exe, Right Click > Properties > add argument "scale:2" to the end of the textbox.
  • Bp103
    1st Aug 2010 Member 0 Permalink
    bchandark
    Explain how this can be "Not possible".

    My counter reasons:
    Its already half implemented, but in a windowed mode via command line.
    In my experiences only the scaling of the render is the most complex part of the code. which is already done.

    The only ways I see this not being possible is that the computer attempting to do it has a resolution <640x480 or this program is using an api that will crash if this is attempted.

    Fullscreen: Fills the screen, no trace of the OS's GUI, can't move the render or tell it is in a window (Depending on the OS)
  • triclops200
    1st Aug 2010 Former Staff 0 Permalink
    if it's scaled, I can see it, but the resolution would stay the same because too many more pixels and it would be too laggy to play
  • Bp103
    1st Aug 2010 Member 0 Permalink
    triclops200
    It would most definitely have to be scaled for compadability. Different resolutions and dot count in saves would be a nightmare.
  • plypencil
    1st Aug 2010 Member 0 Permalink
    SDL has a built in feature which switches it from full screen to window mode....
  • Simon
    1st Aug 2010 Administrator 0 Permalink
    It looks like crap in full-screen. Since it's scaled by the monitor/graphics card, it will appear stretched.
  • Aizria
    1st Aug 2010 Member 0 Permalink
    I agree with Simon. I attempted running PT full-screen once and greatly disliked how it looked. What were once single pixels were suddenly squares 6x6 or larger!
  • devast8a
    1st Aug 2010 Former Staff 0 Permalink
    Simon
    Would it be possible to force the aspect-ratio by placing black bars at the side? or is the problem with scaling to higher resolutions?
  • triclops200
    1st Aug 2010 Former Staff 0 Permalink
    devast8a
    at that point it would be pointless
Locked by cracker64: neeccroo