User Tag List

Results 1 to 2 of 2

Thread: Resizing, aspect ratio and zooming

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Feb 2007
    Location
    UK
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Resizing, aspect ratio and zooming

    I've read some posts on here concerning window sizes and aspect ratios but I've not found anything related to what I'm trying to do. I've got an example .mfa from somewhere, sorry I can't remember where I got it from or who made it - there's no documentation. It doesn't quite do what I want. It uses the Window Control and Sub-Application extensions.

    Is anyone one here familiar with the Sinclair Spectrum emulator Spectaculator? Well, I want the same window sizing/zooming of this.

    Basically in the menu bar of that you have four zoom options: 100%, 200%, 300% and 400%. You can also have proper full screen. You can also resize the frame to whatever you want but it stays square and keeps the aspect ratio, i.e you can't squish the game sideways or flatten it.

    I don't want full screen windowless to be an option in my game - mainly because when I use it it totally mucks up my dual monitor set-up. I'd like by default for the game to be in the standard 640x480 window when it runs (which it does anyway) but to have in the menu bar a zoom option and a few zoom options in there. I don't want control over this in the game itself, it has to be in the menu bar and I'd like to be able to resize the screen to any size but while keeping the aspect ratio so there's no distortion of squashing.

    Also, when I do resize the MMF2 window it goes black until I stop resizing. It didn't used to do this, not since I changed the Display Mode from Standard to DX9 (had to to use frame effects). I've experimented with the tick boxes under Runtime options but I can't get what I want to work.

    How do I do this?

  2. #2
    Clicker Multimedia Fusion 2

    Join Date
    Feb 2007
    Location
    UK
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I found how to make the game run in a larger window by default (though it always opens in the extreme bottom right corner of my 2560x1440 desktop for some annoying reason). I also set events to change the size on the fly. However I can't do anything about the aspect ratio when dragging the window, changing the width and height. I've had a look at examples of code for doing this but nothing there I can apply to my game unfortunately.

Similar Threads

  1. Resolution like 780 x 520 with the same aspect ratio
    By iamjot in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 25th May 2014, 06:29 PM
  2. Resizing preserving aspect ratio (HWA effect)
    By Pixelthief in forum File Archive
    Replies: 1
    Last Post: 24th August 2010, 09:14 PM
  3. Resizing with aspect ratio in mind.
    By MetalGeo in forum File Archive
    Replies: 0
    Last Post: 23rd August 2010, 11:37 PM
  4. Aspect ratio/letterbox
    By UltimateWalrus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st March 2010, 08:34 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
  •