![]() |
Fullscreen - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Fullscreen (/showthread.php?tid=496) |
Fullscreen - halla - 19-12-2006 I got this method from ES forums a while back and used it. Is there a better method out there? I dont want to blt everything ts thats too much work... this one changes their resolution so I can set all the forms to that size and all and its full screen. modFULLSCREEN Code: 'Changes resolution on the fly, without rebooting in Main() sub I got this Code: OrigW = Screen.Width \ Screen.TwipsPerPixelX Saves their res and then sets it to that. then in gamedestroy I just have... ChangeRes OrigW, OrigH Anyways I tried a higher resolution with that and it wont work some reason.... anyone know why and or a better method of doing this? - Obsidian - 19-12-2006 DD.SetDisplayMode 1024, 768, 16, 0, DDSDM_DEFAULT Sets the display to 1024x768, 16Bit Color Depth... and it restores the resolution after DirectX is destroyed... - halla - 19-12-2006 Thanks... actually I used that way for the pokemon game I was making... I forgot though lol... I made frmMirage 768 for height I tried making it 1024 wide but it wont go past 768 for some reason when I drag the form... I then changed scalewidth to that and tried but it didnt change it |