Screen scaling extension development

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello,

    I hope I'm posting this in the right place. I thought there used to be an extension development forum but I couldn't find it.

    I want to create an extension that ideally would augment the way the game viewport is upscaled when "Resize display to fill window size" is checked. I'm assuming this would involve calling WinGetSurface, processing the pixel values myself, and then... well... I'm not really sure.

    Let's assume my game is 640x480. I call WinGetSurface and process the pixel values, creating a 1280x960 cSurface. How can I get MMF to display this surface, considering its main surface is still only 640x480? In my mind there are two options:

    1.) Somehow resize the cSurface attached to the main window, then blit the new stuff onto it. Except, I can't seem to find a function in the documentation that says it does this. Even if there was one, I wonder if it would do what I'd expect it to when the surface gets drawn.
    2.) Try and set up the window to draw the new surface myself. Except, wouldn't MMF be wasting processing power by still drawing the old surface underneath? How can I stop that from happening?

    If someone who knows about the MMF2 SDK could nudge me in the right direction, I'd be very grateful.

    Thanks,
    Sebastian

    Please login to see this link. (Indie games and Fusion resources)
    For freelance inquiries please email admin at ultimatewalrus.com

  • Extension development forum is here: Please login to see this link.
    You need to have a product registered (not sure if SWF Exporter counts)

    Kevin Ayre Please login to see this link.
    My iOS Apps: Please login to see this link., Please login to see this link. and Please login to see this link.

  • Ah ok, thank you. I bought MMF2 a long time ago, don't have the serial number immediately on hand.

    Please login to see this link. (Indie games and Fusion resources)
    For freelance inquiries please email admin at ultimatewalrus.com

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!