Ooops
April 10, 2020, 02:23:38 PM

Author Topic: Changing resolution on the fly.  (Read 368 times)

Offline Kippykip

  • Full Member
  • ***
  • Posts: 117
    • Kippykip Forums!
Changing resolution on the fly.
« on: October 27, 2019, 12:34:23 PM »
Is this possible? Or will this be possible? I noticed it's kinda possible but you lose all textures etc in the process.
So far I'm just sticking resolution changes on bootup.

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1044
Re: Changing resolution on the fly.
« Reply #1 on: October 27, 2019, 12:52:34 PM »
maybe this : http://mojolabs.nz/posts.php?topic=108135
Quote
Instant screen resolution switch (ingame)
If you want to switch the resolution ingame a common method is to use EndGraphics and rebuild the whole scene again. Rubbish. Using a MAXGUI window with canvas can switch the resolution ingame with just a new function: SetResolution(x,y). I had to rewrite BeginMax2D/EndMax2D (now called: Begin2D/End2D) for this and use a global "Scaler" variable but it works, try it yourself. In Windows it is even possible to create either a fullscreen window or a window maximized including the Windows Taskbar.
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal