User Tag List

Results 1 to 5 of 5

Thread: How to scale up without stretching pixels?

  1. #1
    No Products Registered

    Join Date
    Jan 2010
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to scale up without stretching pixels?

    Hi!

    I am making a retro-style game and it has the resolution 320*240. Is there any easy way to scale it up automatically to fill the screen as much as possible without stretching or blurring the pixels? I want to see the pixels in all of their beauty!

    Thanks in advance!!


  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Paul_Boland's Avatar
    Join Date
    Jun 2006
    Location
    Waterford, Ireland.
    Posts
    2,739
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to scale up without stretching pixels?

    If you stretch 320 x 240 across 800 x 600, 1024 x 768, 1440 x 900, 1600 x 1200, 1920 x 1080, or any such resolution, the pixels will be stretched along with the window. The best way to achieve this is create your game at a higher resolution and then use Change Resolution Mode. So for example, if you created your game at 1024 x 768 and then used Change Resolution Mode, when your game is launched it will set the monitor resolution to 1024 x 768 and this will stop any stretching and show your game as it was developed. But there is no 320 x 240 resolution so all you can do is stretch that to fill the window size and that will result in your pixels being stretched, blocky and blurry.
    KnightTrek Productions
    http://www.knighttrek.com

  3. #3
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: How to scale up without stretching pixels?

    If you use Clone Application you can have MMF2 do all the graphic stretching for you. You can also force objects to larger pixel positions by dividing by the size of a pixel then multiplying again, eg if your pixels are 2 by 2, you could set the position by diving by 2 and then multiplying by 2, but not the other way around.
    Working as fast as I can on Fusion 3

  4. #4
    No Products Registered

    Join Date
    Sep 2007
    Posts
    104
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to scale up without stretching pixels?

    you can use "Change Resolution Mode", combined with "Keep Screen Ratio" in application properties. Set the ratio tolerance to 0, which will force the correct aspect ratio (you may get letterboxing).



    (click for full size)

    Here is what my screen looked like with these settings. The letterboxing is due to the fact that my monitor can't scale down below 640x480. You can also use "Resize Display to fit Window Size" to scale up on this, but without HWA it will be slow. (Don't use anti-aliasing if you want sharp pixels)

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to scale up without stretching pixels?

    I made an extension that does this automatically without changing resolution mode, and maintains the aspect ratio, with options for largest-possible and pixel-perfect modes. I'll hopefully be releasing it sometime soon on ultimatewalrus.com.

Similar Threads

  1. Setting the Scale of an Object to the Scale of the Object it was Created From
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th July 2013, 07:53 PM
  2. Perspective stretching
    By Toolbox in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 29th June 2013, 08:14 PM
  3. stretching in mochi
    By willy in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 11th August 2010, 11:31 AM
  4. Ratio Aspect Stretching
    By BrandonC in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th May 2008, 11:31 PM
  5. character stretching?
    By guttertalk in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 25th April 2007, 10:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •