The Daily Click ::. Forums ::. Klik Coding Help ::. Change resolutions and full screen
 

Post Reply  Post Oekaki 
 

Posted By Message

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
8th December, 2007 at 00:48:50 -

Hey, the problem im currently having is that i want the user to be able to change resoultions at will. Is there any extension that allows that? also, i need my frames to resize themselves to fit the current resolution. for example, if the game's resolution is 800x600 and the level's width and height are 1024x768, then it should automatically readjust itself to fit 800x600. it has to be possible.

i did click on the 'resize to fill current screen size' option but it doesnt seem to be working.
frame size is 1024x768 while the current resolution is 640x480

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
8th December, 2007 at 09:50:25 -

If you're on MMF 1.5 or MMF2, which I'm assuming you are, then you should use the "Change Resolution Mode" under Window options for the game. This will make the game change the screen resolution to whatever the game resolution is, giving full screen. Use "Resize display to fill window size" only if you want to stretch and in most cases, distort the picture, to make sure that the game will fit onto the resolution without black bars. (Avoid this by just using established resolutions like 320x240, 640x480, 800x600, 1204x768, etc.

As long as you have "Direct X" disabled, which you pretty much should. Then under "Storyboard Options" and "Screen" in the event editor, you can change the game from Windowed or Fullscreen in-game.

 
http://www.facebook.com/truediamondgame

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th December, 2007 at 11:58:32 -

The 'window control' object should allow you to change a windows size. I don't know if it works as well with maximized games.
If not perhaps using a subapp will work better?

If you have The games factory 1 you can't use subapps

 
.

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
8th December, 2007 at 15:08:31 -

Yeah, I have MMF 1.5 and I was doing exactly wt BrandonC said but for some reason it wouldnt work. Then, I reduced the size of my frame to 640x480 and the game window size was 800x600, and it worked fine. But for some reason, it wouldnt work when my frame size was 1024x768 and game window size was 800x600. Maybe MMF cant shrink?

Anyway, that still doesnt explain how to change resolutions at runtime tho. Guess, Ill have to keep that feature out of the game. The window object, didnt really work for me. Maybe its cause it is full screen like you said. And when i try to change the resolution with DXres or Display object (I think), it either crashes or doesnt work.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
8th December, 2007 at 16:07:20 -

There was an object for The games factory 1 called display properties that actually changed the desktop resolution (at runtime) instead of changing just the game window. But i'm not sure that was made for mmf1.5?

if it is i think that can help you out better.

 
.

EonDev



Registered
  13/01/2007
Points
  219
8th December, 2007 at 18:43:59 -

The resizeable applications tutorial on the clickteam website mite help, it helped me out with adjusting the window size and resolution to match the player's Here's the link...

http://www.clickteam.com/eng/resources/resizable_apps_tutorial.zip

 
Breathing? It's optional!

\/\/olf

Creative Genius

Registered
  06/08/2005
Points
  76

VIP Member
9th December, 2007 at 04:47:51 -

hmmm, that helped somewhat. thanks.

 
Image

www.OldMansTale.net
Sign the Petition! Go go Go!!

EonDev



Registered
  13/01/2007
Points
  219
9th December, 2007 at 09:02:14 -

No problem

 
Breathing? It's optional!
   

Post Reply



 



Advertisement

Worth A Click