User Tag List

Results 1 to 5 of 5

Thread: Change aspect ratio at runtime

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Change aspect ratio at runtime

    I was wondering if it's possible to toggle the "Keep screen ratio" application option at runtime?

    Some players using widescreen monitors like to have their game streched while others prefer black bars on the sides. Currently, I believe I would have to make two seperate actives to accomodate this.

    If it's not possible to do it natively, would it be possible to do it via an extension?

  2. #2
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Change aspect ratio at runtime

    Hmm. I can't think of a way to do that at runtime. I do know you can have it keep the aspect ratio on widescreen using a method with subapps. I'm currently using that for a project. I don't think there is a way to toggle at runtime though unless there is an extension, but I have no clue if there is one.

    Only other way I can think of is if you can use the subapp method I was using and be able to change it using values at runtime. But I'm not sure if that works. RickyRombo provided the example I used and I customized it for what I'm doing.

    http://rickyrombo.byethost2.com/examples/Scaled%20Fullscreen.php

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Change aspect ratio at runtime

    Thanks Shawn. I do remember seeing this example before actually. It's a good work around, but it would be nice to do it natively. If it were a really big project there might be some stability/slowdown issues associated with using a subapp the whole time... then again maybe not!

  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Change aspect ratio at runtime

    Quote Originally Posted by netninja
    Thanks Shawn. I do remember seeing this example before actually. It's a good work around, but it would be nice to do it natively. If it were a really big project there might be some stability/slowdown issues associated with using a subapp the whole time... then again maybe not!
    I agree 100%. Hopefully in my project I won't run into slowdown issues. I'm not actually doing a whole lot of intensive stuff so I should be fine. If I do have issues it shouldn't be too hard to remove the subapp and revert back.

    Still, it seems like a ridiculous work around for something that should be relatively simple to implement. Hopefully someone could create an extension. I'm not sure if that's possible or not, due to how MMF2 works. But I'm not an extension developer so I can't answer that.

  5. #5
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Location
    USA
    Posts
    2,982
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Change aspect ratio at runtime

    Hmm. I was thinking, you have to check resize display to fill window in order for the subapp method to work, otherwise when you maximize the subapp doesn't resize the frame. Since you can't toggle that at runtime, using the workaround I used there is no way to make it toggle at runtime.

Similar Threads

  1. Changing screen size/aspect ratio at runtime?
    By Strife in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 23rd June 2015, 09:57 PM
  2. Change window size and switch aspect at runtime
    By SolarB in forum File Archive
    Replies: 5
    Last Post: 20th August 2012, 09:09 AM
  3. Aspect ratio/letterbox
    By UltimateWalrus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st March 2010, 08:34 PM
  4. Keeping Aspect Ratio
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th May 2009, 08:26 PM
  5. aspect ratio question
    By Golds in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2008, 05:15 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
  •