User Tag List

Results 1 to 8 of 8

Thread: Changing resolutions

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Changing resolutions

    Is there a simple way to change the screen resolution in MMF? I want to make my game 320x240 but have it be double that size (640x480) when you are playing.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing resolutions

    Yes, you can either tick the "Change resolution mode" option in the Application Properties to make it go into full-screen mode (or do it through the Storyboard object while running the game) - or you can use the Window Control object to alter the size of the window alongside "Resize display to window size".

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Changing resolutions

    Hello.
    An easy way would be:

    Go to the second tab of the application properties.
    Check Hidden at start & Resize display to fill window size.
    Add a Window Control object to the frame.

    (Negated) Window is visible:
    * Set X size to WinXSize( "Window Control" )+ClientWidth( "Window Control" )
    * Set Y size to WinYSize( "Window Control" )+ClientHeight( "Window Control" )
    * Set position °4
    * Make window reappear

    What happens? The window is not shown at start.
    The client area size, 320x240, is added to window's size.
    The window is re-centered (since it resized), and then shown.

    EDIT: you posted 50 minutes ago? I had this thread open for over 40 minutes!

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing resolutions

    Quote Originally Posted by Looki
    EDIT: you posted 50 minutes ago? I had this thread open for over 40 minutes!
    I have done this... lol

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing resolutions

    Thanks Looki. That did the trick. Can I ask why you set the position? It doesn't seem to do anything. Also, is there any difference if I were to just set the width/height like so:

    (Negated) Window is visible:
    * Set X size to ClientWidth( "Window Control" )*2
    * Set Y size to ClientHeight( "Window Control" )*2
    * Make window reappear

    Thanks again,

    Mobichan

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Changing resolutions

    The position should center the window. It's not automatically after the resizing. It should be a little off - 320px to the right and 240px to the bottom to be exact.

    Your formula ignores the window's border/edge. The image will not be exactly 2x, it's close but still looks weird.

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing resolutions

    Ah, I see. Thanks for the info.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing resolutions

    Sorry to resurrect an old thread, but I have also been trying to apply this to a subapp. The problem is that the subapp is displaying offset in Y by the amount of the menubar, so it doesn't sit over the play area of the game below the subapp. I hope I explained that well enough. ^_^'

    Can someone offer a solution for how to resize a subapp window to the same size as the main app and have it overlap exactly on top of the main app?

    Mobichan

Similar Threads

  1. Help with Resolutions
    By Jaklar in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 23rd September 2013, 02:18 PM
  2. [HELP]Screen Resolutions Done Right
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 52
    Last Post: 23rd July 2011, 07:14 PM
  3. Widescreen resolutions?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 29th January 2008, 03:19 PM
  4. Multiple resolutions?
    By wargasmic in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 19th December 2006, 02:52 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
  •