The Daily Click ::. Forums ::. Klik Coding Help ::. enable/disable "resize display to fill window size" ?
 

Post Reply  Post Oekaki 
 

Posted By Message

jpSoul



Registered
  25/10/2003
Points
  1714
27th August, 2008 at 14:45:31 -

Is it possible?
I would like to make a game with a choice of 3 display mode:

*normal window
*double-sized window
*full screen display

Is there an extension to change this parameters, or a way to do that ? (without making one .exe per display mode... -_-)

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
27th August, 2008 at 15:13:10 -

I'm pretty sure the window control object can set specific window sizes. Not sure. Then you can set it to resize to fill the window.

On a side note, I know someone named Phanoof-- it's not a name you run into often.

 

  		
  		

jpSoul



Registered
  25/10/2003
Points
  1714
27th August, 2008 at 15:43:42 -

with the window object, the display resizes only if the option "resize display to fill window size" is enabled...
it's ok for the 2 windowed modes, but when I try the fullscreen mode (change resolution), I don't want the display to stretch, I just want to change resolution... any idea ?

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
27th August, 2008 at 17:23:45 -

Well, I can't check right now-- but I'm pretty sure there's at least an extension that can control display stuff. Anyway, changing the resolution and making the app fullscreen will look the same as if you just resize it when it's maximized, although it may run slower on older computers that way.

 

  		
  		

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
27th August, 2008 at 20:25:46 -

it used to be the display object on tgf, in which you could change resolutions. not sure where it went since resolution is built in to the properties in mmf2. not sure how you would do it at runtime.

 
n/a

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
28th August, 2008 at 07:51:43 -

I've done this, you just use the built in option for switching between Fullscreen and Windowed at runtime under the storyboard object.


 
Image
http://bfollington.tumblr.com

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
28th August, 2008 at 09:21:33 -

yes but he also wants to have it stretch to fill in the 2 window modes. but not stretch in full screen. thats the problem.

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  531

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
28th August, 2008 at 11:47:13 -

Haha, just the other day I asked the exact same question! 100%, 200% & Full screen(change res mode)!

Unfortunatly, I couldn't get all three to work.

 
Image

Tell 'em Babs is 'ere...

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
28th August, 2008 at 13:23:43 -

I know what he wants, I've still done it. My game has 1X, 2X, 3X, 4X and fullscreen options. You just resize it to 1X before going fullscreen - my game only changes mode at startup since it has external options etc. so that could be a contributing factor (as in, when I go fullscreen I haven't resized it at all).

 
Image
http://bfollington.tumblr.com

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  531

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
28th August, 2008 at 15:19:47 -

Thats some good work, Benny old boy!

 
Image

Tell 'em Babs is 'ere...

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
29th August, 2008 at 09:02:53 -


Originally Posted by -Liam/Slink-
Thats some good work, Benny old boy!



Why thank you slink my good fellow

 
Image
http://bfollington.tumblr.com
   

Post Reply



 



Advertisement

Worth A Click