The Daily Click ::. Forums ::. Klik Coding Help ::. resizing distortions - what's happening?
 

Post Reply  Post Oekaki 
 

Posted By Message

SolarB



Registered
  26/12/2011
Points
  564
10th March, 2012 at 10/03/2012 12:34:32 -

Hi all,

I posted this on the clickteam forums but nobody there seems to be as helpful as they are here

I'm thinking of making my game 8bit-like so I ran an experiment. My window is 320 x 240 and I have options to resize to the standard 4:3 resolutions, 640x480, 800x600 etc. using the window resize object and the WinX/YSize-ClientWidth technique to resize the frame correctly. Lo and behold distortions are noticeable, especially at 800 and 1024. Shouldn't be happening right? Aspect (1.33333) is the same, so what's the deal?

Obviously no AA is used for the 8bit look.

Example:
http://www.mediafire.com/?kzlun030q6fwgrz


Any clues?


Cheers

 
My Open Source Examples: http://bit.ly/YyUFUh

Duncan

Thelonious Dunc

Registered
  18/05/2002
Points
  552

VIP Member
10th March, 2012 at 10/03/2012 17:29:51 -

800 and 1024 are scaling by 2.5x and 3.2x respectively, your pixels won't be consistently sized... You could turn on "anti-aliasing when resizing" for better resampling, but you'll lose the pixelly look. Why not just scale by 3x (960) and 4x (1280) instead?

 
n/a

Phredreeke

Don't listen to this idiot

Registered
  03/08/2002
Points
  4504

You've Been Circy'd!VIP MemberPS3 Owner
10th March, 2012 at 10/03/2012 19:23:11 -

I have no idea if this can be done in MMF2 but what about scaling to the nearest integer and padding it with a border?

 
- Ok, you must admit that was the most creative cussing this site have ever seen -

Make some more box arts damnit!
http://create-games.com/forum_post.asp?id=285363

SolarB



Registered
  26/12/2011
Points
  564
11th March, 2012 at 11/03/2012 00:50:20 -

@Duncan - that makes sense, but I'll only use the 3x and 4x as a last resort.. I want my game to have a kind of DOSy feel to it so having the standard resolutions is pretty key.

@Phredreeke - how do I find the nearest integer?

 
My Open Source Examples: http://bit.ly/YyUFUh
   

Post Reply



 



Advertisement

Worth A Click