The Daily Click ::. Forums ::. Klik Coding Help ::. Fullscreen/Window resolution help needed
 

Post Reply  Post Oekaki 
 

Posted By Message

PkGamer



Registered
  07/05/2013 19:46:26
Points
  42
11th November, 2013 at 11/11/2013 18:57:02 -

Hi,

I just relised a load of things i need to know for my game.Anyway this is one of the really important questions that has been bugging me for every game.How do you get to change fullscreen resolution.One solution I find is making the application like larger than your own screen (I has a laptop screen ) and then it'll get scaled down.But say you did it in 16:9 and someone has a square monitor or 16:11 or something like that.So im looking for the ultimate solution! I'd say I want it to work like in Terraria that instead of resizing the objects the frame gets resized with the window and can fit more objects in.Or something like that.

Simply: I want the window and fullscreen to work like in Terraria.


 
PkGamer-Current Project:Space Explrer 3000 Goals:Random World Generator,Deffense Oriented Combat, Loads of Upgrades, 8 bit graphics(since Im good at only pixel art), Simply Music.
<br />

The_Antisony

At least I'm not Circy

Registered
  01/07/2002
Points
  1341

VIP MemberStarSnow
12th November, 2013 at 12/11/2013 14:21:20 -

I don't play Terraria and I'm not about to install a game that size just to recommend a full-screen option. However, it seems from the sound of it, you're asking how to preserve image quality and display correctly on any monitor, no matter the ratio. There are two ways you can go about that; just depends if you want a colored frame around your game or not.

MMF2 itself can't resize your frame space and client size to prevent image stretch. It can however sense the client window resolution and switch to the next monitor-compatible full screen mode preserving graphics quality. As an example, let's say I make a new game with a window size of 460x480. My monitor is 4:3 ratio running a resolution of 1024x768 normally. My closest compatible full screen mode would be 640x480, but after modifying my game file settings, the client window appears at 460x480 inside of a colored frame. That can be achieved by going into your application properties Window tab and selecting "Change Resolution Mode". Don't select "Resize display to fill window size", though.

If the colored frame doesn't work for you, UltimateWalrus released the Ultimate Full Screen Object a long time ago. There are a few cavets to using Ultimate Full Screen - it will insert a border if the game is run on a wildly different screen ratio, but it won't stretch all of your game sprites to odd dimensions.
http://ultimatewalrus.com/mmf.php

 
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
   

Post Reply



 



Advertisement

Worth A Click